----- Original Message -----From: BARRAUD ValÚrieSent: Friday, June 01, 2001 9:01 AMSubject: RE: ** JVM and Processes
Thanks for the advice. Could you be a little more specific, though, about
how to use green threads instead of native threads and possibly differences
between the two? Thanks.
At 10:59 AM 6/1/2001 -0400, you wrote:
> Don't use ps - these are actually threads. ps is showing them as
>processes because that is what it does. If you use green thread (as opposed
>to the native threads you are using now), the display will go away, but you
>will experience a slowdown (how much depends on your operating system and
>other activity on the system).
>> -----Original Message-----
>> From: firstname.lastname@example.org [mailto:email@example.com]
>> Sent: Friday, June 01, 2001 10:37 AM
>> To: firstname.lastname@example.org
>> Subject: ** JVM and Processes
>> For a particular web server we are running with Tomcat 3.1,
>> we are having
>> an issue with the java servlets that are running. What appears to be
>> happening is that each time a servlet is called from the web
>> site, a new
>> process is created to run the java program. When I view
>> processes with "ps
>> ax", I see dozens of instances of:
>> It was briefly stated in Java Servlet Programming by Hunter &
>> Crawford, (c)
>> Oreilly that 'most servlet containers execute all servlets in
>> a single JVM
>> ... the exception being high-end containers that support
>> execution across
>> multiple backend servers...'
>> We are only using 1 web server with an average weekly load of
>> a couple of
>> hundred visitors.
>> Any ideas as to why we would be seeing so many identical
>> processes and if
>> so, how to modify that?
>> Thanks in advance.