How to increase max FD limit for a daemon process running under a headless user?
Posted
by
Ameliorator
on Server Fault
See other posts from Server Fault
or by Ameliorator
Published on 2012-12-28T15:28:27Z
Indexed on
2014/06/08
9:27 UTC
Read the original article
Hit count: 315
To increase the FD limit for a daemon process running under a headless user on a Ubuntu Linux machine we did following changes in /etc/security/limits.conf
soft nofile 10000
hard nofile 10000
We also added session required pam_limits.so in /etc/pam.d/login. The changes got reflected for all the users who logged out and logged in again. Whatever new processes are starting under those users are getting new FD limits.
But for the daemon which is running under a headless user the changes are not getting reflected. what is the way by which the changes can be reflected for the daemon which is running under headless user ?
© Server Fault or respective owner