[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Too many open files



Am Mon, 2002-10-07 um 22.33 schrieb Michael Heironimus:
> On Mon, Oct 07, 2002 at 04:17:26PM +0200, Fred wrote:
> > -How do I solve this ? Echoing a different max number ?
> > is it a definitive solution (how about the next boot) ?
> 
> I'm not sure why you have so many files open, but yes, you can change
> the limit at runtime by echoing a new number to the file under /proc.
> I'm not sure what the recommended Debian solution is, but I use sysctl
> and add entries like that to /etc/sysctl.conf. The init scripts should
> run sysctl at boot to load the parameters from that file.

what about the ulimit? i think this is also necessary to increase the
number of FDs per session! 

and there is also a pams_limits module (if you use pams). maybe you
should check the config for this at [1]

btw: what are you doing to exceed the max numbers of FDs? maybe i have
missed sth.

cu

[1] http://www.us.kernel.org/pub/linux/libs/pam/modules.html



Reply to: