Why Do i face the same prob

Discussion in 'Site & Server Administration' started by Algore, Jan 4, 2010.

  1. #1
    Why Do i face the same problem again and again

    I dont even know why this happens .. please see the pic below

    [​IMG]

    Can anyone please tell me what is happening to mysql and httpd here

    I basically use a forum ( ipb ) and an imagehost with decent traffic

    The server specs are Intel i7 Quad core

    Why do i see too many mysql processes
     
    Algore, Jan 4, 2010 IP
  2. hostwebdata

    hostwebdata Peon

    Messages:
    264
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    are you on a shared hosting ? or a your own server ?
     
    hostwebdata, Jan 4, 2010 IP
  3. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #3
    That looks like a DirectAdmin box, and from what I recall, each user will spawn a process when needed, so, if you have many accounts on the server, and each user uses MySQL, you would have a large number of PIDs for it.
     
    RHS-Chris, Jan 4, 2010 IP
  4. Algore

    Algore Peon

    Messages:
    963
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes its Direct Admin ...

    Its my dedi server i have turned it into VPS and am using it ..

    Is there a way to minimize the mysql thing so that the site's dont do down
     
    Algore, Jan 5, 2010 IP
  5. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #5
    You could optimize your Apache and MySQL configurations so that they perform better, which will lessen the loads.
     
    RHS-Chris, Jan 5, 2010 IP
  6. Algore

    Algore Peon

    Messages:
    963
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Can u tell me the steps .., How to do it
     
    Algore, Jan 5, 2010 IP
  7. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #7
    There are many things you can do, and its not the same for each server. You can install things like mod_deflate to help reduce the amount of data your server sends out. I use scripts like mysql tuning primer and mysqlreport to fine tune how the mysql server runs. Depending on your Apache installation, you would fine tune parameters such as your start servers, min spare and max spare values.

    If you are comfortable doing these types of things, then Google is your friend. If not, I would suggest you hire a third party.
     
    RHS-Chris, Jan 5, 2010 IP
    Algore likes this.