Re: Spamc is slowwww

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 15, 2004 at 10:08:27PM -0700, joe wrote:
> 
>    All:
> 
> 
> 
>    I have a FC2 box running the lastest updates.
> 
> 
> 
>    I'm checking out spamc and I go to test it like so:
> 
>    -------------------------------------
> 
>    [root@luke spamassassin]# time spamc -c <
>    /usr/share/doc/spamassassin-2.63/sample-nonspam.txt
>    0.1/5.0
> 
>    real    0m40.267s
>    user    0m0.001s
>    sys     0m0.005s
>    [root@luke spamassassin]# time spamc -c <
>    /usr/share/doc/spamassassin-2.63/sample-spam.txt
>    1001.4/5.0
> 
>    real    0m20.127s
>    user    0m0.002s
>    sys     0m0.004s
>    [root@luke spamassassin]# ps -fade | grep spam
>    root      2136     1  0 Sep08 ?        00:00:00 /usr/bin/spamd -d -c -a -m5
>    -H
>    ------------------------------------


[ snip ]

 Joe, 
	it's actually how you have spamd running that is taking all the time.  If you run spamd in
local mode it will skip DNS and other network tests and work a lot faster.
You just have to start spamd with the flag -L as such
/usr/bin/spamd -d -c -a -m5 -L





-- 
Gunnar vS Kramm
San Francisco, CA
http://www.thekramms.com

gpg public key: 
http://thekramms.com/keys/gkramm.gpg



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux