apache2-mpm-itk doesn't kill his processes

Posted by rtm on Server Fault See other posts from Server Fault or by rtm
Published on 2010-06-09T11:05:22Z Indexed on 2010/06/09 11:12 UTC
Read the original article Hit count: 1003

Why apache doesnt kill his processes ?

Im using fresh ubuntu 10.04 64bit with php 5.2 from karmic I've istalled 5.2 using this this script

phpinfo could me found here

http://www.m-23.ru/2.php

apache2 settings:

StartServers        5
MinSpareServers     5
MaxSpareServers     30
MaxClients          30
MaxRequestsPerChild 200

I've tried strace -p and get the following

sched_yield()                           = 0
sched_yield()                           = 0
sched_yield()                           = 0
sched_yield()                           = 0
sched_yield()                           = 0
sched_yield()                           = 0
sched_yield()                           = 0^C
Process 16839 detached

htop displays this picture

 3887 vu2032    20   0  337M 11644  2116 R 78.0  0.1  1:00.30 /usr/sbin/apache2 -k start
 3891 vu2017    20   0  337M 11308  1828 R 64.0  0.1  0:58.64 /usr/sbin/apache2 -k start
 3893 vu2032    20   0  337M 11652  2120 R 57.0  0.1  1:01.35 /usr/sbin/apache2 -k start
 3896 vu2033    20   0  337M 11248  1776 R 57.0  0.1  0:36.78 /usr/sbin/apache2 -k start
 3842 vu2033    20   0  337M 11244  1772 R 51.0  0.1  2:00.18 /usr/sbin/apache2 -k start
 3857 vu2025    20   0  337M 11288  1812 R 49.0  0.1  1:38.70 /usr/sbin/apache2 -k start

All sites works under php

© Server Fault or respective owner

Related posts about apache2

Related posts about ubuntu-server