• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

apache restart interval

P

placain

Guest
What is the "apache restart interval" referred to in Server > Server preferences?

I had been under the impression that Plesk is supposed to restart apache periodically, according to the number of seconds entered in this field, but that doesn't seem to be the case, at least under 7.5.2. I've looked at this on four different installs of Plesk, all with the interval set to 900, and on all of them httpd has been running for hours, days, or weeks without a restart (both according to 'ps' and to the mod_status-generated server-status page).

So what's it actually for? Or is this feature just broken?
 
This is the minimum interval that Plesk will restart http daemon. If a new subdomain is added, for example, it will not work until apache is next restarted - which will occur a maximum of once per whatever is set in this. This prevents crashes if two users add a subdomain at the same time, or apache restarts too frequently.
 
But then shouldn't it be the case that if I add a domain, apache should restart within that amount of time?

If I add a domain, and wait an hour, apache still won't have restarted. I always have to restart apache by hand to make changes take effect.
 
Same issue here.. Plesk does not restart Apache after a new domain got added, regardless of what the restart intervall is set to. In order to get a freshly added domain to work, i need to restart apache manually first...

Is this as it should be or is there something wrong?
(Using Plesk 7.5.2 on Suse 9.1)
 
Worse yet, try to set an automatic backup and login in the morning and the domain has not restarted.....
 
Back
Top