On Friday 02 May 2003 06.31, adam-s@pacbell.net wrote:
> 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
You should not edit autoconf.h.
The correct steps are:
0. "make distclean" if you have already built Squid in this
directory.
1. "ulimit -n 8192" before running configure. Verify that configure
reports that it can open 8192 files and that SQUID_MAXFD is set
properly in include/autoconf.h.
2. "make install"
3. "ulimit -HSn 8192" before starting Squid.
Regards
Henrik
-- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org If you need commercial Squid support or cost effective Squid or firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, [email protected]Received on Fri May 02 2003 - 04:16:29 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:16:09 MST