Sandy Drobic wrote:
Per Jessen wrote: [snip]
Well, I've now reinstalled the same servers with 32bit openSUSE 11.0, and saw a significant reduction in memory usage. The only difference here is in software, the config is exactly the same. A postfix smtpd daemon now has a memory footprint of virt=5M, res=3M, a lot less than 27M/5M.
[snip]
It's all those libraries that are linked. Try to look at the processes with pmap. It looks as if your entire memory is filled up but shared libraries are the reason that only a part of the memory in the ps output is actually used. The rest is shared libraries that all daemons are sharing, which is only loaded once but ps doesn't care about that, it attributes each process the memory consumption of a shared library.
Hmm, interesting - I wasn't aware of ps working like that.
In your case with hundreds of daemons all sharing libraries the real memory consumption should be much less than the output of ps might make you assume.
Yes it is - a typical system with e.g 300 smtpd daemons would - according to ps/top - consume 300x 27M virtual space in 64bit mode, which is around 8Gb, but the system doesn't have enough physical+virtual memory for that. /Per -- /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org