RES: RES: RES: [squid-users] Squid box dropping connections

2011-11-21 Thread Nataniel Klug
Thank you Amos, Amos [Nataniel Klug] How can I see if there is corresponding requests on squid? Att, Nataniel Klug squidclient mgr:utilization | grep syscalls.sock.accepts You can also get the report of what the open FD are used for in mgr:filedescriptors Amos

Re: RES: RES: [squid-users] Squid box dropping connections

2011-11-19 Thread Amos Jeffries
On 19/11/2011 1:55 a.m., Nataniel Klug wrote: Hello Amos, [Nataniel Klug] So Eliezer, I don't think I have 155k connections. Most of them are FIN_WAIT1 (about 35~45k). I have 1000 pppoe clients behind this squid box so even if each of them had 50 connections, I would have 50k. I

RES: [squid-users] Squid box dropping connections

2011-11-18 Thread Nataniel Klug
Hi Eliezer, Thanks for you answer: well this is one of the big problems of the conntrack thingy.. what you can try is to also to change the tcp to: sysctl net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=3600 cause it might causing the problem of such a huge ammount of

RES: RES: [squid-users] Squid box dropping connections

2011-11-18 Thread Nataniel Klug
Hello Jenny, I will comment bellow: Nov 17 15:43:13 02 kernel: Out of socket memory Well, there you go. Here is your problem. You will need to decrease your hashsize. I suggest you experiment with conntract max and hashsize nad buckets and watch for errors like these.

Re: RES: [squid-users] Squid box dropping connections

2011-11-18 Thread Amos Jeffries
On 19/11/2011 12:21 a.m., Nataniel Klug wrote: Hi Eliezer, Thanks for you answer: well this is one of the big problems of the conntrack thingy.. what you can try is to also to change the tcp to: sysctl net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=3600 cause it might

RES: [squid-users] Squid box dropping connections

2011-11-18 Thread Nataniel Klug
Eliezer and Jenny, No lucky with the changes. Now with about 85k connections it started to drop: Every 5.0s: ./log.sh Fri Nov 18 09:53:03 2011 Conexoes ativas: 87427 Ultimas linhas do log: Nov 18 08:21:25 01 kernel: ip_conntrack version 2.4 (16384 buckets, 131072 max) - 320

RES: RES: [squid-users] Squid box dropping connections

2011-11-18 Thread Nataniel Klug
Hello Amos, [Nataniel Klug] So Eliezer, I don't think I have 155k connections. Most of them are FIN_WAIT1 (about 35~45k). I have 1000 pppoe clients behind this squid box so even if each of them had 50 connections, I would have 50k. I think closing really fast can solve the

RES: [squid-users] Squid box dropping connections

2011-11-17 Thread Nataniel Klug
Hello Jenny, Thanks for your answer. Sorry I haven't wrote but my hashsize is already in the same value as conntrack_max. I have some out of memory in dmesg: Nov 17 15:43:13 02 kernel: Out of socket memory And in cache.log I was not able to find any CommBind. I am reading about this port ranges

RE: RES: [squid-users] Squid box dropping connections

2011-11-17 Thread Jenny Lee
From: listas.n...@cnett.com.br To: bodycar...@live.com; squid-users@squid-cache.org Date: Thu, 17 Nov 2011 15:55:20 -0300 Subject: RES: [squid-users] Squid box dropping connections Hello Jenny, Thanks for your answer. Sorry I haven't wrote but my