Kyle R . Burton on Thu, 8 Aug 2002 09:30:24 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] tomcat4 on linux


> > Threads show up as processes in linux.
> > 
> > Why on earth would you run java on a low memory machine? Its going to 
> > suck. If its educational for you to learn in or something, set 
> > maxprocesses to 1 or something and maybe you'll be ok.
> > 
> Agreed.
> 
> Depending on which JVM you are using, the -Xmx switch could be
> available which limits the size of the memory pool used.

I've also had some better success with IBM's VM.  I think they're still
at version 1.3, but 1.4 looks like it's in beta on AIX.  I've found
that it's faster than the Sun VM, though I don't know about the
memory usage.

  http://www.ibm.com/java/

Even though you set the max processes to a low number, there are still
alot of extraneous support threads that are probably running in the 
background.  Stuff like the garbage collection thread, and several 
support threads for Tomcat itself -- it would be intresting to set
the max processes to 1 and see how many threads got started anyway.


Kyle

-- 

------------------------------------------------------------------------------
Wisdom and Compassion are inseparable.
        -- Christmas Humphreys
mortis@voicenet.com                            http://www.voicenet.com/~mortis
------------------------------------------------------------------------------
_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug