You also need procfs support and sysctl support to be able to configure the kernel parameters at runtime.
README:
Quote:
The procedures involving keepalive use three user-driven variables:
tcp_keepalive_time
the interval between the last data packet sent (simple ACKs are not considered data) and the first keepalive probe; after the connection is marked to need keepalive, this counter is not used any further
tcp_keepalive_intvl
the interval between subsequential keepalive probes, regardless of what the connection has exchanged in the meantime
tcp_keepalive_probes
the number of unacknowledged probes to send before considering the connection dead and notifying the application layer
Hi,
I am nil about UNIX and i want to learn about. For this i want to install UNIX 5.0 on my home pc. Anyone please tell me the procedure to install it. The partition and all etc. etc..
My pc configuration is
P-IV, 1.7GHz
40 GB HDD
With regards,
Phani (1 Reply)
Guys,
I am trying to install few products on my solaris 10 box.
One of these installation would go as GUI installation.
Whenever i run the setup, it throws an error message saying that GUI could not be started.
What all things i need to check on server side as well as client (my windows... (0 Replies)
I've already installed the DBI Perl Module with no issues and now I'm attempting to install the DBD::Oracle driver on a Red Hat Enterprise 4 server and am having some trouble. I've checked through the forums and haven't seen anything helpful at this point. Everything goes fine during the perl... (1 Reply)
Hi,
We are planning for a report generation program in Linux.For that we are planning to use Oracle reports 6i on linux.
Could anybody please confirm if the Oracle 6i reports are compatible on Linux (0 Replies)
I want to use Perl to connect to a remote Oracle DB
I have no oracle installation on my server (and dont plan on installing one) I am using solaris 9 on x86 server.
Is this possible?
I basically want to run some basic sql queries on the remote oracle db which I have access to using perl on my... (0 Replies)
Dear Folks,
I'm installing oracle 11g on ubuntu linux, currently I'm trying an option to increase the file system for a mount point ORACLE_HOME=/d01/oracle, for this file system the requirement to have at least 4GB free space, could you please let me know a way to increase the file system. also... (2 Replies)
Hi all,
This topic is purely on a problem in installing grub in my LINUX BMR process... A major problem too..
I am designing Linux BMR where i do the following..
Backup the " / " as a whole .. with partition details ..etc
And using the Knoppix Live CD i first create the partitions... (1 Reply)
Hi,
I have a problem in installing grub where the error thrown as " /grub/stage1 file not found" but the stage1, stage2 files are present in the /boot/grub/ folder.
I do this grub install in the final step of the Linux BMR that i have designed.
In the CentOs version above 6.0 the grub... (0 Replies)
Hello, I have a problem
So I want to install this openvz. I run command apt-get install linux-image-openvz-amd64 and after that I check whether everything went ok with uname -r. But it seems that openvz is nowhere to be found. Why is that? All I see is 2.6.32-5-xen-amd64. Also when I try to... (1 Reply)
AIX 7.1 on Power7 Platform.
I am doing this as root.
OK, somehow my instance is stuck and I cannot create any new instances for the 10.5 (db2icrt gets to step 2 of creation and sits. Have let it sit for 45minutes). db2ilist shows the instance, but deleting it says there is no instance. Tried to... (1 Reply)
Discussion started by: mrmurdock
1 Replies
LEARN ABOUT MOJAVE
curlopt_tcp_keepidle
CURLOPT_TCP_KEEPIDLE(3) curl_easy_setopt options CURLOPT_TCP_KEEPIDLE(3)NAME
CURLOPT_TCP_KEEPIDLE - set TCP keep-alive idle time wait
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TCP_KEEPIDLE, long delay);
DESCRIPTION
Pass a long. Sets the delay, in seconds, that the operating system will wait while the connection is idle before sending keepalive probes.
Not all operating systems support this option.
DEFAULT
60
PROTOCOLS
All
EXAMPLE
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
/* enable TCP keep-alive for this transfer */
curl_easy_setopt(curl, CURLOPT_TCP_KEEPALIVE, 1L);
/* set keep-alive idle time to 120 seconds */
curl_easy_setopt(curl, CURLOPT_TCP_KEEPIDLE, 120L);
/* interval time between keep-alive probes: 60 seconds */
curl_easy_setopt(curl, CURLOPT_TCP_KEEPINTVL, 60L);
curl_easy_perform(curl);
}
AVAILABILITY
Added in 7.25.0
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO CURLOPT_TCP_KEEPALIVE(3), CURLOPT_TCP_KEEPINTVL(3),
libcurl 7.54.0 January 02, 2017 CURLOPT_TCP_KEEPIDLE(3)