cycbuff limit?

Daniele Orlandi daniele at orlandi.com
Fri Aug 25 22:31:06 UTC 2000


Pete Ashdown wrote:
> 
> Ok, the linux kernel I'm using now supports 64K fd's.  I set ulimit and
> rlimitnofile to 32768.  It still has the same behavior.

Pete,

There are two limits, one is the total number of open fs the kernel
maintains, the other is a per-process limit. Older linux kernels had 256
fd per process limit, while newer ones have 1024. The limit is hardcoded
in one header file, so you might need to recompile inn if you changed
the kernel.

With many cycbuffs, you may easilly hit both limits...

As a rule of thumb, the per-process limit should be the number of
cycbuffs plus an overhead of 30-40 fds (someone will be more precise on
this), while the system limit should be the per-process limit multiplied
by the etimated peak of the number of clients.

Hope this helps.

Bye!

-- 
 Daniele

-------------------------------------------------------------------------------
 Daniele Orlandi - Utility Line Italia - http://www.orlandi.com
 Via Mezzera 29/A - 20030 - Seveso (MI) - Italy
-------------------------------------------------------------------------------



More information about the inn-workers mailing list