Jump to content

Plesk Issues With Apache Restarts


blesbill

Recommended Posts

Hi Guys,

 

Those of you using Plesk with Blesta or other billing system on the same box would have encountered issues with empty responses, page disconnects/timeouts due to the fact that Plesk restarts Apache on every change and hence the process never completes gracefully on Blesta.

 

One of the workaround was to increase the "Apache restart interval" in "Apache Web Server Settings" on the Plesk Control Panel to a reasonable duration to avoid restarting everytime a change was made. Although this does improve on things, it still would cause issues if there were requests exactly at the time of restarts.

 

The solution to this issue is to set Plesk to restart Apache gracefully or in other terms reload Apache, not restart. Here is how to do this given on the plesk knowledgebase:

 

https://kb.plesk.com/en/112020

 

The above solution has been tested by a user having Plesk & Hostbill billing system on the same box. Multiple simultaneous requests were made and all of them completed smoothly & without any issues on either ends.

 

 

Note: It is recommended to do a Apache configtest and clearing up issues before setting up graceful restarts:

 

>apachectl configtest

 

 

Hope this helps others.

 

Thanks.

Link to comment
Share on other sites

  • 2 weeks later...

Nice Paul. This would certainly help any new users of the Plesk module to understand the issue and will now know how to deal with it.

 

I would also like to add that a "Apache configtest" is recommended before setting up graceful restarts. I have updated the post, maybe you can do the same on the docs regarding it.

 

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...