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 and MySQL crash

Discussion in 'EasyApache' started by microfx, Aug 1, 2003.

  1. microfx

    microfx Member

    Joined:
    Aug 11, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I have upgraded to Redhat 9 recently and now it appears almost daily that Apache and MySQL crash and eventually get automatically rebooted. The site will just hang for a couple of hours and then I can get back on. This includes ALL services for example SSH. I can't even get on SSH when it does this.

    Does anyone know why it is doing this?

    It was working fine until I have wiped out the computer and installed Redhat 9 and CPANEL again.

    Matt

    cPanel.net Support Ticket Number:
     
  2. microfx

    microfx Member

    Joined:
    Aug 11, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I get lots of these errors also in /var/log/messages:

    Aug 1 16:32:25 server2 kernel: Out of Memory: Killed process 25334 (mysqld).
    Aug 1 16:32:25 server2 kernel: Out of Memory: Killed process 25350 (mysqld).
    Aug 1 16:32:25 server2 kernel: Out of Memory: Killed process 25385 (mysqld).
    Aug 1 16:32:26 server2 kernel: Out of Memory: Killed process 25423 (mysqld).
    Aug 1 16:32:27 server2 kernel: Out of Memory: Killed process 25428 (mysqld).
    Aug 1 16:32:27 server2 kernel: Out of Memory: Killed process 25443 (mysqld).

    cPanel.net Support Ticket Number:
     
  3. Sash

    Sash Well-Known Member

    Joined:
    Feb 18, 2003
    Messages:
    252
    Likes Received:
    0
    Trophy Points:
    16
    Did you upgrade or do a fresh install?

    Mike

    cPanel.net Support Ticket Number:
     
  4. microfx

    microfx Member

    Joined:
    Aug 11, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I did a fresh install of Redhat 9. I just backed up the site and when finised moved it back over.

    Matt

    cPanel.net Support Ticket Number:
     
  5. microfx

    microfx Member

    Joined:
    Aug 11, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I tried recompiling apache and still nothing yet. It should not be a server attack as I have a firewall.

    Matt

    cPanel.net Support Ticket Number:
     
  6. euselect

    euselect Well-Known Member

    Joined:
    Aug 3, 2003
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Hi guys

    From the errors i see in the log, its mysqld thats the issue.
    Not apache support for it ...

    I would check your mysql out , upgrade if neccesary.
    If your box is low on memory , find out whats using it all.
    Use top then shift-M to organise by memory (on redhat linux anyway )

    If its mysql tune mysql to use less.

    see mysql config file my.cnf and www.mysql.com for config details.

    You could also add a new swap file or indeed increase server memory.

    Thats just my 2p from seeing the logs , which are a snippet and not a whole story of course.

    Cheers

    Neil

    cPanel.net Support Ticket Number:
     
  7. microfx

    microfx Member

    Joined:
    Aug 11, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Would mysqld cause the entire system to hang? When this does happen I can't even get in via SSH, FTP, or any other method.

    This only started after I wiped out the server and installed Redhat 9. Before that it was working fine.

    Matt

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page