Re: How to enable nofile during boot

Greg Herlein <[email protected]>
Newsgroups gmane.org.user-groups.linux.svlug
Message-ID <CAP_o72Wjdwby7HoGWcDnKQSizkad3iEvgaYd3J7434QxRubhHA@mail.gmail.com>
pam_limits.so?

You sure you are not comparing the system limits to a user limit?

https://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/





--------------------------------------------------------------------------------------------------------------
Greg Herlein   |   415-368-7546   |   LinkedIn
<http://www.linkedin.com/in/gherlein>



On Wed, May 3, 2017 at 1:04 AM, Ivan Sergio Borgonovo <[email protected]>
wrote:

>
> 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
>
>
> _______________________________________________
> svlug mailing list
> [email protected]
> http://lists.svlug.org/lists/listinfo/svlug
>

_______________________________________________
svlug mailing list
[email protected]
http://lists.svlug.org/lists/listinfo/svlug
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.