1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Apache HTTP goes down frequently

Discussion in 'Apache' started by m@o_614, Jul 30, 2017.

  1. #1
    Hi

    I am having some problems with an Apache Http that keeps going down every once in a while. I already discard a memory issue, but I found in the apache error logs the next message on the date the http went down:

    SIGHUP received. Attempting to restart
    SEMrush
    and on the var/log/syslog file I found this:

    /var/log/cron
    /var/log/maillog
    /var/log/messages
    /var/log/secure
    /var/log/spooler
    {
    sharedscripts
    postrotate
    /bin/kill -HUP 'cat /var/run/syslogd.pid 2> /dev/null ' 2> /dev/null || true
    endscript
    }

    I dont know what this bin/kill line is doing, but I suspect this is killing the http process. Is this causing the issue?

    Thanks in advance
     
    m@o_614, Jul 30, 2017 IP
    SEMrush
  2. Blank ™

    Blank ™ Well-Known Member

    Messages:
    223
    Likes Received:
    18
    Best Answers:
    6
    Trophy Points:
    110
    #2
    postrotate tells me that you are running some kind of logrotate, which might (and most probably) be the cause. Have you tried to disable it for a while and see if things get any better?
     
    Blank ™, Jul 30, 2017 IP
  3. webhost.uk.net

    webhost.uk.net Active Member

    Messages:
    287
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    78
    #3
    Have you tried to check apache logs, I don't feel above is the problem. to know better you need to try and check apache logs ( /usr/local/cpanel/logs/safeapcherestart_log) for cpanel
    Also try to check what process are running during apache restart.
     
    webhost.uk.net, Jul 31, 2017 IP