Re: many java processes on debian when spawning enhydra

Stefan Armbruster <[email protected]>
Newsgroups gmane.comp.java.enhydra.general
Message-ID <[email protected]>
Hi David,

not speaking especially on Enhydra 5, more generally on Java on Linux...

Quoting a post on some other mailinglist 
"I think what you're looking for is the difference between green threads
and
native threads. If you search for this it java.sun.com you should be able to
find all about it. In short it boils down to mapping Java threads to native
OS threads or emulating threads inside the Java VM (=green threads). Both
have their advantages and disadvantages. For example, if I recall correctly,
green threads perform better because there is no need for context switching
at kernel level; however, you need to treat green threads as cooperative
instead of pre-emptive multi-threading, so you need to use Thread.yield() or
sleep() or do I/O, for example"

30 threads is fine. I'm running Tomcat with ~20 Applications deployed
makeing a total of ~200 threads.

Regards,
Stefan

Am Mon, 2003-07-21 um 18.46 schrieb David Young:
> I'm getting at least 30 spawned Java processes when I
> startup enhydra5.1 on our debian box.  Is this normal?
>  If not, any suggestions?
> 
> thanks,
> David
> _______________________________________________
> Enhydra mailing list
> [email protected]
> http://www.enhydra.org/mailman/listinfo.cgi/enhydra
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.