Search squid archive

Re: file descriptor error...

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

 



Hello Tommy,

First increase the file descriptor for your terminal using "ulimit -n 8192" . Then start the squid and check the cache.log.

Thanks,
-Visolve Squid Team
www.visolve.com/squid/

tommy@xxxxxxxxxxxxx wrote:
greeting for dear all...

how can i upgrade my file descriptor in my squid-2.6-stable18, on my
openbsd 4.3 in i386 box?
i already fill the "--with-maxfd=8192" option in the Makefile (i use
ports facility from openbsd for squid installation), then already fill
"kern.maxfiles=8192" option in my /etc/sysctl.conf, i already
re-compile openbsd kernel with "option MAXFILES=8192", but when i see
again the cache.log, the file descriptor still same with the default
one, 1024.

2008/05/29 02:41:40| Starting Squid Cache version 2.6.STABLE18 for
i386-unknown-openbsd4.3...
2008/05/29 02:41:40| Process ID 10862
2008/05/29 02:41:40| With 1024 file descriptors available

someone, please help me here. i'm glad to say thank you for your help.
sorry, my english a little bit error.



regards,

tommy




ps : this is my complete configure arguments on my Makefile.

CONFIGURE_ARGS+=--datadir="${PREFIX}/share/squid" \
                --enable-auth="basic digest" \
                --enable-arp-acl \
                --enable-basic-auth-helpers="NCSA YP" \
                --enable-digest-auth-helpers="password" \
                --enable-external-acl-helpers="ip_user unix_group" \
                --enable-removal-policies="lru heap" \
                --enable-ssl \
                --enable-storeio="aufs ufs diskd null" \
                --with-pthreads \
                --localstatedir="${SQUIDDIR}" \
                --enable-delay-pools \
                --enable-arp-acl \
                --enable-kqueue \
                --enable-large-cache-files \
                --enable-internal-dns \
                --enable-x-accelerator-vary \
                --enable-auth="basic" \
                --with-maxfd=8192 \
                --enable-follow-x-forwarded-for




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

  Powered by Linux