MarkHola
By:
MarkHola

Server Running But Website Down

March 21, 2016 2.2k views
Server Optimization PHP Applications DigitalOcean

I am running Ubuntu 14.04 Singapore based server. I am also using sentora free web panel with it. My website goes down after running for few mins. When I reboot it works fine and then again goes down after few mins. Any one can help me?

3 comments
  • Without more information it is difficult to pinpoint the problem. Are you able to access your log files (default is /var/log but sentora may locate them elsewhere)? These will likely contain the details on what is occurring. Is it only your web service that is crashing?

  • This is what the apache error log file looks like - http://i.imgur.com/Y85T3P1.png?1
    I seriously don't know what's the issue.

  • the log in the screenshot seems to suggest that it might be related to the MaxRequestWorkers setting in /etc/httpd/conf/httpd.conf (if using CentOS). According to https://httpd.apache.org/docs/current/mod/mpm_common.html#maxrequestworkers, it seems like the default value is 256 which I would think would be sufficient.

    In general, I usually advise against using web panels unless you are really familiar with setting it up. I look in my Apache access logs from time to time, and there are always these requests to phpMyAdmin. probably to look for vulnerabilities. phpMyAdmin is not installed on my droplet, but there are these random requests anyway that looks for an install that may not be fully secure.

1 Answer

This question was answered by @SphericalCow:

the log in the screenshot seems to suggest that it might be related to the MaxRequestWorkers setting in /etc/httpd/conf/httpd.conf (if using CentOS). According to https://httpd.apache.org/docs/current/mod/mpm_common.html#maxrequestworkers, it seems like the default value is 256 which I would think would be sufficient.

In general, I usually advise against using web panels unless you are really familiar with setting it up. I look in my Apache access logs from time to time, and there are always these requests to phpMyAdmin. probably to look for vulnerabilities. phpMyAdmin is not installed on my droplet, but there are these random requests anyway that looks for an install that may not be fully secure.

View the original comment

Have another answer? Share your knowledge.