When the memory usage spikes up on a spamd child, it does so on a single
message; from 36K or so up to 250M.  That one message shows up in my
logs taking a _long_ time:

Oct  4 18:46:06 devilrock spamd[1800]: identified spam (12.8/5.0) for xxxx:500 
in 165.3 seconds, 1490 bytes. 

Most of the spams are identified in 2-4 seconds.

I decided to watch my logs for one of these to come by, and save out the
message.

But that was really useless.  The message itself doesn't trigger the
memory spike.  In this case the triggering message was a simple little
random spam, with a few random words thrown in.  Repeat runs through
spamc give a two second result and no memory spike.

So something else is causing the memory spike.  Something to do with
bayes db maintenance perhaps?

Best regards,
Mojo

On Sat, 2 Oct 2004, Morris Jones wrote:

> Yesterday I commented that I was seeing spamd children eating a lot of
> memory, pushing the machine into swap.  I've been keeping an eye on
> the spamd children this morning.
> 
> Overnight, all five children were using around 4 meg.  This morning
> sometime, one spamd child shot up to 250M:
> 
> Mem:   513948K av,  504660K used,    9288K free,       0K shrd,   15532K buff
> Swap: 1052216K av,  263780K used,  788436K free                   68408K 
> cached
> 
>   PID  PPID USER      SIZE STAT %CPU %MEM COMMAND
>  1537 15624 root      250M S     0.0 44.5 spamd child                         
>     
> 25394 15624 root     40056 S     0.0  6.1 spamd child                         
>     
>  1432 15624 root     38932 S     0.0  6.0 spamd child                         
>     
>  1241 15624 root     38768 S     0.0  6.0 spamd child                         
>     
>  1754 15624 root     39308 S     0.0  6.0 spamd child                         
>     
> 
> Yesterday afternoon when I killed and restarted spamd, they were all using
> about that much.
> 
> Mojo
> 

-- 
Morris Jones         <*>
Monrovia, CA
[EMAIL PROTECTED]
http://www.whiteoaks.com

Reply via email to