[lug] Monitoring file descriptors

David L. Anselmi anselmi at anselmi.us
Tue Jul 29 16:47:28 MDT 2008


Bear Giles wrote:
> You can set max number of files via rlimit.  I've only done this in my 
> own app, as part of security hardening, but I thought there was a way 
> for root to set the values for any running process.

pam has something like a limits.conf under /etc, close to system wide. 
bash(1) has a ulimit builtin that affects all child processes.

> Or at worst, just keep it from taking out the rest of the system.

Yeah, that would be a good thing.

Dave




More information about the LUG mailing list