Re: [users@httpd] automatic reload of apache.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Alain Schoenmakers wrote:
> I was wondering if apache has something like a auto reload
> feature of it configuration. The following has happend :
> 
> I edited my configuration (apache.conf) and altered the values
> of MaxServers and keep-alive time. I saved the configuration but
> DID NOT start and stop or restart the apache server(on purpose).
> 
> After 2 days my apache server was down (bad gateway), because of an
> error in the configuration I edited. I think this means the edited
> configuration file was loaded without an restart of the apache server
> or the host system.
> 
> How is the possible ??

More than likely when your logs were rotated. Apache won't reload its
config unless told to.

You'll probably find something like:

/bin/kill -USR1 `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || tru
e

if you're running logrotate.

HTH,


				Neil.

-- 
Neil Hillard                    neil.hillard@xxxxxxxxxxxxxxxxxx
AgustaWestland                  http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
            views of Westland Helicopters Ltd.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux