qmailtoaster-list  

[qmailtoaster] Re: Memory dan Email stats

Eric Shubert
Fri, 05 Feb 2010 08:32:31 -0800

PakOgah wrote:
Dear List,

Can everyone share their
- Server Memory Capacity
- Top 5 Processes that use memory
- and Email statistics?

Here mine
- My server memory is 2GB and I have only free memory less than  50MB
- Top 5 processes that use memory are
1. clamd 200M
2 - 4 spamd each with 80M
and 5 is httpd with 20M
3. My email statistic can be viewed at http://pixcool.biz/images/qmailstats.png

The reason why I am asking them, because I want to know does my memory usage is normal for such load/email activity? I have try to optimize spamd,clamd, httpd but the result is not significantly reducing memory usage. If my memory usage is normal then I will request memory upgrade to my manager.

Thanks

---------------------------------------------------------------------------------

Because of the way linux uses memory for caching files, it will look as though you don't have much free memory regardless of how much you have (linux uses what you give it, quite smartly). Use of swap is a better indicator of need for more ram, as is a small cache size. Using some swap on a toaster isn't necessarily a cause for concern.

I expect you probably don't need more ram. Are you using spamdyke? If not, you should be. It will reduce the load on your machine considerably. The biggest users of resources on QMT are spamassassin and clamav. Spamdyke rejects 80+% of spam before it's even transmitted, which means it's never scanned or delivered either. It's a huge savings.

Next biggest performance gain can be made by following Jake's video that puts simscan working files in a tmpfs (ram) rather than writing and reading them from disk. This shortens scanning time considerably and relieves contention on i/o.

Once you've done those 2 things, please report back your results. If your QMT is still under heavy load (BTW, what are your load figures typically like during the day?), then you'll need to look at some upscaling alternatives.

--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com