ws = &ap_scoreboard_image->servers[i][j];
res = ws->status;
- if (res == SERVER_READY && ps->generation == mpm_generation) {
- ready++;
- }
- else if (res != SERVER_DEAD &&
- res != SERVER_STARTING && res != SERVER_IDLE_KILL &&
- ps->generation == mpm_generation) {
- busy++;
+ if (!ps->quiescing && ps->pid) {
+ if (res == SERVER_READY && ps->generation == mpm_generation) {
+ ready++;
+ }
+ else if (res != SERVER_DEAD &&
+ res != SERVER_STARTING && res != SERVER_IDLE_KILL &&
+ ps->generation == mpm_generation) {
+ busy++;
+ }
}
}
}