Re: [squid-users] Ongoing Running out of filedescriptors

From: Kinkie <gkinkie_at_gmail.com>
Date: Thu, 11 Feb 2010 00:02:27 +0100

>> After retarting, I did have 1024 descriptors, no matters i did compile with
>> 64k FDs.
>
> As I said -
>
> The running configure / make / compile environment has to be set to
> 64k file descriptors.  The build environment's max file descriptors
> are an overriding limit on the actual usable FDs, no matter what you
> set the configure maxfd value to.  If ulimit -n = 1024 at configure
> time, that's what you're stuck at.
>
> # ulimit -HSn 32768 (or 64k) ; ./configure (options...) ; make

Remember to also set the ulimit when launching squid. Otherwise the OS
is enforcing the limit and there's nothing squid can do.

-- 
    /kinkie
Received on Wed Feb 10 2010 - 23:02:37 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 11 2010 - 12:00:04 MST