I don't know if this is the case with RH7 (I run Mandrake & Debian), but
realize the kernels after 2.2 report each thread in a multi-threaded process
as a separate process. So if you're running a program such as Apache, and
it spawns 10 or 15 threads, it will look like Apache is consuming 10-15x as
much memory as it actually is.
My machine currently claims to be consuming 750+ MB (only has 192MB physical
and 384 virtual). I'm running Apache (15 threads, I think) and Tomcat
(another 15 threads running Java, with each reporting as consuming
30+MB!!!). Now, if only we can convince Linus that threads are important
and useful, perhaps we'll get better threading support in the 2.6 kernel.
-dan
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Brian Smith
Sent: Thursday, March 08, 2001 10:29 AM
To: [EMAIL PROTECTED]
Subject: [scottish] RH 7.0 memory hog?
Hi,
I've noticed that on the machines I've set up with RH7.0 a huge
chunk of the memory is blown (like 100Mb as reported by free or top)
before I start doing anything - even before I start X. Is this 'cos the
stock kernel has too much extra compiled in or should I be looking
elsewhere? No processes reported by ps seems to be all that huge - are
there any prettier tools I can use analyse memory usage (à la IRIX
gmemusage)? Any pointers appreciated.
Brian
Dr. Brian O. Smith ----------------------- [EMAIL PROTECTED]
Institute of Cell and Molecular Biology, University of Edinburgh,
King's Buildings, Edinburgh EH9 3JR, UK.
Tel: 0131 650 7051/7045/4704 Fax: 0131 650 7055
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------