>From "JavaTM Technology on the Linux Platform A Guide to Getting Started" at
http://developer.java.sun.com/developer/technicalArticles/Programming/linux/
...
"In Java 2 Release 1.3, the Hotspot virtual machine uses system threads to
implement Java threads. Because Linux threads are implemented as a cloned
process, each Java thread shows up in the process table if you run the ps
command. This is normal behavior on Linux."
So 300+ bean in 300+ jars maps to 300+ containers is 600+ process table
entries in Linux.
Wayne Stidolph
-----Original Message-----
From: Philippe Durieux
Joe Weder wrote:
>
> I am evaluating JOnAS 2.3 on Linux using Sun's JDK 1.3.
>
> We have (already developed using Weblogic 5.1) 300+ beans; entity and
> session. I was just now able to get all of them deployed and ran our
client
> application. To my surprise, I think JOnAS is performing very well
compared
> to Weblogic.
>
> However, when the server is started and all the beans are deployed, I see
> 706 processes! Our server is maxed out.
>
> I deploy one bean per jar. This makes it convenient to manage several
> developers. Can anyone confirm that each bean/jar requires a process? If I
> deploy the 300+ beans into a few jars (lets say 30 jars) would I see a
> significant decrease in the number of processes. My belief is that the
large
> amount of processes is causing the OS a great deal of pain - it is
> essentially unable to handle anything else when the JOnAS Server is
running
> with all my beans.
No. You have only 1 process (EJBServer) for all your beans. Each jar/xml
file
is deployed in a separate container, and each container comes with 2
additional
threads, but all run in the same JVM.
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".