調べものをしていて気づいたのですが、
apachectl には graceful というオプションがあるようです。
apachectl --help
usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
start - start httpd
stop - stop httpd
restart - restart httpd if running by sending a SIGHUP or start if
not running
fullstatus - dump a full status screen; requires lynx and mod_status enabled
status - dump a short status screen; requires lynx and mod_status enabled
graceful - do a graceful restart by sending a SIGUSR1 or start if not running
configtest - do a configuration syntax test
help - this screen
アクセスの多いサイトではapachectl restartしてはいけない
では
そこで次のように指定をすると,
アクセス中のデーモンは維持されつつ接続されていないものから再起動を行う。
と紹介されています。
debian の init.d script は graceful オプションを呼び出すことができないので、
graceful を指定したい場合は apachectl を直接使う必要があります。