Ædifice.org Blog

[ Home | RSS 2.0 | ATOM 1.0 ]

Apache Worker MPM and RLIMIT_NPROC Resource Limit

Mon, 13 Jul 2009 18:04

I decided to give Apache 2.2's worker mpm a try (a couple processes that each have many threads rather than the default prefork's several processes that each handle a single thread), but I was having the Apache root process exit because its children were disappearing. Sometimes this would happen immediately after launching Apache, other times it would happen after I tried to access a web page. I tracked the problem down to being an issue with apache hitting the process limit for a given user. However, modifying limits.conf for the apache user did not solve the problem because the apache server inherits root's limits on start up rather than referring to limits.conf.

Click here to read more...

posted at: Mon, 13 Jul 2009 18:04 | path: / | permanent link to this entry | mysql, postgresql, rails

Made with PyBlosxom