[Gllug] Spamassassin (again)
Nix
nix at esperi.org.uk
Wed Nov 19 22:29:23 UTC 2008
On 18 Nov 2008, Adrian McMenamin spake thusly:
> On Mon, 2008-11-17 at 23:20 +0000, Nix wrote:
>> ... but the load average >40 implies that you have dozens of children
>> running. On a box with 1.5Gb RAM that will cause insane swapping: reduce
>> the child count drastically, preferably right back down to the default
>> of 5, and then psuh it up only when it asks you to.
>>
>> How are you starting spamd?
>>
>
> Apologies for not replying earlier - connection problems (not
> spamassassin related!).
>
> I added another 3G of swap space and it has run fine since. The box
> originally had 500MB of memory and 1.5 G of swap. Memory was upgraded to
> 1.5G but swap wasn't increased. But it still ran fine.
I still suspect the problem is that you're starting way too many spamd
children. They're pretty memory-hungry, tens of megabytes per child
even with most of the space shared.
> root at dragoneye:~# free
> total used free shared buffers
> cached
> Mem: 1553192 1511392 41800 0 12232
> 158888
> -/+ buffers/cache: 1340272 212920
> Swap: 4616176 3100056 1516120
Holy crap you're using a lot of swap. You might want to run the
wonderful ps_mem script on that box and see what's using so much
space up (it's *much* more accurate than ps or top).
--
`Not even vi uses vi key bindings for its command line.' --- PdS
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list