Web Server Hangs Randomly

Discussion in 'Installation/Configuration' started by Unfaiir, Jul 23, 2012.

  1. Unfaiir

    Unfaiir Member

    I just did a fresh install of ISPConfig on CentOS 6.3, following the howtoforge guide exactly. The only issue I had was that mailman wasn't recognized during the installation. Oh well I guess.

    I have a dedicated website that I've just setup and while browing the site, randomly the page will just load and load until eventually the browser returns the "Cannot connect" message. Once this happens, every site on the server returns the same message when trying to connect, including the ISPConfig panel (I have 3 sites setup).

    I checked the /var/httpd/error_log immediately after this happened and saw this:
    After searching about the mod_python errors with ISPConfig 3, I decided to just disabled mod_python, since I'm not using python anyway for any sites. I also disabled mailman at this time since it never was installed into ISPConfig 3. I then restarted the server and the log was much nicer:
    The web server seemed to be behaving better... seemed.. about 10 minutes later the server hung again. There is no error is the error_log. Even restarting apache when this happens has no effect. I must wait several minutes (I've not timed it exactly but I'm estimating about 5). After this time, the server starts to respond again. This keeps happening randomly at least once every 5-10 minutes after coming back up.

    I'm not sure what to do? There is no error in the apache log and this is a fresh install, only doing exactly what the howto guide for centos 6.2 said. Can anyone help?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which ISPConfig version do you use?
  3. Unfaiir

    Unfaiir Member

    This was ISPConfig 3 on an old server.

    I'm not sure what the problem was exactly but I think what solved it was to turn up the MaxClients (and ServerLimit) up to 512 or 1024 in /etc/httpd/conf/httpd.conf.

Share This Page