Re: [squid-users] FD limits under Squid-2.6STABLE5 stuck at 1024

From: zulkarnain <sizulku@dont-contact.us>
Date: Sun, 5 Nov 2006 07:46:41 -0800 (PST)

--- Henrik Nordstrom <henrik@henriknordstrom.net>
wrote:
> > any idea how to increase FD limits?
>
> When you build Squid set the ulimit or use
> --with-maxfd=...
>
> When you start Squid make sure the hard ulimit is
> set accordingly.
>
> Regards
> Henrik
>

If squid build by using --with-maxfd=16384 and not set
the ulimit, FD limit stuck at 1024, here is my log

-- configure log when using --with-maxfd=16384
checking for strerror... yes
checking for initgroups... yes
checking Default FD_SETSIZE value... 1024
Maximum filedescriptors set to 16384
checking Default UDP send buffer size... 110592
checking Default UDP receive buffer size... 110592
checking Default TCP send buffer size... 16384
checking Default TCP receive buffer size... 87380
Limiting receive buffer size to 64K

-- cache.log
2006/11/05 22:47:28| Starting Squid Cache version
2.6.STABLE5 for i686-redhat-linux-gnu...
2006/11/05 22:47:28| Process ID 17111
2006/11/05 22:47:28| With 1024 file descriptors
available

regards,
Zul

 
____________________________________________________________________________________
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates
(http://voice.yahoo.com)
Received on Sun Nov 05 2006 - 08:46:48 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:02 MST