This is a discussion on Q: force Apache2 to use single process model within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, My app. server recommends Apache2 to run as single process model. I have compiled MPM worker but could not ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
My app. server recommends Apache2 to run as single process model. I have compiled MPM worker but could not get it working in single process, multi-thread model. I have tried setting ServerLimits and StartUpServer both to 1, I still have three httpd processes, one is the control process and the other two are the worker processes. But I only want one worker process, i.e., single process model. In addition, no matter what I set to StartUpServers, I always get two httpd child processes running. The configure file and compiler options are all correct, as changes in other configure parameters take effect, and httpd -l shows worker.c. I even debugged Apache and all the values are read in correctly. Except for not running as a single process, Apache functions well. I also tried switching to MPM perchild and set NumServers to 1, had the same situation, still got two child processes running. What did I miss and how can I debug this? Thanks. Yan |