Re: [us...@httpd] Apache Processes Hung Sending Reply

2010-03-07 Thread Richard_vK
I had the same problem, spent hours trying to figure out what the problem was. We use Munin to monitor our system status (server runs FreeBSD) and noticed that whenever Apache processes started hanging, there was a corresponding decrease in the number of established TCP connections to the

Re: [us...@httpd] Apache Processes Hung Sending Reply

2010-02-02 Thread Jeff Trawick
On Mon, Feb 1, 2010 at 3:34 PM, Tom Ritter t...@ritter.vg wrote: I have 40 or so apache processes suspended in Sending Reply.  My hypothesis is that MySQL had a problem, and either apache or php somehow got gummed up and isn't cleaning up for some reason.  I'm hoping the list can give me more

[us...@httpd] Apache Processes Hung Sending Reply

2010-02-01 Thread Tom Ritter
I have 40 or so apache processes suspended in Sending Reply. My hypothesis is that MySQL had a problem, and either apache or php somehow got gummed up and isn't cleaning up for some reason. I'm hoping the list can give me more ideas for debugging or point me in the right direction. Here is

[us...@httpd] Apache processes

2009-03-11 Thread Andrew Hole
Hi! By default in version 2.2 how many child processes are created at apache startup? When is created another one? Thanks

Re: [us...@httpd] Apache processes

2009-03-11 Thread Frank Gingras
Andrew, See the StartServers / MinSpareServers directives. Frank. Andrew Hole wrote: Hi! By default in version 2.2 how many child processes are created at apache startup? When is created another one? Thanks - The

Re: [us...@httpd] Apache processes

2009-03-11 Thread Andrew Hole
I dont have configured any of that directives. There is any default configuration? And about server-status: Parent Server Generation: 21 requests currently being processed, 63 idle workers What's mean parent server generation and idle workers? Thanks a lot On Wed, Mar 11, 2009 at 3:34 PM,

Re: [us...@httpd] Apache processes

2009-03-11 Thread Frank Gingras
Andrew, You may have not set those, but apache ships with pre-set directives. Open your config files, and see what those directives are set to. Idle workers are processes which are not responding to any HTTP request at the moment. Frank. Andrew Hole wrote: I dont have configured any of

Re: [us...@httpd] Apache processes

2009-03-11 Thread Andrew Hole
Thanks. But I just see 2 processes on task manager, not 63!!! Are there threads? MPM is commented. Where can i find the pre-set directives values? # Server-pool management (MPM specific) #Include conf/extra/httpd-mpm.conf Thanks On Wed, Mar 11, 2009 at 3:49 PM, Frank Gingras

Re: [us...@httpd] Apache processes

2009-03-11 Thread Frank Gingras
Andrew, Well, WinNT uses a different MPM model. There is a parent process, and a 'child' process that has internal threads, visible from mod_status. On linux, those would show up as separate processes. See http://httpd.apache.org/docs/2.2/mod/mpm_common.html#startservers Frank. Andrew Hole

Re: [us...@httpd] Apache processes

2009-03-11 Thread John Hudak
On a related question (and not to hijack this thread too much...)...In the file apache2.conf there are two sections that determine the server operation, prefork MPM and worker MPM. Where (how?) is the decision made to set either mpm_prefork_module TRUE or mpm_worker_module TRUE? It is my

Re: [us...@httpd] Apache processes

2009-03-11 Thread Frank Gingras
John, prefork and worker are mutually exclusive. When apache is compiled, one is picked. In order to change the MPM, apache must be recompiled. See the output from httpd -V Frank. John Hudak wrote: On a related question (and not to hijack this thread too much...)...In the file apache2.conf

Re: [us...@httpd] Apache processes

2009-03-11 Thread John Hudak
makes senses..tyvm! I ran: apache2 -l and got: Compiled in modules: core.c mod_log_config.c mod_logio.c prefork.c http_core.c mod_so.c So my interpretation is that my version was compiled with prefork, and not worker. Correct? thanks again -John On Wed, Mar 11, 2009 at 12:11 PM,

Re: [us...@httpd] Apache processes

2009-03-11 Thread Frank Gingras
John, That would be correct. You should run apache2 -V, which would give you a clear cut response. Also, for httpd 2.x, -M will give you a better list if you're looking for your modules. Frank. John Hudak wrote: makes senses..tyvm! I ran: apache2 -l and got: Compiled in modules: core.c