Is this true even on RedHat Linux 9 and RHEL 3, which use NPTL (native posix thread library)? Tomcat shows up as 1 thread with top, and if I remember correctly, prior to RHL 9, it showed up as multiple threads.
Mike On Fri, 2004-03-19 at 15:23, Shapira, Yoav wrote: > Hi, > Top on linux shows java threads as OS-level processes, which is wrong. > > Yoav Shapira > Millennium Research Informatics > > > >-----Original Message----- > >From: software [mailto:[EMAIL PROTECTED] > >Sent: Friday, March 19, 2004 3:15 PM > >To: Tomcat Users List > >Subject: Re: Problem with the memory of the tomcat > >Importance: High > > > >Every thread that these application open use share the total memory > that > >specified in this parameters, beacuse i have tomcat 4.0.3 installed in > >a linux server and i can see when i only start the tomcat without load > >any application i can see a main process with 16 threads i've > specified > >Xms128MB and i have a server with a 1 GB of RAM...what do you recomend > me > > > >Thanks a lot > > > >Fabian > > > >Shapira, Yoav wrote: > > > >>Hi, > >>The -Xms and -Xmx parameters control the JVM heap size. The JVM heap > is > >>shared by all applications/processes within the JVM. So all 7 of your > >>web applications are sharing this memory. > >> > >>Yoav Shapira > >>Millennium Research Informatics > >> > >> > >> > >> > >>>-----Original Message----- > >>>From: software [mailto:[EMAIL PROTECTED] > >>>Sent: Friday, March 19, 2004 3:05 PM > >>>To: Tomcat Users List > >>>Subject: Problem with the memory of the tomcat > >>>Importance: High > >>> > >>>Hi, i have 7 application in our tomcat, sometimes i can see that the > >>> > >>> > >>web > >> > >> > >>>access to the applications is very slowly and sometimes we can not to > >>>get access to these applications, the cuestion is whe i start the > >>> > >>> > >>tomcat > >> > >> > >>>and i've configured the Xms, Xmx parameter in catalina.sh the > >>>application are using every one the memory that i specified in this > >>>file (i mean this the total memory for the every application and its > >>>threads that it generate) or is for every thread use this size of > >>> > >>> > >>memory > >> > >> > >>>individually > >>> > >>>Thanks a lot for you help > >>> > >>>Fabian > >>> > >>> > >>> > >>>--------------------------------------------------------------------- > >>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >> > >> > >> > >> > >>This e-mail, including any attachments, is a confidential business > >communication, and may contain information that is confidential, > >proprietary and/or privileged. This e-mail is intended only for the > >individual(s) to whom it is addressed, and may not be saved, copied, > >printed, disclosed or used by anyone else. If you are not the(an) > intended > >recipient, please immediately delete this e-mail from your computer > system > >and notify the sender. Thank you. > >> > >> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > >> > > > > This e-mail, including any attachments, is a confidential business communication, > and may contain information that is confidential, proprietary and/or privileged. > This e-mail is intended only for the individual(s) to whom it is addressed, and may > not be saved, copied, printed, disclosed or used by anyone else. If you are not > the(an) intended recipient, please immediately delete this e-mail from your computer > system and notify the sender. Thank you. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
