http://bugzilla.novell.com/show_bug.cgi?id=516680
User poeml@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=516680#c3
Peter Poeml changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |poeml@novell.com
--- Comment #3 from Peter Poeml 2009-06-25 18:52:15 MDT ---
Hi revealed,
thank you for the report.
First, do you really want a graceful restart in the sense of "graceful stop
followed by starting a new server", or do you actually want a graceful restart
in the sense of a "reload (reread configuration"?
If the latter, just use "rcapache2 reload" instead of "rcapache2
graceful-restart".
If the former, then you need to make sure that you set GracefulShutdownTimeout
in the configuration, because if that is missing, a graceful stop is known to
fail. (Which probably is a bug in Apache.)
There's a slight terminology problem - Apache documentation speaks of graceful
restart, which is a "reload" in terms of Linux init scripts.
Apache documentation also speaks of a graceful stop, and what's meant in that
case is that Apache is killed with SIGWINCH which causes it to actually keep
running for a specified period of time, but it already closes its listening
socket and log files to make room for a new server to start. (Ideal to migrate
to a newer version, of start a completely different server.) In most cases,
you'd want to simply "rcapache2 reload" resp. gracefully restart (Apache lingo)
your server.
Now, two different issues come into play.
First, for a reload (graceful restart in Apache lingo), you'll see those "Bad
file descriptor" messages, especially if you use mod_python. You can ignore
them, they don't cause any harm.
Second, there are scenarios where the graceful shutdown ("rcapache2
restart-graceful") can't work. This happens for example when mod_fastcgi or
mod_wsgi are used, which fork extra processes. (mod_python isn't known to give
this problem.) If you don't have that issue, it doesn't need to concern you.
Details are in bug 475482).
Does this help?
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.