Re: [squid-users] Squid is not responding when the number of connection exceeds

2016-10-18 Thread georgej
Hi Eliezer,

Thanks for your reply.

I made the changes as per your suggestion. But again i faced the same issue.
Then i used another ISP link to test the load. Now its seems to be working
fine. I will put it on live later and let you know the status.

ulimit -a
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 7369
max locked memory   (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files  (-n) 65535
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 10240
cpu time   (seconds, -t) unlimited
max user processes  (-u) 65535
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited

Thanks,
George



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-is-not-responding-when-the-number-of-connection-exceeds-tp4680091p4680139.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid is not responding when the number of connection exceeds

2016-10-15 Thread Eliezer Croitoru
Hey George,

If the Virtual Hypervisor resources are shared in a balanced way it should not 
affect your use case.
The first tool you need is "lsof" and not netstat since it has much more 
details.
And Before diving into anything at all my recommendation is to upper the basic 
ulimits to 65535 for the hard and 16384 for the soft.
If you need help on how to put it all together let me know and I will try to 
help you with it.
Specifically on RedHat 6.X to apply a ulimit you need to set it on the first 
lines of the init.d script like:
ulimit -Hn 65535
ulimit -Sn 16384

The above should allow your system to overcome couple scenarios of the system 
"overload".
If it works then it should be considered as a good solution.

Eliezer


Eliezer Croitoru
Linux System Administrator
Mobile+WhatsApp: +972-5-28704261
Email: elie...@ngtech.co.il


-Original Message-
From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf 
Of georgej
Sent: Friday, October 14, 2016 4:45 PM
To: squid-users@lists.squid-cache.org
Subject: Re: [squid-users] Squid is not responding when the number of 
connection exceeds

The server is hosted in VMware



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-is-not-responding-when-the-number-of-connection-exceeds-tp4680091p4680103.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid is not responding when the number of connection exceeds

2016-10-14 Thread georgej
The server is hosted in VMware



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-is-not-responding-when-the-number-of-connection-exceeds-tp4680091p4680103.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid is not responding when the number of connection exceeds

2016-10-14 Thread georgej
I can see the number of established connection more than 180 using with below
command.

sudo netstat -nat | grep :8080 | grep ESTABLISHED| wc -l



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-is-not-responding-when-the-number-of-connection-exceeds-tp4680091p4680102.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid is not responding when the number of connection exceeds

2016-10-14 Thread Amos Jeffries
On 14/10/2016 5:49 p.m., georgej wrote:
> Hi Team,
> 
> When the number of users exceeds, squid is not responding. The users getting
> "System returned: (110) connecion timed out " message.

Exceeds what?

Amos

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users