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.

High Memory usage - Stable 9.9.2-S8

Discussion in 'General Discussion' started by fmalekpour, Oct 20, 2004.

  1. fmalekpour

    fmalekpour Well-Known Member
    PartnerNOC

    Joined:
    Dec 4, 2002
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    As of latest update (3-4 days ago) I have high memory usage on all servers, Wondering if anybody else facing this problem?
     
  2. tekdns

    tekdns Well-Known Member

    Joined:
    Jun 9, 2002
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Yes, same for me.
     
  3. minotauro

    minotauro Well-Known Member

    Joined:
    Jan 19, 2004
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    6
    Hello fmlakpour.

    Yes to me. If you have ay information, please, keep me update.

    Regards,
    Minotauro.
     
  4. Myacen

    Myacen Well-Known Member

    Joined:
    Apr 6, 2002
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Same problem, I believe it's spamassassin.
     
  5. CoolMike

    CoolMike Well-Known Member

    Joined:
    Sep 6, 2001
    Messages:
    307
    Likes Received:
    0
    Trophy Points:
    16
    Yes, also here, but I'm not able to see what's using the resources.

    Mike
     
  6. fmalekpour

    fmalekpour Well-Known Member
    PartnerNOC

    Joined:
    Dec 4, 2002
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    Unbelievable! You need to restart the server after that upgrade. I did that last night and now after 12 hours non of the servers uses more than 25% of system resources which is good.

    F.Malekpour
     
  7. minotauro

    minotauro Well-Known Member

    Joined:
    Jan 19, 2004
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    6
    Hello Myacen,

    No, because i don't use SpamAssassin and have this same problem. I send many emails to cPanel Support but no receive any reply (and i see this problem no ocurring only with me).

    Regards,
    Minotauro.
     
  8. minotauro

    minotauro Well-Known Member

    Joined:
    Jan 19, 2004
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    Maybe i detect the problem to cause high memory usage after cPanel upgrade to Stable 9.9.2-S8: antirelayd. Why? Look it:

    10/20:
    root 30.34 7.23 2.0
    Top Process %CPU 61.3 antirelayd
    Top Process %CPU 61.2 antirelayd
    Top Process %CPU 61.1 antirelayd

    10/19:
    root 32.88 10.31 2.0
    Top Process %CPU 62.1 antirelayd
    Top Process %CPU 62.0 antirelayd
    Top Process %CPU 61.8 antirelayd

    10/18:
    root 9.23 8.21 2.0
    Top Process %CPU 42.0 /usr/sbin/exim -MCS -MCP -MC remote_smtp mx.terra.com.br 200.154.55.2 2 1CJdSH-00079G-6A
    Top Process %CPU 26.8 antirelayd
    Top Process %CPU 26.4 antirelayd

    10/17:
    root 7.45 10.59 2.0
    Top Process %CPU 13.0 /usr/sbin/exim -q
    Top Process %CPU 8.1 /usr/sbin/exim -q
    Top Process %CPU 8.0 [pkgacct ]

    10/16:
    root 8.75 9.23 2.0
    Top Process %CPU 56.0 /usr/local/cpanel/whostmgr/bin/whostmgr2 ./listaccts
    Top Process %CPU 25.0 /usr/sbin/exim -q
    Top Process %CPU 24.0 /usr/sbin/exim -Mc 1CIqBz-000627-2w

    10/15:
    root 5.06 14.89 2.0
    Top Process %CPU 8.0 /usr/sbin/exim -Mc 1CGoSg-000345-HJ
    Top Process %CPU 5.0 /usr/sbin/exim -q
    Top Process %CPU 4.0 /usr/sbin/exim -q

    Because this i believe the problem is antirelayd. Now the big problem: how to fix it?

    Regards,
    Minotauro.
     
  9. minotauro

    minotauro Well-Known Member

    Joined:
    Jan 19, 2004
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    6
    FIXED - antirelayd (etc/syslog.conf)

    Hello All,

    To fix the problem, edit /etc/syslog.conf and remove ALL last lines equal "local0.notice;local0.debug;mail.*;mail.none;mail.info;local0.info
    /var/log/maillog":

    > Hello,
    >
    > I fixed an error in /etc/syslog.conf that was causing multiple duplicate
    > entries in /var/log/maillog which antirelayd reads from. After removing them
    > and restarting syslogd and antirelayd it's using far less CPU resources.
    >
    > Thank you.
    > --
    > Kyle Pinkley
    > Technical Support Representative
    > cPanel, Inc.

    Very thanks Kyle (cPanel Support) by help and patince to find the problem! :)

    Regards,
    Minotauro.
     
  10. pcdior

    pcdior Active Member

    Joined:
    Aug 1, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Do you mean to remove this entire line from the file?

    # Log all the mail messages in one place.
    local0.notice;local0.debug;mail.*;mail.none;mail.info;local0.info /var/log/maillog


    So just delete the above from the /etc/syslog.conf?
     
  11. claudio

    claudio Well-Known Member

    Joined:
    Jul 31, 2004
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    yep

    yes do it restart your server memory will get back normal

    nowadays i am pretty concerned about the cpu overload after this "security" update

    its certainly an issue and many are ignoring it...

    well show must go on

    good luck

    Claudio
     
  12. pcdior

    pcdior Active Member

    Joined:
    Aug 1, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Thanks Claudio! ;)
     
Loading...

Share This Page