Site is not loading but after reboot it's wokring

September 16, 2019 165 views
DigitalOcean Ubuntu 16.04 Apache

In 24 hours or 48 hours interval my sites can’t be browser.
If I do reboot the server then it’s do work smoothly and gain after few hours same issue back.
Is the Apache become full or usage or something else ?
I have set monitor and nothing is more than 70%.

1 Answer

Hello,

Do you receive any error messages when you access the websites in the browser or it’s just trying to load the site and then it fails after some time? You can check if the apache error log if the workers are exceeded or if there is another error logged in.

You can tail the apache error log for the last 100 rows entered in:

tail -n 100 /var/log/httpd/error_log

The location of the log might be different, e.g /usr/local/apache/logs/error_log

Let me know how it goes.

Alex

  • Thanks a lot Alex.

    Once I do try to browse the site, here is the output : https://prnt.sc/p725gt

    I have found the error log here : /var/log/apache2/error.log
    tail -n 100 /var/log/apache2/error.log

    Here is the error of current date : blubirdinteractive.info/error_log.txt

Have another answer? Share your knowledge.