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.

set up rule if server goes to 75 to stop automatically exim?

Discussion in 'E-mail Discussions' started by audrey, Jul 10, 2014.

  1. audrey

    audrey Well-Known Member

    Joined:
    Oct 18, 2006
    Messages:
    72
    Likes Received:
    1
    Trophy Points:
    8
    Hi

    My servers are getting hammered by exim attacks.

    Here is what happens:
    Thousands of people are connecting to exim all at once-
    but each IP shows up only once in netstat and I can't all the IPs

    I was wondering if there is a way to set up
    some kind of server rule in cpanel or in CSF
    so that when the CPU on a server goes up to goes to 75
    the server automatically shuts down exim?

    Any other ideas to solve this issue?

    Thanks
    Audrey
     
  2. iserversupport

    iserversupport Well-Known Member

    Joined:
    Nov 4, 2013
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    You can set the limit by tweaking the variable deliver_queue_load_max

    I think you should find the root case than setting the load limit for exim
     
  3. audrey

    audrey Well-Known Member

    Joined:
    Oct 18, 2006
    Messages:
    72
    Likes Received:
    1
    Trophy Points:
    8
    Thanks a ton for your suggestion.
    It sounds like a great idea:)
    I will try it now.

    Take Care
    Audrey
     
  4. audrey

    audrey Well-Known Member

    Joined:
    Oct 18, 2006
    Messages:
    72
    Likes Received:
    1
    Trophy Points:
    8
    Hi

    for this setting
    deliver_queue_load_max
    it was set to 36
    I changed it to 20

    for this setting
    queue_only_load
    was set to 72
    I set to 30

    The reason that I want exim to stop automatically is
    to immediately drop the server load
    before the attack takes down the server.
    (this works great if I stop exim manually-
    but-I can't watch the server loads on the servers 24/7)

    I am happy with changing the above settings-
    but-
    I am concerned that it is not going to solve the high load issue.
    Any ideas on this?

    Thanks again
    Audrey
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  6. audrey

    audrey Well-Known Member

    Joined:
    Oct 18, 2006
    Messages:
    72
    Likes Received:
    1
    Trophy Points:
    8
    HI

    Thanks for the link.

    Thanks for your help

    Take Care
    Audrey
     
Loading...

Share This Page