RE: [squid-users] 100% CPU Load problem with squid 3.3.8

2013-09-18 Thread Mohsen Dehghani
Ubuntu 12.04 What?? what OS are you using? Eliezer On 09/15/2013 09:07 AM, Mohsen Dehghani wrote: > All workarounds failed except adding "ulimit -n 65000" to squid init > file > > Adding "session required pam_limits.so" to "/etc/pam.d/common-session&qu

RE: [squid-users] 100% CPU Load problem with squid 3.3.8

2013-09-14 Thread Mohsen Dehghani
All workarounds failed except adding "ulimit -n 65000" to squid init file Adding "session required pam_limits.so" to "/etc/pam.d/common-session" also failed for me. The box never read '/etc/security/limits.conf' at boot time OK so now there is another thing That I have tested: /etc/pam.d/common-s

RE: [squid-users] 100% CPU Load problem with squid 3.3.8

2013-09-14 Thread Mohsen Dehghani
modify your init script (or upstart job, not sure how exactly squid is being started in ubuntu). The idea is to add 'ulimit -n > /tmp/squid.descriptors' and see if the number is really 65k. On 09/14/2013 09:41 AM, Mohsen Dehghani wrote: >> I don't see any logic here. Are

RE: [squid-users] 100% CPU Load problem with squid 3.3.8

2013-09-13 Thread Mohsen Dehghani
>I don't see any logic here. Are you sure your squid is started not by root? >Is replacing 'root' by 'squid' or '*' solves issue as well? When I manually start service by root, there is no file descriptor warning and squid works as normal. But when the system boots up and starts the service aut

RE: [squid-users] 100% CPU Load problem with squid 3.3.8

2013-09-10 Thread Mohsen Dehghani
the result.. we will might fine the reason on the first or second try. Eliezer On 09/10/2013 11:34 AM, Mohsen Dehghani wrote: > I have compiled and installed squid 3.3.8. > I have about 160Mbps bandwidth and about 18000 http request per minute. > The problem is that as soon as I

[squid-users] 100% CPU Load problem with squid 3.3.8

2013-09-10 Thread Mohsen Dehghani
I have compiled and installed squid 3.3.8. I have about 160Mbps bandwidth and about 18000 http request per minute. The problem is that as soon as I redirect traffic to squid, its cpu usage reaches 100% and it hangs and even "squidclient" will not work. What is weird is that when I remove traffic

RE: [squid-users] which version of squid is more stable and less cpu greedy?

2013-09-07 Thread Mohsen Dehghani
:45 p.m., Mohsen Dehghani wrote: > I have to say that two versions will be installed on the same VM. I > create a snapshot and install 3.1.19=about 10% CPU. And then go back > to that snapshot and compile and install 3.3.8=99%CPUI don't know > how to figure out the cause :(

[squid-users] how to use tproxy + iptables load balancing

2013-08-31 Thread Mohsen Dehghani
Hi team I am planning to install multiple instances of squid on a machine as a frontend. Tproxy is now working fine on a single instance machine. No I want to run multiple instances and use this help to load balance between them: http://wiki.squid-cache.org/ConfigExamples/ExtremeCarpFrontend#Front

RE: [squid-users] which version of squid is more stable and less cpu greedy?

2013-08-31 Thread Mohsen Dehghani
I have to say that two versions will be installed on the same VM. I create a snapshot and install 3.1.19=about 10% CPU. And then go back to that snapshot and compile and install 3.3.8=99%CPUI don't know how to figure out the cause :( > Hi team > > I am planning to install a new squid from scr

[squid-users] which version of squid is more stable and less cpu greedy?

2013-08-29 Thread Mohsen Dehghani
Hi team I am planning to install a new squid from scratch. which version is more stable and less cpu greedy? I have installed both both 3.1.19(default Ubuntu repository version) and 3.3.8. On the same machine with same config and same load(about 60Mbps), I have far less cpu usage on 3.1.19 than 3.

RE: [squid-users] [NEED HELP] TPROXY + L2 WCCP + multi cpu

2013-08-27 Thread Mohsen Dehghani
code.google.com/favicon.ico - HIER_DIRECT/74.125.236.166 text/html ## -Original Message- From: Amos Jeffries [mailto:squ...@treenet.co.nz] Sent: Wednesday, August 28, 2013 9:55 AM To: Mohsen Dehghani Subject: Re: [squid-users] [NEED HELP] T

[squid-users] [NEED HELP] TPROXY + L2 WCCP + multi cpu

2013-08-20 Thread Mohsen Dehghani
Hi team I have already implemented tproxy + L2 wccp and it works perfectly except one: squid just uses one cpu(core) and other cores on a DELL R710 are wasted. I have about 140 Mbps traffic and it utilizes 50% of one core. When decided to run multicpu squid using this help: http://wiki.squid-ca