Re: FDs & linux again.

From: Miquel van Smoorenburg <[email protected]>
Date: 13 Jan 1999 00:39:26 +0100

In article <cistron.Pine.LNX.4.05.9901121513230.29410-100000@astercity.net>,
Pawel Pierscionek <pawel@astercity.net> wrote:
>Hi,
>
>> Sounds like your kernel's FD_SETSIZE is larger than the value of same
>> that your application was compiled with. I believe that that can cause
>> memory overruns in your application that can cause this sort of
>> behaviour.
>>
>> I should think it's safe for the application's value to be higher than
>> the kernel's, but dangerous to the life of the app to have it the other
>> way around.
>>
>Squid ./configure says:
>...
>checking Default FD_SETSIZE value... 3072
>checking Maximum number of filedescriptors we can open... 3000
>...
>
>May this be a problem ?
>Kernel is compiled with FD_SETSIE=3072

Did you use the filehandle.patch.linux patch (v8.04 is the latest,
I think) or did you just increase the FD_SETSIZE value in the
kernel? In the latter case, that's your problem. You really
want the filehandle.patch.linux thingy.

Mike.

-- 
Indifference will certainly be the downfall of mankind, but who cares?
-- 
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to miquels@cistron.nl (Miquel van Smoorenburg)
Received on Tue Jan 12 1999 - 16:21:20 MST

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