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.

my server load was increased unexpected because exim

Discussion in 'General Discussion' started by d4nt3w, May 19, 2009.

  1. d4nt3w

    d4nt3w Registered

    Joined:
    May 19, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    our normal load of 1 to 4 tops, was increased recently to 20 or 45. Apparently there is no any attacks but I was forced to replace courier by dovecot, overload is generated by exim most of that.
    I don´t have new users, tomorrow it´s going to be a week since this issue appears.
    Please help, our users are going to make me crazy :confused:
     
  2. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    I'd like to help but you haven't told us anything really about what's happening. We need to know details, like how many emails in the queue, how many going through server, is it all spam etc etc etc ...
     
  3. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    397
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
  4. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    May be you need to look at the nobody processes. Run below command to get the list of running nobody processes:

    ps -auxf | grep nobody

    Please be informed that apache runs as nobody user, so do not confuse about httpd processes. They are legit processes.

    Also, check in /tmp and /home/tmp for the suspicious files.
     
  5. JPC-Shaun

    JPC-Shaun Well-Known Member

    Joined:
    Oct 29, 2008
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    There can be many reasons of high load on the server. First of all try to find out whether the problem is due to high HTTP traffic or some spam/bulk mail activity going on the server. You should look into the exim_main logs the exim mail queue and tail the apache logs , also note the time when the load on the server goes high , there may be some cron job implemented which runs at some specific time and consumes resources. There can be some mysql queries also that are not optimized and consuming resources.
     
  6. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    Also, check apache error logs or access logs. Is any firewall installed on your server. I would recommend to install CSF firewall. We are using it and getting better results.
     
  7. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Actually a more useful command for gauging server performance is the following:

    Code:
    ps -efH | less
    The "H" option sorts processes by which started which, meaning you get a nicely ordered list of processes which is a LOT easier to understand. For instance, you get all the httpd processes in one bunch, with any PHP children attached, etc.
     
  8. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    Ok thanks for providing this information! it's very useful :)
     
  9. d4nt3w

    d4nt3w Registered

    Joined:
    May 19, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Thank you

    You are a great technical support team :)
    Thank you for your helpful information.
     
Loading...

Share This Page