Author |
|
raminder.bhrara@gmail.com
Joined: 29 Jul 2010 Posts: 3
|
Posted: Thu 29 Jul '10 7:37 Post subject: server-status is not showing some of the processes |
|
|
Hi, We are using Apache HTTP Server v2.0.x on AIX. I am using mod_status to get a report on the server-status web page. I am listing Apache processes and their respective threads using the command-line "ps thread count - $ ps -o thcount" as well. Some of the httpd processes that are reported on the command-line have got active threads in them with process-ids. The problem is that I am not been able to locate these processes on Apache server-status page.
Can someone tell me why is it so ?
Thanks for your help
Raminder |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 29 Jul '10 11:17 Post subject: |
|
|
Did you set ExtendedStatus On? Well that is not recommend for prod system, but than you should be able to see like
|
|
Back to top |
|
raminder.bhrara@gmail.com
Joined: 29 Jul 2010 Posts: 3
|
Posted: Thu 29 Jul '10 11:34 Post subject: ExtendedStatus is ON |
|
|
HI James
We did put it ON even though not recommended on Prod systems. We are seeing discrepant results via mod_status. That is, number of processes via command line do not match-up....
Thanks and Regards
Raminder |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 29 Jul '10 11:37 Post subject: |
|
|
Do you use worker or prefork? |
|
Back to top |
|
raminder.bhrara@gmail.com
Joined: 29 Jul 2010 Posts: 3
|
Posted: Fri 30 Jul '10 3:02 Post subject: server threads hanging for couple of days waiting |
|
|
We are also noticing via server-status that few threads are just waiting for couple of days. They are not serving but just hung on the 'W' status. We know that they are not serving because the
Acc Number of accesses this connection / this child / this slot
from the server-status is not increasing. How do we explain this behaviour when Apache is guaranteeing Timeout value of 5 minutes.
Also in some requests in server-status page we do not have a process-ids association with the threads.
Thanks and Regards
Raminder |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Fri 30 Jul '10 12:12 Post subject: |
|
|
So my question again. What do you use? Worker or prefork? In both cases you can set the MaxSpareServers which is the number of maximum idle servers. |
|
Back to top |
|