[LON-CAPA-admin] httpd reload versus restart

Guy Albertelli II guy at albertelli.com
Thu Jul 29 13:27:19 EDT 2004


Hi All,

Just some info:

doing /etc/init.d/httpd restart

- causes the current httpd to exit, which means for a time the server
    looks like it is down


doing /etc/init.d/httpd reload

- does not cause the current server to exit, which means connections
    are never refused and thus the server never looks down (but rather
    slow for a short period of time)

- does cause the server to reread all config files, and re parse all
    perl .pm files

- but will cause all long running httpd daemon requests to exit



Thus a /etc/init.d/httpd reload is generally safe to do if you want to
stick a small change into the .pm and cause the server to see these
changes with out disturbing users much.


-- 
guy at albertelli.com  LON-CAPA Developer  0-7-3-9-



More information about the LON-CAPA-admin mailing list