View Single Post
  #3  
Old 31st May 2011, 22:28
matiasCU matiasCU is offline
Member
 
Join Date: Apr 2007
Posts: 57
Thanks: 5
Thanked 2 Times in 2 Posts
Default

Is true in this case I have two process that appear to be blocked:

root 29019 0.0 0.0 2780 1324 ? S 12:36 0:00 /bin/sh /etc/rc6.d/K09apache2 stop
root 30550 0.0 0.0 4844 1408 ? S 12:45 0:00 /bin/sh /etc/init.d/apache2 restart

But the service answers, both the panel and the virtual sites can be look.

root 31252 0.0 0.2 52752 15744 ? Ss 12:50 0:02 /usr/sbin/apache2 -k restart
www-data 31257 0.0 0.0 25744 5344 ? S 12:50 0:00 /usr/sbin/apache2 -k restart
www-data 31259 0.0 0.2 60292 18380 ? S 12:50 0:01 /usr/sbin/apache2 -k restart
www-data 31260 0.0 0.3 61568 20352 ? S 12:50 0:02 /usr/sbin/apache2 -k restart
www-data 31261 0.0 0.3 60312 18768 ? S 12:50 0:01 /usr/sbin/apache2 -k restart
www-data 31262 0.0 0.3 61192 20228 ? S 12:50 0:02 /usr/sbin/apache2 -k restart
www-data 31263 0.0 0.3 60996 20060 ? S 12:50 0:02 /usr/sbin/apache2 -k restart
www-data 31264 0.0 0.3 60352 19256 ? S 12:50 0:01 /usr/sbin/apache2 -k restart
www-data 31265 0.0 0.3 61664 19580 ? S 12:50 0:02 /usr/sbin/apache2 -k restart
www-data 31266 0.0 0.2 56796 14972 ? S 12:50 0:01 /usr/sbin/apache2 -k restart
www-data 31267 0.0 0.3 61864 20624 ? S 12:50 0:02 /usr/sbin/apache2 -k restart
www-data 31268 0.0 0.3 60920 19980 ? S 12:50 0:01 /usr/sbin/apache2 -k restart
www-data 31269 0.0 0.3 61220 20232 ? S 12:50 0:02 /usr/sbin/apache2 -k restart
www-data 31270 0.0 0.3 60620 18804 ? S 12:50 0:01 /usr/sbin/apache2 -k restart
www-data 31271 0.0 0.3 61548 20556 ? S 12:50 0:01 /usr/sbin/apache2 -k restart
www-data 31272 0.0 0.3 60920 19840 ? S 12:50 0:02 /usr/sbin/apache2 -k restart
www-data 31273 0.0 0.3 60604 19464 ? S 12:50 0:02 /usr/sbin/apache2 -k restart
www-data 31274 0.0 0.3 61768 20388 ? S 12:50 0:01 /usr/sbin/apache2 -k restart
www-data 31275 0.0 0.3 60392 19448 ? S 12:50 0:01 /usr/sbin/apache2 -k restart
www-data 31276 0.0 0.3 60660 19196 ? S 12:50 0:01 /usr/sbin/apache2 -k restart
www-data 31277 0.0 0.3 61784 20520 ? S 12:50 0:01 /usr/sbin/apache2 -k restart
www-data 31278 0.0 0.3 60392 19468 ? S 12:50 0:02 /usr/sbin/apache2 -k restart

when I kill the process:
kill -9 29019
Kill -9 30550
And restart apache whit /etc/init.d/apache2 restart
This is the logs:
[Tue May 31 17:08:35 2011] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 9 idle, and 27 total children
[Tue May 31 17:09:24 2011] [info] removed PID file /var/run/apache2.pid (pid=1984)
[Tue May 31 17:09:24 2011] [notice] caught SIGTERM, shutting down
[Tue May 31 17:09:24 2011] [info] mod_fcgid: Process manager 1999 stopped

and does not restart apache... then I must finish executing the restart command whit ctrl +

ps aux |grep apache
root 2135 0.0 0.0 4852 1416 pts/1 S+ 17:09 0:00 /bin/sh /etc/init.d/apache2 restart

kill -9 2135
and apache2ctl start
ps aux |grep apache
root 2664 6.5 0.2 52752 15724 ? Ss 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2667 0.0 0.0 25744 5344 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2669 1.4 0.1 54000 12284 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2670 1.7 0.1 53908 12264 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2671 0.8 0.1 53240 10068 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2673 1.1 0.1 53776 11760 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2674 0.8 0.1 53240 10068 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2677 0.7 0.1 53724 10348 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2678 0.6 0.1 53240 10068 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2679 0.8 0.1 53724 10284 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2680 0.7 0.1 53240 10068 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2681 0.6 0.1 53724 10292 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2682 0.7 0.1 53724 10328 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2683 0.7 0.1 53240 10040 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2684 0.6 0.1 53240 10040 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2685 0.7 0.1 53240 10040 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2686 0.7 0.1 53240 10028 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2687 0.7 0.1 53240 10040 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2688 0.8 0.1 53240 10048 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2689 0.5 0.1 53240 10032 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2690 0.4 0.1 53240 10036 ? S 17:16 0:00 /usr/sbin/apache2 -k start
www-data 2691 0.4 0.1 53240 10096 ? S 17:16 0:00 /usr/sbin/apache2 -k start

and return to work but still can not save changes to the virtualhost
Reply With Quote