[mdlug] Help: Changing open file limits on Ubuntu 8.04

Michael newmaniese at gmail.com
Fri Mar 27 19:05:29 EDT 2009


>
>
> ulimit applies ONLY to the current shell, and all child
> (grandchild, etc.) processes.  It does not effect sibling,
> parent, cousin, aunt, etc. processes
>

So how would one up the number of available open files for www-data, which
is only being used by nginx? I could really care less about the shell.

I have done the PAM and ssh stuffs mentioned earlier.

I also have hard rebooted (granted it was 190 days ago) and didn't get
anywhere, but if we think it would work after the changes that I have made,
I guess I am willing to give it a try.

The symptoms of the issue appear are slow reads and writes to the nfs
drives, Empty files sometimes being returned and an error in the Nginx logs,
which read "Too many open files" despite the settings for nginx which has
the file limits at a huge number.



More information about the mdlug mailing list