RE: Many java-processes left after shutdown.sh
Dear Philipp Since your question is regarding tomcat on linux, so I thought it best to put my question to you as well. I have downloaded the rpm file for the SDK or jdk 1.4. When I see the file on linux machine, I see ___.rpm.bin How do I install it ? Any suggestions ? Zille Hassan [EMAIL PROTECTED] United Matbouli Group 1st Floor, Matbouli Plaza PO Box556 Jeddah 21421 Kingdom of Saudi Arabia tel: +966 2 6512111 Ext:1901 fax: +966 2 6571171 -Original Message- From: Philipp Leusmann [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 2:23 PM To: [EMAIL PROTECTED] Subject: Many java-processes left after shutdown.sh Hello, when I stop tomcat using shutdown.sh there are still many tomcat-processes running in linux. Is this normal or do I have a configuration problem (contexts are not closed properly)? I use a connection pool to a Mysql-database in my application (BasicDatasourceFactory). Do I have to close these connections somehow manually? Thanks, Philipp - 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]
RE: Many java-processes left after shutdown.sh
Howdy, Since your question is regarding tomcat on linux, so I thought it best to put my question to you as well. I have downloaded the rpm file for the SDK or jdk 1.4. When I see the file on linux machine, I see ___.rpm.bin How do I install it ? Any suggestions ? Bad idea: start another thread for your question, don't hijack someone else's. Yoav Shapira 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]
RE: Many java-processes left after shutdown.sh
Howdy, when I stop tomcat using shutdown.sh there are still many tomcat-processes running in linux. Is this normal or do I have a configuration problem (contexts are not closed properly)? I use a connection pool to a Mysql-database in my application (BasicDatasourceFactory). Do I have to close these connections somehow manually? There are non-daemon background threads for MySQL. Ensure proper shutdown of the connection pool/driver. Use CTRL-Break to see what threads are doing in the JVM. Search the archives for this list as this question has come up and been answered a few times, including two weeks ago. Yoav Shapira 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]
RE: Many java-processes left after shutdown.sh
Howdy, Search the list archives on AIMS for shutdown thread daemon and you'll see many threads with this information. Read the VM documentation on using CTRL-BREAK (or SIGQUIT) to get a thread dump. This will show you what the lingering processes are, so you can kill them. Yoav Shapira Millennium ChemInformatics -Original Message- From: Philipp Leusmann [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 3:37 PM To: Tomcat Users List Subject: AW: Many java-processes left after shutdown.sh Hi, thanks for your answer first. I think i?ve removed the database now, but I still have a similiar problem with a mailsession to an imap-server I create in ContextListener.contextInitialized(). I put this session into the servlet-cotext to easily write mails or provide mailbox-creation during runtime. I also remove the session in contextDestroyed(), but still there are java-processes. What do you mean with Use CTRL-break? I am sorry that I ask again here, but I couldn?t find a thread which exactly describes my problem. ( There was one about daemon/non-daemon-threads which was not very helpful. Did you mean that one? If not, it would be great if you could give me the subject of the thread. Thanks, Philipp -Ursprungliche Nachricht- Von: Shapira, Yoav [mailto:[EMAIL PROTECTED] Gesendet: Montag, 4. August 2003 15:18 An: Tomcat Users List Betreff: RE: Many java-processes left after shutdown.sh Howdy, when I stop tomcat using shutdown.sh there are still many tomcat-processes running in linux. Is this normal or do I have a configuration problem (contexts are not closed properly)? I use a connection pool to a Mysql-database in my application (BasicDatasourceFactory). Do I have to close these connections somehow manually? There are non-daemon background threads for MySQL. Ensure proper shutdown of the connection pool/driver. Use CTRL-Break to see what threads are doing in the JVM. Search the archives for this list as this question has come up and been answered a few times, including two weeks ago. Yoav Shapira 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] 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]
RE : many java processes
Hi! I think that this is because threads are represented like processes under Linux. Best regards, Kovi At 18:25 22.3.2002 +0100, you wrote: I am running Tomcat 4.0.3 with j2sdk1.4.0, Apache 1.3 with a webapp connector on a Cobalt Raq4 server (kernel 2.2.16C28_III). I don't understand there is so many java processes (more than 130). There is 8 sites that include a web application. Here is parts of my configuration files : Server port=8005 shutdown=SHUTDOWN debug=0 Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=10 enableLookups=true appBase=webapps acceptCount=10 debug=debug/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.log timestamp=true/ Realm className=org.apache.catalina.realm.MemoryRealm / Host name=www.site1.com Context path= docBase=/home/sites/www.site1.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site1.com. suffix=.log timestamp=true / /Host Host name=www.site2.com Context path= docBase=/home/sites/www.site2.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site2.com. suffix=.log timestamp=true / /Host Host name=www.site3.com Context path= docBase=/home/sites/www.site3.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site3.com. suffix=.log timestamp=true / /Host Host name=www.site4.com Context path= docBase=/home/sites/www.site4.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site4.com. suffix=.log timestamp=true / /Host Host name=www.site5.com Context path= docBase=/home/sites/www.site5.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site5.com. suffix=.log timestamp=true / /Host Host name=www.site6.com Context path= docBase=/home/sites/www.site6.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site6.com. suffix=.log timestamp=true / /Host Host name=www.site7.com Context path= docBase=/home/sites/www.site7.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site7.com. suffix=.log timestamp=true / /Host Host name=www.site8.com Context path= docBase=/home/sites/www.site8.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site8.com. suffix=.log timestamp=true / /Host /Engine /Service /Server Thanks for helping Regards Vince -Message d'origine- De : Dean Hiller [mailto:[EMAIL PROTECTED]] Envoye : jeudi 21 mars 2002 15:38 A : [EMAIL PROTECTED] Objet : many java processes On linux did anybody ever get a linux patch for fixing the problem of one process per java thread. I read on the sun bug parade they were going to port to a new threading model but we needed to update the linux threading I have seen many e-mails complaining about how tomcat creates s many processes and this is due to a JVM thing not tomcat. Does anybody know or is everyone just sitting by with many many java processes on their linux? Any help, pointers you could give me would be great, thanks, Dean -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE : RE : many java processes
I know that but my question is why do i have so many thread. I set up my configuration with 10 maxProcessor so I should have 10 java threads. -Message d'origine- De : Gregor Kovae [mailto:[EMAIL PROTECTED]] Envoye : vendredi 22 mars 2002 19:00 A : Tomcat Users List Objet : RE : many java processes Hi! I think that this is because threads are represented like processes under Linux. Best regards, Kovi At 18:25 22.3.2002 +0100, you wrote: I am running Tomcat 4.0.3 with j2sdk1.4.0, Apache 1.3 with a webapp connector on a Cobalt Raq4 server (kernel 2.2.16C28_III). I don't understand there is so many java processes (more than 130). There is 8 sites that include a web application. Here is parts of my configuration files : Server port=8005 shutdown=SHUTDOWN debug=0 Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=10 enableLookups=true appBase=webapps acceptCount=10 debug=debug/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.log timestamp=true/ Realm className=org.apache.catalina.realm.MemoryRealm / Host name=www.site1.com Context path= docBase=/home/sites/www.site1.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site1.com. suffix=.log timestamp=true / /Host Host name=www.site2.com Context path= docBase=/home/sites/www.site2.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site2.com. suffix=.log timestamp=true / /Host Host name=www.site3.com Context path= docBase=/home/sites/www.site3.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site3.com. suffix=.log timestamp=true / /Host Host name=www.site4.com Context path= docBase=/home/sites/www.site4.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site4.com. suffix=.log timestamp=true / /Host Host name=www.site5.com Context path= docBase=/home/sites/www.site5.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site5.com. suffix=.log timestamp=true / /Host Host name=www.site6.com Context path= docBase=/home/sites/www.site6.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site6.com. suffix=.log timestamp=true / /Host Host name=www.site7.com Context path= docBase=/home/sites/www.site7.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site7.com. suffix=.log timestamp=true / /Host Host name=www.site8.com Context path= docBase=/home/sites/www.site8.com/web / Logger className=org.apache.catalina.logger.FileLogger prefix=site8.com. suffix=.log timestamp=true / /Host /Engine /Service /Server Thanks for helping Regards Vince -Message d'origine- De : Dean Hiller [mailto:[EMAIL PROTECTED]] Envoye : jeudi 21 mars 2002 15:38 A : [EMAIL PROTECTED] Objet : many java processes On linux did anybody ever get a linux patch for fixing the problem of one process per java thread. I read on the sun bug parade they were going to port to a new threading model but we needed to update the linux threading I have seen many e-mails complaining about how tomcat creates s many processes and this is due to a JVM thing not tomcat. Does anybody know or is everyone just sitting by with many many java processes on their linux? Any help, pointers you could give me would be great, thanks, Dean -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: many java processes
On linux did anybody ever get a linux patch for fixing the problem of one process per java thread. I read on the sun bug parade they were going to port to a new threading model but we needed to update the linux threading I have seen many e-mails complaining about how tomcat creates s many processes and this is due to a JVM thing not tomcat. Does anybody know or is everyone just sitting by with many many java processes on their linux? Any help, pointers you could give me would be great, As near as I can tell, Linux *doesn't* create multiple processes. If you look closely at the output of ps all the java processes exist in the same processes. Linux (at least RedHat) comes with a ps that reports threads as well as processes. -- D. Jay Newman ! All: There's nothing we can't face... [EMAIL PROTECTED]! Anya: Except for bunnies... http://www.sprucegrove.com/~jay/ !-- Buffy, the Musical -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: many java processes
than why do they all have a different process id?? Also, how what would the option be to turn off viewing of threads and just view processes? thanks for your help Jay, Dean D. Jay Newman wrote: On linux did anybody ever get a linux patch for fixing the problem of one process per java thread. I read on the sun bug parade they were going to port to a new threading model but we needed to update the linux threading I have seen many e-mails complaining about how tomcat creates s many processes and this is due to a JVM thing not tomcat. Does anybody know or is everyone just sitting by with many many java processes on their linux? Any help, pointers you could give me would be great, As near as I can tell, Linux *doesn't* create multiple processes. If you look closely at the output of ps all the java processes exist in the same processes. Linux (at least RedHat) comes with a ps that reports threads as well as processes. -- D. Jay Newman ! All: There's nothing we can't face... [EMAIL PROTECTED]! Anya: Except for bunnies... http://www.sprucegrove.com/~jay/ !-- Buffy, the Musical -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: many java processes
I looked at my ps output, and they do seem to each have a different pid. However, I will look into this. I *think* that I have native threads on this machine. I don't know ps well enough to find the right option, but there is always man ps... than why do they all have a different process id?? Also, how what would the option be to turn off viewing of threads and just view processes? thanks for your help Jay, Dean D. Jay Newman wrote: On linux did anybody ever get a linux patch for fixing the problem of one process per java thread. I read on the sun bug parade they were going to port to a new threading model but we needed to update the linux threading I have seen many e-mails complaining about how tomcat creates s many processes and this is due to a JVM thing not tomcat. Does anybody know or is everyone just sitting by with many many java processes on their linux? Any help, pointers you could give me would be great, As near as I can tell, Linux *doesn't* create multiple processes. If you look closely at the output of ps all the java processes exist in the same processes. Linux (at least RedHat) comes with a ps that reports threads as well as processes. -- D. Jay Newman ! All: There's nothing we can't face... [EMAIL PROTECTED]! Anya: Except for bunnies... http://www.sprucegrove.com/~jay/ !-- Buffy, the Musical -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- D. Jay Newman ! All: There's nothing we can't face... [EMAIL PROTECTED]! Anya: Except for bunnies... http://www.sprucegrove.com/~jay/ !-- Buffy, the Musical -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: many java processes
D. Jay Newman a écrit : I looked at my ps output, and they do seem to each have a different pid. However, I will look into this. I *think* that I have native threads on this machine. I don't know ps well enough to find the right option, but there is always man ps... than why do they all have a different process id?? Also, how what would the option be to turn off viewing of threads and just view processes? thanks for your help Jay, Dean D. Jay Newman wrote: On linux did anybody ever get a linux patch for fixing the problem of one process per java thread. I read on the sun bug parade they were going to port to a new threading model but we needed to update the linux threading I have seen many e-mails complaining about how tomcat creates s many processes and this is due to a JVM thing not tomcat. Does anybody know or is everyone just sitting by with many many java processes on their linux? Any help, pointers you could give me would be great, As near as I can tell, Linux *doesn't* create multiple processes. If you look closely at the output of ps all the java processes exist in the same processes. Linux (at least RedHat) comes with a ps that reports threads as well as processes. -- D. Jay Newman ! All: There's nothing we can't face... [EMAIL PROTECTED]! Anya: Except for bunnies... http://www.sprucegrove.com/~jay/ !-- Buffy, the Musical -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- D. Jay Newman ! All: There's nothing we can't face... [EMAIL PROTECTED]! Anya: Except for bunnies... http://www.sprucegrove.com/~jay/ !-- Buffy, the Musical -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] It's a strange way of Linux to associate the threads binded to the Tomcat process as process themself. I don't work on Linux but on Solaris. Just give an output exerpt of yur ps and let see if a ps .. | grep may do the tricK. Jean-Luc B :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: many java processes
pstree -p might help to show what get's started by what For the processes, they aren't really processes as someone has said earlier but rather the LINUX representation of threads. Threads are shown as processes. Does the fact that threads are shown as processes in PS cause you any problems? If not, just ignore it. Linus will probably fix that sometime. -Original Message- From: D. Jay Newman [mailto:[EMAIL PROTECTED]] Sent: den 21 mars 2002 15:51 To: [EMAIL PROTECTED] Subject: Re: many java processes I looked at my ps output, and they do seem to each have a different pid. However, I will look into this. I *think* that I have native threads on this machine. I don't know ps well enough to find the right option, but there is always man ps... than why do they all have a different process id?? Also, how what would the option be to turn off viewing of threads and just view processes? thanks for your help Jay, Dean D. Jay Newman wrote: On linux did anybody ever get a linux patch for fixing the problem of one process per java thread. I read on the sun bug parade they were going to port to a new threading model but we needed to update the linux threading I have seen many e-mails complaining about how tomcat creates s many processes and this is due to a JVM thing not tomcat. Does anybody know or is everyone just sitting by with many many java processes on their linux? Any help, pointers you could give me would be great, As near as I can tell, Linux *doesn't* create multiple processes. If you look closely at the output of ps all the java processes exist in the same processes. Linux (at least RedHat) comes with a ps that reports threads as well as processes. -- D. Jay Newman ! All: There's nothing we can't face... [EMAIL PROTECTED]! Anya: Except for bunnies... http://www.sprucegrove.com/~jay/ !-- Buffy, the Musical -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- D. Jay Newman ! All: There's nothing we can't face... [EMAIL PROTECTED]! Anya: Except for bunnies... http://www.sprucegrove.com/~jay/ !-- Buffy, the Musical -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: many java processes
pstree -p might help to show what get's started by what and if you prefer to have a true ps output, just try ps -faux CF -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: many java processes
thanks all for the help, I have a much better understanding of what is going on. Our customers were complaining about that. I will contact redhat as to see if they are going to fix that or not. thanks, Dean Furmaniak Christophe wrote: pstree -p might help to show what get's started by what and if you prefer to have a true ps output, just try ps -faux CF -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: many java processes
I missed a lot of this thread, but given some of the comments made, I thought I should post some information. FWIW, these discussions take place frequently and can be found in the list archives. The Linux thread implementation represents a thread as a process. That's why you see tons of processes when any Java application is running. Unlike a normal process, though, all of these processes share the same address space so the memory use you see in ps or top is really shared across all of the processes. As far as Sun fixing something, I'm not sure there's something to fix, but I do believe some JVM's have a green threads implementation that runs multiple threads on a single Linux thread. There may also be other threading models under development for Linux. I know IBM was working on a more Solaris-like MxN threading scheme, but I don't keep up with Linux enough to know the specifics of any of those projects. HTH Best Regards, Jason Koeninger JJ Computer Consulting http://www.jjcc.com On Thu, 21 Mar 2002 16:23:22 +0100, Jean-Luc BEAUDET wrote: D. Jay Newman a crit : I looked at my ps output, and they do seem to each have a different pid. However, I will look into this. I *think* that I have native threads on this machine. I don't know ps well enough to find the right option, but there is always man ps... than why do they all have a different process id?? Also, how what would the option be to turn off viewing of threads and just view processes? thanks for your help Jay, Dean D. Jay Newman wrote: On linux did anybody ever get a linux patch for fixing the problem of one process per java thread. I read on the sun bug parade they were going to port to a new threading model but we needed to update the linux threading I have seen many e-mails complaining about how tomcat creates s many processes and this is due to a JVM thing not tomcat. Does anybody know or is everyone just sitting by with many many java processes on their linux? Any help, pointers you could give me would be great, As near as I can tell, Linux *doesn't* create multiple processes. If you look closely at the output of ps all the java processes exist in the same processes. Linux (at least RedHat) comes with a ps that reports threads as well as processes. -- D. Jay Newman ! All: There's nothing we can't face... [EMAIL PROTECTED]! Anya: Except for bunnies... http://www.sprucegrove.com/~jay/ !-- Buffy, the Musical -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- D. Jay Newman ! All: There's nothing we can't face... [EMAIL PROTECTED]! Anya: Except for bunnies... http://www.sprucegrove.com/~jay/ !-- Buffy, the Musical -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] It's a strange way of Linux to associate the threads binded to the Tomcat process as process themself. I don't work on Linux but on Solaris. Just give an output exerpt of yur ps and let see if a ps .. | grep may do the tricK. Jean-Luc B :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: many java processes
When I do a ps and Tomcat is running I get a different pid for each Java (Process?). pstree also says that there are some java (Processes?) are running. Can you say me how I can determine whetere all the Java (Prosesses) are belonging to the same process. Are you sure to not missinterpreting a father process (root process). lg Erwin Am Donnerstag, 21. März 2002 15:16 schrieben Sie: On linux did anybody ever get a linux patch for fixing the problem of one process per java thread. I read on the sun bug parade they were going to port to a new threading model but we needed to update the linux threading I have seen many e-mails complaining about how tomcat creates s many processes and this is due to a JVM thing not tomcat. Does anybody know or is everyone just sitting by with many many java processes on their linux? Any help, pointers you could give me would be great, As near as I can tell, Linux *doesn't* create multiple processes. If you look closely at the output of ps all the java processes exist in the same processes. Linux (at least RedHat) comes with a ps that reports threads as well as processes. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: many java processes
all threads started in java will show up as pid's in Linux. Linux does not do true threading. it's not a big deal. if you see to many check your code for opening threads. also check your garbage collection settings. -Original Message- From: chad kellerman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 11:48 AM To: [EMAIL PROTECTED] Subject: many java processes Hello everyone, I am running a red hat 6.2 tomcat 4.01 webapp server configured for virtual host. I have noticed that if tomcat stays running it builds up a lot of java processes. Has this caused anyone any problems with anyones elses servers? I am afraid that if a put a few java domains on the server the java processes will begin to go through the roof. Any information/insites would be greatly appreciated. -chad -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: many java processes
also tomcat will only open as many pid's/thread's as is specified in your server.xml maxProcessors=75 part of the connector params. the above is the default. Running top may make it look like a lot of stuff is running but if you look at the memory and CPU utilization of the pid's you'll notice they are very low. Also the number of pid's will change as the number of concurrent users to your system increases or decreases. -Original Message- From: chad kellerman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 11:48 AM To: [EMAIL PROTECTED] Subject: many java processes Hello everyone, I am running a red hat 6.2 tomcat 4.01 webapp server configured for virtual host. I have noticed that if tomcat stays running it builds up a lot of java processes. Has this caused anyone any problems with anyones elses servers? I am afraid that if a put a few java domains on the server the java processes will begin to go through the roof. Any information/insites would be greatly appreciated. -chad -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]