I think this is a problem of Java1.3 on Linux
see
http://developer.java.sun.com/developer/technicalArticles/Programming/linux/
chapter "About Linux Threads" for details
Max
> -----Original Message-----
> From: Philippe Durieux [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 01, 2001 2:12 PM
> To: Joe Weder
> Cc: jonas-users
> Subject: Re: Linux - lots of processes
>
>
> Joe Weder wrote:
> >
> > Philippe,
> >
> > >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.
> >
> > Well, if I type 'ps -ef' there are many lines for JOnAS. I
> do 'ps -ef | grep
> > jonas | wc' which gives me the word count on UID 'jonas' in
> the process list
> > and there are 706. I can't even run 'top'... it halts with
> a help message:
> > "Help! Too many processes!". How do you explain this?
> >
> > Also, could you comment on combining many beans into one
> jar; thats standard
> > practice right? I'm not going to create serious blocking
> situations by
> > having fewer containers am I?
> >
> > Thanks,
> >
> I need more info, because we cannot reproduce here your problem.
> How many time do you run EJBServer ? (you should run it once!).
> How do you tell EJBServer which bean to load ? (you can use
> jonas.properties
> or load them via JonasAdmin -a) You can load many ejb-jar in
> the same EJBServer
> without any problem, by using JonasAdmin -a several times, or
> by giving a list
> in the jonas.beans.descriptors property.
> Anyway, you can combine many beans in a single xml: you will
> have a container per xml.
> But you cannot have more than one xml file in each jar file,
> because the name is
> unique: META-INF/ejb-jar.xml (EJB specification)
> Good luck.
>
> > -----Original Message-----
> > From: Philippe Durieux <[EMAIL PROTECTED]>
> > To: Joe Weder <[EMAIL PROTECTED]>
> > Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > Date: Friday, June 01, 2001 3:18 AM
> > Subject: Re: Linux - lots of processes
> >
> > >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.
> > >>
> > >> Any suggestions would be greatly appreciated.
> > >>
> > >> PS: I gotta say that despite this problem JOnAS has been
> the easiest
> > >> app-server to evaluate. I took me just a few days to get
> to this point. I
> > >> struggled with Weblogic and JRun. I really hope that
> JOnAS works out.
> > Looks
> > >> great so far... my complements to all.
> > >>
> > >> Thanks,
> > >>
> > >> Joe Weder
> > >> Software Engineer
> > >> Intelligent Computer Systems
> > >> [EMAIL PROTECTED]
> > >> 717.295.7977 x614
> > >>
> > >> ----
> > >> 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".
> > >
> > >--
> > >Philippe Durieux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > >Bull - 1 rue de Provence - 38432 Echirolles Cedex France
> > >[EMAIL PROTECTED]
> > >-> Download our EJBServer at http://www.evidian.com/ejb <-
> > >
>
> --
> Philippe Durieux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Bull - 1 rue de Provence - 38432 Echirolles Cedex France
> [EMAIL PROTECTED]
> -> Download our EJBServer at http://www.evidian.com/ejb <-
> ----
> 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".
>
----
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".