Re: [squid-users] file descriptor error...

From: Visolve <squid_at_visolve.com>
Date: Thu, 29 May 2008 17:20:44 +0530

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_at_openbsd.or.id 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
>
>
>
Received on Thu May 29 2008 - 11:54:02 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:14 MDT