Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Member sibinkc's Avatar
    Join Date
    Sep 2006
    Posts
    11

    Default Solutions for the ongoing spamd load issue

    Hi,

    We can use the following steps to resolve the load issue on a cPanel box due to the spamd processes.


    1. Edit the /etc/mail/spamassassin/local.cf file

    vi /etc/mail/spamassassin/local.cf

    then add the following lines to it

    a) use_bayes 0 (this will disable some spamassassin functionalities)
    b) lock_method flock


    (Uncomment these options, if they are commented)


    2) run scripts2/autofixer/spamd_dbm_fix

    a) Log into WHM and use another URL as "http://your server IP:2086//scripts2/autofixer" - then type the script name "spamd_dbm_fix" and run

    b) You can also do the same from the server back end as follows.

    #wget http://httpupdate.cpanel.net/autofixer/spamd_dbm_fix
    # chmod 755 spamd_dbm_fix
    # ./spamd_dbm_fix



    3) Run the following lines of codes

    # rm -f /home/*/.spamassassin/__db.bayes_toks.new
    # rm -f /home/*/.spamassassin/*.lock


    NOTE : If the load issue is related to a particular user then there is no need for running this, you can simply enter into the '.spamassassin/' directory for that user and delete the files '__db.bayes_toks.new' and *.lock.



    4) Restart spam assassin (restart Exim)

    # /scripts/restartsrv_exim


    Hope this will help you in such a situation.



    Regards,
    Sibin
    Last edited by sibinkc; 08-29-2007 at 08:44 PM.

Similar Threads & Tags
Similar threads

  1. Spamd Hangs with 100% CPU Load
    By a.sheipani in forum E-mail Discussions
    Replies: 4
    Last Post: 05-03-2008, 03:53 PM
  2. spamd causes too much load... can it be run elsewhere?
    By jnetsurfer in forum E-mail Discussions
    Replies: 6
    Last Post: 11-06-2007, 07:24 AM
  3. Load Balancing Solutions
    By sarhosting in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-03-2007, 05:38 PM
  4. SPAMd / EXIM fails frequently... Any solutions?
    By ramcjbin in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-13-2006, 10:40 PM
  5. ongoing FTP Issue...?
    By liquidcherry in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-30-2004, 04:06 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube