ulist at gs1.ubuntuforums.org
Tue Mar 1 17:16:50 UTC 2005
> 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.
Actually, my bad. Edit /etc/default/spamassassin instead.
More information about the ubuntu-users