evolution/spamd childs/memory

mmealman ulist at gs1.ubuntuforums.org
Tue Mar 1 17:13:48 UTC 2005


Maximilian Gerlach Wrote: 
> Hi,
> does anybody know why evolution always has 5 spamd childs running
> which
> each take about 30mb of ram? This brings evolution to over 100mb of
> ram.
> 

Linux ram use doesn't quite work like that. For example, I have a web
server and at points I'll be running 150 apache processes which each
being anywhere from 10 to 30 megs in size. And with 2 gigs of physical
ram on the server, I'll still be running with about a gig free.

Linux stores the memory in small pages and duplicate pages are shared
between applications. So really, your first spamd process is using 30
megs while the other ones are using parts of the same 30 megs of ram
since they'll have a lot of identical memory pages.

But if you edit your /etc/init.d/spamassassin and add --max-children=1
to the DOPTIONS line it'll restrict spamd to running only 1 instance.


-- 
mmealman




More information about the ubuntu-users mailing list