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.

Howto raise spamd

Discussion in 'General Discussion' started by jameshsi, Oct 12, 2005.

  1. jameshsi

    jameshsi Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Hi!
    I see this:
    Oct 13 09:32:25 spamd[10931]: prefork: server reached --max-clients setting, consider raising it

    How should I do about it ?
     
  2. jameshsi

    jameshsi Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Anyone knows why it said: "server reached --max-clients setting"
     
  3. jameshsi

    jameshsi Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    I saw it again.
    Oct 18 17:41:17 spamd[15447]: prefork: server reached --max-clients setting
    , consider raising it


    I was found this message when I : tail -f /var/log/maillog |grep spam

    If any professional knows hot to raise it or knows why this happen, please reply, appreciated.
     
  4. jameshsi

    jameshsi Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    I noticed that when u type ps ax |grep spamd , you will see :
    /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pid --max-children=5

    it is because in /etc/init.d/exim file there is :
    if [ -x "/usr/bin/spamd" ]; then
    echo -n "Starting spamd: "
    $DAEMONIZE /usr/bin/spamd -d ${local+"--local"} --allowed-ips=${allowedips-127.0.0.1} \
    ${timeouttcp+"--timeout-tcp="}${timeouttcp} ${timeoutchild+"--timeout-child="}${timeoutchild} \
    --pidfile=${pidfile-"/var/run/spamd.pid"} --max-children=${maxchildren=5} \
    ${maxconnperchild+"--max-conn-per-child="}${maxconnperchild}
    echo $RESULT
    fi


    So, should we change this maxchildren=5 to 10 or even bigger bumber ?
     

Share This Page