RE: Long living TCP connections

2015-03-02 Thread Lukas Tribus
> Hold on a second let me get that right. > Without TCP keep alive enabled, a client which sends some data every > 10mins and timeout client set to 30m it more or less means that the > connection will only drop by the client. Am I right? Without *HTTP* keep-alive you mean. Well, that depends what

Re: Long living TCP connections

2015-03-02 Thread Pavlos Parissis
On 03/03/2015 12:14 πμ, Lukas Tribus wrote: >> The HAProxy is used by normal browsers >> but also from cronjobs with various languages(Perl,Python,C,Go etc) >> >> I was surprised about this very long inactivity period for TCP >> connection on a system which has reasonable settings for TCP keepalive

RE: Long living TCP connections

2015-03-02 Thread Lukas Tribus
> The HAProxy is used by normal browsers > but also from cronjobs with various languages(Perl,Python,C,Go etc) > > I was surprised about this very long inactivity period for TCP > connection on a system which has reasonable settings for TCP keepalive[3]. This is not what TCP keepalives does. First

Long living TCP connections

2015-03-02 Thread Pavlos Parissis
Hi, Today I noticed after a reload that previous process was alive for long time( >8hours). This is a HAProxy which runs in HTTP mode in front of few squid servers, conf is quite simple[1] and the version is 1.5.6[2] I had a lsof watcher for the old pid and the number of connections were very slo