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
...@ec.hadorhabaac.com] Enviada em: quinta-feira, 17 de novembro de 2011 20:11 Para: squid-users@squid-cache.org Assunto: Re: [squid-users] Squid box dropping connections On 17/11/2011 16:11, Nataniel Klug wrote: Hello all, I am facing a very difficult

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

[squid-users] Squid box dropping connections

2011-11-17 Thread Nataniel Klug
    Hello all,     I am facing a very difficult problem in my network. I am using a layout like this: (internet) == router == squid == [clients]     I am running CentOS v5.1 with Squid-2.6 STABLE22 and Tproxy (cttproxy-2.6.18-2.0.6). My kernel is

RE: [squid-users] Squid box dropping connections

2011-11-17 Thread Jenny Lee
I am running CentOS v5.1 with Squid-2.6 STABLE22 and Tproxy (cttproxy-2.6.18-2.0.6). My kernel is kernel-2.6.18-92. This is the most reliable setup I ever made running Squid. My problem is that I am having serious connections troubles when running squid over 155000 conntrack

RES: [squid-users] Squid box dropping connections

2011-11-17 Thread Nataniel Klug
! Att, Nataniel Klug -- De: Jenny Lee [mailto:bodycar...@live.com] Enviada em: quinta-feira, 17 de novembro de 2011 14:30 Para: listas.n...@cnett.com.br; squid-users@squid-cache.org Assunto: RE: [squid-users] Squid box dropping connections Prioridade: Alta     I am running CentOS

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

Re: [squid-users] Squid box dropping connections

2011-11-17 Thread Eliezer Croitoru
On 17/11/2011 16:11, Nataniel Klug wrote: Hello all, I am facing a very difficult problem in my network. I am using a layout like this: (internet) ==router ==squid == [clients] I am running CentOS v5.1 with Squid-2.6 STABLE22 and Tproxy