Re: [squid-users] Squid does not respond to TCP SYN when there are thousands of connection

2013-03-07 Thread dahanhsi
hi all, in Squid 2.7, should --with-maxfd not be necessary if I set the max_filedescriptors? thanks 2013/2/16 dahanhsi dahan...@gmail.com: 2013/2/15 Amm ammdispose-sq...@yahoo.com: ulimit -n must be run as the same user that the proxy is running. In debian/ubuntu that user is proxy, and if

Re: [squid-users] Squid does not respond to TCP SYN when there are thousands of connection

2013-03-07 Thread Amos Jeffries
On 8/03/2013 3:25 a.m., dahanhsi wrote: hi all, in Squid 2.7, should --with-maxfd not be necessary if I set the max_filedescriptors? thanks The build-time --with option sets the default value for the configuration file directive. If the --with option is not provided the compiler will set a

Re: [squid-users] Squid does not respond to TCP SYN when there are thousands of connection

2013-02-15 Thread Amos Jeffries
On 15/02/2013 10:12 p.m., dahanhsi wrote: Hi all, I use squid as a reverse proxy, and make thousands of connection to the it. Which version of Squid? What do you mean by thousands of connections. 1's of tousands? 10's of thousands? 100's of thousands? There are one ten of all connections

Re: [squid-users] Squid does not respond to TCP SYN when there are thousands of connection

2013-02-15 Thread dahanhsi
Thanks for your reply, provide more information below: 2013/2/15 Amos Jeffries squ...@treenet.co.nz: On 15/02/2013 10:12 p.m., dahanhsi wrote: Hi all, I use squid as a reverse proxy, and make thousands of connection to the it. Which version of Squid? I use Squid 2.7 What do you mean by

Re: [squid-users] Squid does not respond to TCP SYN when there are thousands of connection

2013-02-15 Thread Amos Jeffries
On 15/02/2013 10:43 p.m., dahanhsi wrote: Thanks for your reply, provide more information below: 2013/2/15 Amos Jeffries squ...@treenet.co.nz: On 15/02/2013 10:12 p.m., dahanhsi wrote: Hi all, I use squid as a reverse proxy, and make thousands of connection to the it. Which version of

Re: [squid-users] Squid does not respond to TCP SYN when there are thousands of connection

2013-02-15 Thread dahanhsi
Hi Amos, 2013/2/15 Amos Jeffries squ...@treenet.co.nz: On 15/02/2013 10:43 p.m., dahanhsi wrote: Thanks for your reply, provide more information below: 2013/2/15 Amos Jeffries squ...@treenet.co.nz: On 15/02/2013 10:12 p.m., dahanhsi wrote: Hi all, I use squid as a reverse proxy, and

Re: [squid-users] Squid does not respond to TCP SYN when there are thousands of connection

2013-02-15 Thread Amos Jeffries
On 15/02/2013 11:53 p.m., dahanhsi wrote: Hi Amos, 2013/2/15 Amos Jeffries squ...@treenet.co.nz: On 15/02/2013 10:43 p.m., dahanhsi wrote: Thanks for your reply, provide more information below: 2013/2/15 Amos Jeffries squ...@treenet.co.nz: On 15/02/2013 10:12 p.m., dahanhsi wrote: Hi all,

Re: [squid-users] Squid does not respond to TCP SYN when there are thousands of connection

2013-02-15 Thread dahanhsi
2013/2/15 Amos Jeffries squ...@treenet.co.nz: On 15/02/2013 11:53 p.m., dahanhsi wrote: Hi Amos, 2013/2/15 Amos Jeffries squ...@treenet.co.nz: On 15/02/2013 10:43 p.m., dahanhsi wrote: Thanks for your reply, provide more information below: 2013/2/15 Amos Jeffries squ...@treenet.co.nz:

Re: [squid-users] Squid does not respond to TCP SYN when there are thousands of connection

2013-02-15 Thread Luciano Ruete
On 02/15/2013 11:11 AM, dahanhsi wrote: There you go then. Squid is not permitted to _use_ more than 1651 FD. Every client TCP connection uses at least 1, sometimes 2 FD. When all the FD are used up Squid waits until some are free'd before accepting more client connections. With from 4651 to

Re: [squid-users] Squid does not respond to TCP SYN when there are thousands of connection

2013-02-15 Thread Amm
  ulimit -n must be run as the same user that the proxy is running. In debian/ubuntu that user is proxy, and if you type ulimit as root you will get a different answer that if you type ulimit logged in as proxy user. Be sure  to check the ulimit for the right user Or you can check

Re: [squid-users] Squid does not respond to TCP SYN when there are thousands of connection

2013-02-15 Thread dahanhsi
2013/2/15 Amm ammdispose-sq...@yahoo.com: ulimit -n must be run as the same user that the proxy is running. In debian/ubuntu that user is proxy, and if you type ulimit as root you will get a different answer that if you type ulimit logged in as proxy user. Be sure to check the ulimit for