1. 程式人生 > >Apache 各啟動方式的差別

Apache 各啟動方式的差別

pac nbsp 時間 pid off rest httpd usr top

apachectl 調用 $httpd -k

1. kill - TERM `cat /usr/local/apache/logs/http.pid`

2. /bin/httpd -k stop/start/restart/graceful/graceful-stop

3. apachectl -k stop

發送停止信號給parent, 然後kill off its children, 花幾秒時間

4. apachectl -k graceful

parent advis children to exit or exit immediatly if they‘re not serving anyting

5 apachectl -k restart

kill all of chidren

Apache 各啟動方式的差別