Search squid archive

Re: running out of filedescriptors

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

 



Landy Landy wrote:
Hello.

This morning we didn't have internet. Checked squid's cache.log and found:

2010/01/26 09:10:07| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:10:23| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:10:39| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:10:55| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:11:11| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:11:24| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) failed: (2) No such file or directory
2010/01/26 09:11:28| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:11:44| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:12:01| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:12:17| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:12:50| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:12:52| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) failed: (2) No such file or directory
2010/01/26 09:13:06| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:13:22| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:15:00| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:15:00| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) failed: (2) No such file or directory
2010/01/26 09:20:59| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:20:59| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) failed: (2) No such file or directory
2010/01/26 09:25:41| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:25:41| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) failed: (2) No such file or directory
2010/01/26 09:30:41| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:30:41| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) failed: (2) No such file or directory
2010/01/26 09:35:06| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:35:06| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) failed: (2) No such file or directory
2010/01/26 09:37:05| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:37:05| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) failed: (2) No such file or directory
2010/01/26 09:41:30| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:41:30| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) failed: (2) No such file or directory
2010/01/26 09:53:50| client_side.cc(2843) WARNING! Your cache is running out of filedescriptors
2010/01/26 09:53:50| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) failed: (2) No such file or directory


Don't know what is causing this I configured squid3.0STABLE20 with these options:


./configure --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=16384



How can I fix this problem?

Thanks in advanced for your help.



Try setting ulimit -n to a higher value

edit the start script for squid and add something like:

ulimit -n 20000

in the beginning off the file.

William


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

  Powered by Linux