Search squid archive

RE: Ongoing Running out of filedescriptors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I run some busy installed-from-source squid v3.1 on Lenny

To get more filedescriptors I did this :

* configure with --with-filedescriptors=65536

* Modify the init.d startup script ( which I stole from the packaged
  squid version ) so that it includes "ulimit -n 65535"

To check if your tweaks worked, look in cache.log after starting squid.
In my case it reports "With 65535 file descriptors available"

Hope that helps!

Michael.

> -----Original Message-----
> From: Landy Landy [mailto:landysaccount@xxxxxxxxx]
> Sent: Wednesday, 10 February 2010 10:29 AM
> To: Squid-Users
> Subject:  Ongoing Running out of filedescriptors
> 
> I don't know what to do with my current squid, I even upgraded to
> 3.0.STABLE21 but, the problem persist every three days:
> 
> /usr/local/squid/sbin/squid -v
> Squid Cache: Version 3.0.STABLE21
> configure options:  '--prefix=/usr/local/squid' '--
> sysconfdir=/etc/squid' '--enable-delay-pools' '--enable-kill-parent-
> hack' '--disable-htcp' '--enable-default-err-language=Spanish' '--
> enable-linux-netfilter' '--disable-ident-lookups' '--
> localstatedir=/var/log/squid3.1' '--enable-stacktraces' '--with-
> default-user=proxy' '--with-large-files' '--enable-icap-client' '--
> enable-async-io' '--enable-storeio=aufs' '--enable-removal-
> policies=heap,lru' '--with-maxfd=32768'
> 
> I built with --with-maxfd=32768 option but, when squid is started it
> says is working with only 1024 filedescriptor.
> 
> I even added the following to the squid.conf:
> 
> max_open_disk_fds 0
> 
> But it hasn't resolve anything. I'm using squid on Debian Lenny. I
> don't know what to do. Here's part of cache.log:


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux