[squid-users] problem compiling squid

From: <adam-s@dont-contact.us>
Date: Thu, 01 May 2003 21:31:18 -0700

Hello,

Squid will not use more than 1024 file descriptors no matter how I
compile it. I've done the following:
set rlim_fd_cur=2048 in /etc/system with a reboot
set rlim_fd_max=8192 [same]
set ulimit -n 8192 in my compile shell, squid's startup script
change FD_SETSIZE to 8192 in include/autoconf.h after ./configure

"./configure" sees the 8192 max yet sets FD's to 1024 reporting:
   checking Default FD_SETSIZE value... 1024
   checking Maximum number of filedescriptors we can open... 8192

After each new compile, Cachemanager reports:
"Maximum number of file descriptors: 1024."

Did I miss something? I used suggestions from this list and the FAQ
but still cannot bump it above 1024. Ideally I want 2048, I don't
need 8192 but was just trying various values.

thanks,

Adam
[squid 2.5STABLE2, Solaris 8, Sun Ultra 60]
Received on Thu May 01 2003 - 22:37:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:16:09 MST