I set /etc/security/limits.conf so that root has a high ulimit. However, after restarting the system some of the processes running as root still have a limit of 1024. Does the limits.conf not apply to all applications?
I set /etc/security/limits.conf so that root has a high ulimit. However, after restarting the system some of the processes running as root still have a limit of 1024. Does the limits.conf not apply to all applications?
The limits set through
/etc/security/limits.conf
only apply to processes that pass through the PAM stack and have the pam_limits module applied.It's likely these processes do not go through PAM.
I think you'd have to find out where they are started from and manually set the ulimit there using the
ulimit
command.In Redhat there is initscript that can set ulimits for things started via init.
man initscript for details