Re: How to enable nofile during boot

Ivan Sergio Borgonovo <[email protected]>
Newsgroups gmane.org.user-groups.linux.svlug
Organization http://www.WebThatWorks.it
Message-ID <[email protected]>
On 05/03/2017 09:02 AM, Robert Freiberger wrote:
> Hello,
>
> I'm stuck on a work task and for the life of me, don't understand why my
> settings are not taking hold of the system.
>

> $ cat /etc/security/limits.conf
> * soft nofile 871114
> * hard nofile 871114
>
> So when I restart the host, I can find these settings are showing up.
>
> $ cat /proc/sys/fs/file-max
> 871114

* applies just to non root users.

Is there any chance apache is run with different users depending on how 
you start it?
Is there any chance one time you checked with ulimit and another time 
you checked the process limit?

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it http://www.borgonovo.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.