[MacPorts] #37173: nginx from macports causes 'kernel[0]: proc: table is full'
MacPorts
noreply at macports.org
Wed Dec 19 15:06:59 PST 2012
#37173: nginx from macports causes 'kernel[0]: proc: table is full'
------------------------------+--------------------
Reporter: daniel.plainv@… | Owner: cal@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: worksforme | Keywords:
Port: nginx |
------------------------------+--------------------
Changes (by cal@…):
* status: new => closed
* resolution: => worksforme
Comment:
The configuration files are in `/opt/local/etc/nginx`, if your prefix is
`/opt/local`. The MacPorts nginx package does not install a configuration
file, but only an example of it. You need to copy the example
configuration file and adjust it. Since you apparently never did this, all
the nginx port does when started is print an error message and exit. If
you started nginx using `sudo port load nginx` you would get a log message
every 30 seconds telling you that launchd couldn't start nginx (which is
what you saw).
However, this should not fill the kernel process table, because at any
given time, at most a `daemondo` process and a zombie process of what used
to be an `nginx` process are around. As soon as `daemondo` exits, launchd
should have cleaned up the zombie. If this didn't happen in your case, it
would explain the problem.
Anyway, create a working `nginx` configuration before starting it. I have
added a message detailing this in r100667.
--
Ticket URL: <https://trac.macports.org/ticket/37173#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list