The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache dying 5 -10 min. no error. HELP ?

Discussion in 'EasyApache' started by rupdog, May 27, 2003.

  1. rupdog

    rupdog Active Member

    Joined:
    May 18, 2002
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    I have apache die on server every 5 -10 min, with no errors atall.
    I finally had to set up cronjob to restart it every 3 min :(

    I have done this since then:
    1. /scripts/buildapache <= 3 times :: didnt solve
    2. repalced httpd.conf with backup one , when there was no apache error :: Didnt solve problem
    3. ran apache conf tests, all syntax look good
    4. replaced server ram. both sticks and did ram test after that for hours :: Still didnt resolve the problem :(
    5. Upgraded kernel : Still didnt resolve the problem
    6. raised ulimit :: still didnt resolve
    7. /scripts/sysup /scripts/upcp ::: Still no go

    I am clueless as to why apache is dying every 5 -10 min.

    I only get this error when the cron restarts apache:

    [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Tue May 27 18:58:33 2003] [notice] Apache/1.3.27 (Unix) mod_log_bytes/1.2 mod_bwlimited/1.0 PHP/4.3.1 FrontPage/5.0.2.2510 mod_ssl/2.8.12 OpenSSL/0.9.6b configured -- resuming normal operations

    What can I do next, why apache is dying of no error ?

    Thanks for help

    cPanel.net Support Ticket Number:
     
  2. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    16
    It not dying, its designed to restart every 10min. Search the forums for this. Ask DarkOrb why they decided to do this way.

    cPanel.net Support Ticket Number:
     
    #2 sexy_guy, May 27, 2003
    Last edited: May 27, 2003
  3. rupdog

    rupdog Active Member

    Joined:
    May 18, 2002
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    I know that 10 min. restart issue,
    It doesnt restart it just quietly dies.
    It doesnt reestart

    Response from Cpanel tech:
    "I looked into this quite extensively and can not find out why it's crashing. It's not writing any error to any log which says it's not a configuration issue. I even sniffed the requests on the network to apache but all the traffic was normal. I couldn't find a trojan/backdoor which would cause something weird like this either. My next step would be to replace the ram, bad memory could cause apache to exit out once it "hits" a certain "frame" of memory. See if your datacenter can replace the ram with known good ram and run a memory tester on the ram currently in the server. If that does not work let me know."

    I have replaced both ram, did ram test as mentioned in previous post, still no go :(

    cPanel.net Support Ticket Number:
     
  4. mitul

    mitul Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    What options where used each time when you complied apache?
    Did you used the advanced option (6)? What what modules where selected?

    cPanel.net Support Ticket Number:
     
  5. rupdog

    rupdog Active Member

    Joined:
    May 18, 2002
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    mitul,

    i have done with #6 with gd then also ran last compile with just biginners one i.e #1 only

    cPanel.net Support Ticket Number:
     
  6. mitul

    mitul Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    I had faced the same problem last time. I found a module compiled using the advanced option (6) was not working. I recomplied apache several time but no use. Apache failed everytime. I had to manually comment the module in httpd.conf and restarted apache. After that everything went fine.

    Recompiling won't help. You will have to trace the problem.

    cPanel.net Support Ticket Number:
     
  7. rupdog

    rupdog Active Member

    Joined:
    May 18, 2002
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    mitul,

    Do you know which module was that ?

    cPanel.net Support Ticket Number:
     
  8. mitul

    mitul Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    DAV

    cPanel.net Support Ticket Number:
     
  9. rupdog

    rupdog Active Member

    Joined:
    May 18, 2002
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
Loading...

Share This Page