Downtime - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: Downtime (/thread-7576.html) |
Downtime - fred - 08-22-2009 09:33 PM Hi, When a user is added apache goes down for a bit; can this be prevented considering you cannot run serious hosting on it with this happening. Thanks, Fred RE: Downtime - kilburn - 08-22-2009 11:48 PM What do you understand by "down", and how much is a "bit"? Setting up a new virtual host REQUIRES an apache reload, during which it stops processing requests (but clients shouldn't receive any error, just a slight delay 1-2sec max). If its something worst than that, we can try to track down the cause. Otherwise, if you can't afford an occasional 1-2sec delay you should be using some serious load balancing/failover infrastructure... RE: Downtime - fred - 08-23-2009 12:39 AM Well, HTML clients aren't seeing downtime, but PHP clients are; the fcgi processes are shot down even during graceful restart. And those clients are cut off (getting a nice white screen). When processing multiple new clients / changes per hour, this becomes quite a bit of service interruption. RE: Downtime - kilburn - 08-23-2009 05:07 AM Maybe you're hitting this php bug. On my own tests, with this versions: Code: PHP/5.2.6-1+lenny3 What happens is that (on graceful restart) the server closes the connection by sending a FIN packet, and thereafter I've got varying results: 1. If the page was previously loaded correctly (so this is a refresh), the browser reloads the page, this time completing correctly. 2. If it's the first time I'm loading the page, the browser shows a blank page and stops. So yes, this might be an issue. Unfortunately, it's a php+fastcgi/fcgid problem that we can't do much about, except trying with newer versions to see how is this handled. You may also switch to using mod_php5 (the panel supports it), but then you'll have a less secure server. It's up to you... :S RE: Downtime - fred - 08-23-2009 07:03 AM mod_php is not really an option; it's a free hosting server. I 'solved' it with a haproxy setup which is working fine Thank you. Opening a new topic for the next problem |