[squid-users] Transparent Squid on OpenVZ container?

2012-12-30 Thread Tim Bates
Has anyone had experiences with running Squid *transparently* on an OpenVZ container in combination with a Cisco router? Can it be done? Is there anything to watch out for, or any tricks? TB

Re: [squid-users] 3.2.5 comm_open: socket failure: (24) Too many open files

2012-12-30 Thread Tianyin Xu
Thanks, Amos, Eliezer! Looks good! T On Sun, Dec 30, 2012 at 1:02 AM, Amos Jeffries wrote: > On 30/12/2012 9:13 p.m., Tianyin Xu wrote: >> >> Yes, I also would like to take a look at the patch! > > > There is no patch. The code has worked that way since at least Squid 3.1. > > You can view the

Re: [squid-users] 3.2.5 comm_open: socket failure: (24) Too many open files

2012-12-30 Thread Amos Jeffries
On 30/12/2012 9:13 p.m., Tianyin Xu wrote: Yes, I also would like to take a look at the patch! There is no patch. The code has worked that way since at least Squid 3.1. You can view the two functions here: http://bazaar.launchpad.net/~squid/squid/trunk/view/head:/src/tools.cc#L923 * Squid_Max

Re: [squid-users] 3.2.5 comm_open: socket failure: (24) Too many open files

2012-12-30 Thread Eliezer Croitoru
I dont have code and I havnt looked at it at all. I just changed my ulimit to lower then my 65535 to 8192 and restarted squid. Then it showed that the limit is 8192 in the cache.log. My squid is compiled with 65535 FD... But later I will have a small look at the code just to make sure how it was

Re: [squid-users] 3.2.5 comm_open: socket failure: (24) Too many open files

2012-12-30 Thread Tianyin Xu
Yes, I also would like to take a look at the patch! Best, T On Sun, Dec 30, 2012 at 12:11 AM, Jackie Zhang wrote: > Dear Eliezer, > > Can you show me the code snippet? Perhaps it's not in the current > stable version? because users usually do not pull from trunk but > download the "stable" versi

Re: [squid-users] 3.2.5 comm_open: socket failure: (24) Too many open files

2012-12-30 Thread Jackie Zhang
Dear Eliezer, Can you show me the code snippet? Perhaps it's not in the current stable version? because users usually do not pull from trunk but download the "stable" version from the website. t On Sat, Dec 29, 2012 at 11:53 PM, Eliezer Croitoru wrote: > There is.. > and squid does that.. > th