Thanks for all the Information,
i don't want to change it in green Threads, I would only knew what's goining on
with these Threads , and know I have these Information, thanks a lot !

Greetings,
Wolle

Craig O'Brien wrote:

> I do not know why you would want to do this other then for testing but --
> change your startup script for tomcat to include the option java -classic
> ....  and you will be using green threads.  Be aware that it is now easier
> to create a deadlock situation. I believe that it would be a big mistake to
> deploy a system with green threads.  My system incorrectly reports that I am
> using 217 meg of ram but that is incorrect, It is actually using 74 meg of
> ram.(with tomcat running) Use gps for a more accurate reading. Pushing the
> server hard during testing does not increase the ram used significantly.
> (cpu usage reflects as you would expect)
>
> All those processes that you are seeing are simply sleeping threads.  They
> are NOT using any resources and are being incorrectly reported as consuming
> processes.  This is the very compelling reason that you would want to use
> java in the first place. Native multi-threading. You have a thread pool
> ready to respond without the overhead of creating new processes on demand.
>
> Good luck,
> Craig
>
> Let us know what you find out.
>
> -----Original Message-----
> From: Wolle [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2001 4:30 AM
> To: [EMAIL PROTECTED]
> Subject: Re: to many tomcat processes!! AAH!!
>
> Hei,
> i use JDK 1.3
>
> Saurabh Shukla wrote:
>
> > which JDK are you using ?
> >
> > Shuklix
> >
> > -----Original Message-----
> > From: Georges Boutros [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 18, 2001 1:34 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: to many tomcat processes!! AAH!!
> >
> > does anyone know how can i force java to use green threads?
> >
> > thanks
> >
> > -----Original Message-----
> > From: Ansgar W. Konermann [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, April 12, 2001 8:31 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: to many tomcat processes!! AAH!!
> >
> > Hi,
> >
> > maybe the many processes are because jdk1.2 and up use native threads
> > (AFAIK, 1.1 used "green" threads, i. e. a threading package implemented
> > in java itself).
> >
> > With 1.2+, every java thread is a native OS thread and therefor gets
> > listed by ps. Have you tried forcing java to use green threads? I'm
> > quite sure that it is possible (RTFM).
> >
> > --
> > Best regards,
> >
> > Ansgar W. Konermann
> > eMail: [EMAIL PROTECTED]
> >
> > --- Hello, I am a message footer. -------------------------------------

Reply via email to