blesbill Posted March 28, 2016 Report Share Posted March 28, 2016 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. Quote Link to comment Share on other sites More sharing options...
Blesta Addons Posted March 28, 2016 Report Share Posted March 28, 2016 is blesta hosted in the same server that you use to provisioning plesk services ? if yes , that is the issue , when account is created , plesk restart apache, then blesta lose connection with plesk . Quote Link to comment Share on other sites More sharing options...
blesbill Posted March 28, 2016 Author Report Share Posted March 28, 2016 The original post is a solution to the issue, not a question/query. Thanks. Quote Link to comment Share on other sites More sharing options...
Michael Posted March 28, 2016 Report Share Posted March 28, 2016 Thank you for your contribution and I've moved it from support to contribute on behalf of the OP. Quote Link to comment Share on other sites More sharing options...
Paul Posted April 5, 2016 Report Share Posted April 5, 2016 I mentioned this is the documentation, thanks! blesbill and Michael 2 Quote Link to comment Share on other sites More sharing options...
blesbill Posted April 6, 2016 Author Report Share Posted April 6, 2016 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.