Re: How to enable nofile during boot
Robert Freiberger <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.svlug |
|---|---|
| Message-ID | <CAK5y5r5p60kcOW1f+jCHUcH7TkfdN6bVyq+9NTG-quib5kfU=w@mail.gmail.com> |
Heh, I found I forgot to include the so file in the /etc/pam.d/login file. But after I did this, the results are the same. From the /proc/<pid>/limits it's showing the default but takes the new changes when it's restarted. At work we have a semi-custom spin of RHEL and I wonder if there's something else over riding my settings. Also I tried restarting the service as myself and root with same results. On Wed, May 3, 2017 at 5:58 AM Greg Herlein <[email protected]> wrote: > 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 <(415)%20368-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 > -- Robert Freiberger 510-936-1210 _______________________________________________ svlug mailing list [email protected] http://lists.svlug.org/lists/listinfo/svlug