From: "Paul Russell" <[EMAIL PROTECTED]>
> On Wed, Oct 25, 2000 at 03:15:51PM -0500, David Knaack wrote:
> > From: "David Knaack" <[EMAIL PROTECTED]>
> > > I'm running Tomcat 3.1 with several virtual hosts, and
> > > with Sun's JDK1.2.2 I had no problems.
> > Oops, I should mention that I'm running on RedHat 6.2.
>
> Heh. In which case, don't panic. Linux reports each thread
> as a separate process, when in fact threads in linux are
> incredibly light. Memory also seems to be massivly misreported,
Kind of looks like the threads are reported as using the
same resources as the parent, so each set of 11 related
java threads all report ~12Mb used, (summing to over
130Mb), when the correct figure is actually closer to 12Mb
total?
Interesting, someone ought to fix that.
> Look at the amount of ram *free* on
> the server, if that is low, it might be worth upgrading it...
Well, 'free' reports the following:
<5 tomcats up for ~20 hours, light load>
total used free
Mem: 127908 120840 7068
Swap: 232900 8360 224540
<./tomcat all stop>
Mem: 127908 73488 54420
Swap: 232900 7776 225124
<./tomcat all start>
Mem: 127908 104380 23528
Swap: 232900 7776 225124
<hit each site once>
Mem: 127908 111984 15924
Swap: 232900 7752 225148
So it looks like under normal circumstances I'm running
pretty light on real memory, but next to nothing has
been swapped out. I guess thats good?
Thanks for the assistance!
DK