Darghon Posted June 3, 2013 Share Posted June 3, 2013 Hello all, I have a production server with 40+ virtual hosts on it (all part of a single application) and we've added a automatic generation script to that server to create new domains when a new request is registered. Now After adding the new db, virtual host and uploads folder (it all works on the same sourcecode) the server needs to do a graceful restart, because we don't want to kick any open connections. The system pops the command, and we send a email to the requester confirming that his/her application has been created. But for some reason the graceful restart does not always work. resulting in a "page not found" when the requester clicks on their received url. (happens about 10% of the time) Is there any way to confirm that the graceful restart was succesful? Or if anyone has any other idea's solutions for this problem? Thx Quote Link to comment https://forums.phpfreaks.com/topic/278708-apache2ctl-graceful-does-not-always-work/ Share on other sites More sharing options...
trq Posted June 3, 2013 Share Posted June 3, 2013 Why aren't you using dynamically configured virtual hosts? Restarting the server after creating each vhost is redundant. Quote Link to comment https://forums.phpfreaks.com/topic/278708-apache2ctl-graceful-does-not-always-work/#findComment-1433780 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.