OK, we found the cause: it's Solaris' limit for the number of open file
descriptors for 32-bit compiled applications.
When using 'fopen' a 32-bit compiled process may only open 256 fds.
This is regardless of what is set in /etc/system (rlim_fd_max and
rlim_fd_cur). (Interestingly, the problem disappears when using 'open'
instead of 'fopen').
Configuring squid with CFLAGS="-O2 -m64" (and recompiling) fixes the
problem and squid starts and runs flawlessly with lots of redirectors
and authentication helpers.
Possibly, 64-bit squid builds should be made the default on Solaris 7+
if a 64-bit compiler is available. Currently, squid's configure &&
make results 32-bit builds by default (with gcc).
Cheers - Harry
Received on Thu May 13 2004 - 10:42:35 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT