Don't restart Apache when an email address is created
In Onyx 17.8, when an email address is created Apache is restarted. There is no need to do this. Adding a few dozen email addresses results in Apache restarting a few dozen times, which looks like server problems to any clients or site visitors (lots of "bad gateway" errors from nginx).
I simply suggest not restarting Apache when changes are made to email accounts.
In Plesk 17.9 Preview 7 the Plesk administrator can now select the type of Apache restart (graceful or normal) in “Tools & Settings” > “Apache Web Server” (under “General Settings”).
Using graceful restart will solve your issue.
—
IG
-
Steve Y commented
Hi, while I respect your opinion I fail to see how setting Apache to gracefully restart will prevent Apache from restarting when an email address is added?
-
Steve Y commented
workaround from support: "To prevent Apache restart immediately login to Plesk web interface and specify Apache restart intervalin Plesk > Tools & Settings > Apache Web Server .
Once in a specified interval, Plesk checks for changes made to domains and subdomains. In case there are changes that require web server restarting, Plesk restarts Apache.
Note: Restart interval should be specified in seconds."