[Pulp-list] Apache reload and pulp.conf

Michael Hrivnak mhrivnak at redhat.com
Thu Jul 12 14:33:45 UTC 2012

"service httpd reload" sends a HUP signal to httpd, which causes an immediate restart, not a graceful one.  For a graceful restart, your best bet is "apachectl graceful".

They will both result in new worker processes that fire up from scratch, so your new config will be honored either way.


----- Original Message -----
From: "James Slagle" <jslagle at redhat.com>
To: pulp-list at redhat.com
Sent: Thursday, July 12, 2012 8:06:06 AM
Subject: Re: [Pulp-list] Apache reload and pulp.conf

On Thu, Jul 12, 2012 at 11:28:33AM +0200, Lukas Zapletal wrote:
> Hey,
> when I change pulp.conf or repo_auth.conf does "service httpd reload" do
> the work or do you rather recommend to do "restart" instead?

reload should be sufficient.  aiui, reload does a graceful restart, which just
means once a child process is idle, it is restarted.  So, essentially reload is
the same as a restart without killing any requests currently being handled.

> The question is - does reload really restart mod_python apps?

Yes (and it's all mod_wsgi now btw).

-- James Slagle

Pulp-list mailing list
Pulp-list at redhat.com

More information about the Pulp-list mailing list