Many java-processes left after shutdown.sh

2003-08-04 Thread Philipp Leusmann
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]



RE: Many java-processes left after shutdown.sh

2003-08-04 Thread Zille Hassan
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]



AW: Many java-processes left after shutdown.sh

2003-08-04 Thread Philipp Leusmann
I?d try sh ./__.rpm.bin

 -Ursprungliche Nachricht-
 Von: Zille Hassan [mailto:[EMAIL PROTECTED]
 Gesendet: Montag, 4. August 2003 13:33
 An: Tomcat Users List
 Betreff: 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]
 
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Many java-processes left after shutdown.sh

2003-08-04 Thread Shapira, Yoav

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

2003-08-04 Thread Shapira, Yoav

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]



AW: Many java-processes left after shutdown.sh

2003-08-04 Thread Philipp Leusmann
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]



RE: Many java-processes left after shutdown.sh

2003-08-04 Thread Shapira, Yoav

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

2002-03-22 Thread Gregor Kovaè

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

2002-03-22 Thread Vincent Lambert

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]




many java processes

2002-03-21 Thread Dean Hiller

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]




Re: many java processes

2002-03-21 Thread D. Jay Newman

 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

2002-03-21 Thread Dean Hiller

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

2002-03-21 Thread D. Jay Newman

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

2002-03-21 Thread Jean-Luc BEAUDET

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

2002-03-21 Thread Cato, Christopher

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

2002-03-21 Thread Furmaniak Christophe

 
 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

2002-03-21 Thread Dean Hiller

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

2002-03-21 Thread Jason Koeninger

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

2002-03-21 Thread Erwin Ambrosch

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]




many java processes

2002-02-26 Thread chad kellerman

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]




RE: many java processes

2002-02-26 Thread KC Berg

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

2002-02-26 Thread KC Berg

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]




RE: too many java processes ???

2001-04-10 Thread Saurabh Shukla


If you are having any problems with memory you can set the amount of memory
it should consume by using these options with java command(on Linux). Add
add these options read the tomat.sh file.


-Xmssizeset initial Java heap size
-Xmxsizeset maximum Java heap size

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 2:06 PM
To: [EMAIL PROTECTED]
Subject: Re: too many java processes ???


Hi,


Are you using Multi-threaded Applications???  If so, this would be
natural...;-)

With the Linux Operating System...  Threads are actually reported as
being processes...;-)

Try using top or ps -aux and add up the memory usage of the
processes...;-)

However, this does appear to be quite odd, if you have just run tomcat
and checked out the number of process running right away...;-(

What version of the Linux Kernel are you using???


Cheers,


John Clark

 kreso wrote:

 When we run tomcat, it opens about 30 java processes and it takes
 a lot (almost all) of our 128 MB memory. Is that supposed to be?
 We are running it on linux.
 Processes look something like this...

 root 11077 11049  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11078 11077  0 Apr05 ?00:00:12
 /usr/java/jdk1.3/bin/i386/native
 root 11079 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11080 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11081 11077  0 Apr05 ?00:00:04
 /usr/java/jdk1.3/bin/i386/native
 root 11082 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11083 11077  0 Apr05 ?00:00:01
 /usr/java/jdk1.3/bin/i386/native
 root 11084 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11085 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11086 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11087 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11088 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11089 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11090 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11091 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11092 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11093 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11094 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11095 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11096 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11097 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11098 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11099 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11100 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11101 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11102 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11103 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11104 11077  0 Apr05 ?00:00:00 /usr/java/
 root 11105 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11106 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11107 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11108 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11109 11077  0 Apr05 ?00:00:01
 /usr/java/jdk1.3/bin/i386/native
 root 0 11077  0 Apr05 ?00:00:02
 /usr/java/jdk1.3/bin/i386/native
 root 1 11077  0 Apr05 ?00:00:06
 /usr/java/jdk1.3/bin/i386/native
 root 2 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 4 11077  0 Apr05 ?00:00:07
 /usr/java/jdk1.3/bin/i386/native?


 please let us know how we can limit so it doesn't use whole our
 memory...
 thanks


--
 /) John Clark Naldoza y Lopez   (\
/ )Software Design Engineer II   ( \
  _( (__  Web-Application Development_) )_
 (((\ \  /_Cable Modem Network Management System _\  / /)))
 ( \_/ / NEC Telecom Software Phils., Inc.  \ \_/ )
  \   /  \   /
   \_/  phone: (+63 32) 233-9142 loc. 3112\_/
   /   /  cellphone: (+63 919) 399-4742 \   \
  /   / email: [EMAIL PROTECTED]\   \




too many java processes ???

2001-04-06 Thread kreso



When we run tomcat, it opens about 30 java 
processes and it takes
a lot (almost all) of our 128 MB memory. Is that 
supposed to be?
We are running it on linux.
Processes look something like this...

root 11077 11049 0 
Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11078 
11077 0 Apr05 ? 00:00:12 
/usr/java/jdk1.3/bin/i386/nativeroot 11079 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11080 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11081 
11077 0 Apr05 ? 00:00:04 
/usr/java/jdk1.3/bin/i386/nativeroot 11082 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11083 
11077 0 Apr05 ? 00:00:01 
/usr/java/jdk1.3/bin/i386/nativeroot 11084 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11085 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11086 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11087 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11088 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11089 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11090 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11091 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11092 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11093 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11094 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11095 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11096 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11097 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11098 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11099 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11100 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11101 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11102 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11103 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11104 
11077 0 Apr05 ? 00:00:00 
/usr/java/
root 11105 11077 0 
Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11106 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11107 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11108 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11109 
11077 0 Apr05 ? 00:00:01 
/usr/java/jdk1.3/bin/i386/nativeroot 0 
11077 0 Apr05 ? 00:00:02 
/usr/java/jdk1.3/bin/i386/nativeroot 1 
11077 0 Apr05 ? 00:00:06 
/usr/java/jdk1.3/bin/i386/nativeroot 2 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 4 
11077 0 Apr05 ? 00:00:07 
/usr/java/jdk1.3/bin/i386/native


please let us know how we can limit so it doesn't 
use whole our memory...
thanks



Re: too many java processes ???

2001-04-06 Thread John Clark L. Naldoza

Hi,


Are you using Multi-threaded Applications???  If so, this would be
natural...;-)  

With the Linux Operating System...  Threads are actually reported as
being processes...;-)

Try using top or ps -aux and add up the memory usage of the
processes...;-)

However, this does appear to be quite odd, if you have just run tomcat
and checked out the number of process running right away...;-(

What version of the Linux Kernel are you using???


Cheers,


John Clark

 kreso wrote:
 
 When we run tomcat, it opens about 30 java processes and it takes
 a lot (almost all) of our 128 MB memory. Is that supposed to be?
 We are running it on linux.
 Processes look something like this...
 
 root 11077 11049  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11078 11077  0 Apr05 ?00:00:12
 /usr/java/jdk1.3/bin/i386/native
 root 11079 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11080 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11081 11077  0 Apr05 ?00:00:04
 /usr/java/jdk1.3/bin/i386/native
 root 11082 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11083 11077  0 Apr05 ?00:00:01
 /usr/java/jdk1.3/bin/i386/native
 root 11084 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11085 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11086 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11087 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11088 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11089 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11090 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11091 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11092 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11093 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11094 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11095 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11096 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11097 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11098 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11099 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11100 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11101 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11102 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11103 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11104 11077  0 Apr05 ?00:00:00 /usr/java/
 root 11105 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11106 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11107 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11108 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11109 11077  0 Apr05 ?00:00:01
 /usr/java/jdk1.3/bin/i386/native
 root 0 11077  0 Apr05 ?00:00:02
 /usr/java/jdk1.3/bin/i386/native
 root 1 11077  0 Apr05 ?00:00:06
 /usr/java/jdk1.3/bin/i386/native
 root 2 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 4 11077  0 Apr05 ?00:00:07
 /usr/java/jdk1.3/bin/i386/native?
 
 
 please let us know how we can limit so it doesn't use whole our
 memory...
 thanks
 

-- 
 /) John Clark Naldoza y Lopez   (\
/ )Software Design Engineer II   ( \
  _( (__  Web-Application Development_) )_
 (((\ \  /_Cable Modem Network Management System _\  / /)))
 ( \_/ / NEC Telecom Software Phils., Inc.  \ \_/ )
  \   /  \   /
   \_/  phone: (+63 32) 233-9142 loc. 3112\_/
   /   /  cellphone: (+63 919) 399-4742 \   \
  /   / email: [EMAIL PROTECTED]\   \



Re: too many java processes ???

2001-04-06 Thread kreso

yes, the processes are the right away...
right after I start tomcat
we are using bash
thanks, plesae let me know if you have more advice


- Original Message -
From: "John Clark L. Naldoza" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 06, 2001 4:36 AM
Subject: Re: too many java processes ???


Hi,


Are you using Multi-threaded Applications???  If so, this would be
natural...;-)

With the Linux Operating System...  Threads are actually reported as
being processes...;-)

Try using top or ps -aux and add up the memory usage of the
processes...;-)

However, this does appear to be quite odd, if you have just run tomcat
and checked out the number of process running right away...;-(

What version of the Linux Kernel are you using???


Cheers,


John Clark

 kreso wrote:

 When we run tomcat, it opens about 30 java processes and it takes
 a lot (almost all) of our 128 MB memory. Is that supposed to be?
 We are running it on linux.
 Processes look something like this...

 root 11077 11049  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11078 11077  0 Apr05 ?00:00:12
 /usr/java/jdk1.3/bin/i386/native
 root 11079 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11080 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11081 11077  0 Apr05 ?00:00:04
 /usr/java/jdk1.3/bin/i386/native
 root 11082 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11083 11077  0 Apr05 ?00:00:01
 /usr/java/jdk1.3/bin/i386/native
 root 11084 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11085 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11086 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11087 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11088 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11089 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11090 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11091 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11092 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11093 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11094 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11095 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11096 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11097 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11098 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11099 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11100 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11101 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11102 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11103 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11104 11077  0 Apr05 ?00:00:00 /usr/java/
 root 11105 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11106 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11107 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11108 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11109 11077  0 Apr05 ?00:00:01
 /usr/java/jdk1.3/bin/i386/native
 root 0 11077  0 Apr05 ?00:00:02
 /usr/java/jdk1.3/bin/i386/native
 root 1 11077  0 Apr05 ?00:00:06
 /usr/java/jdk1.3/bin/i386/native
 root 2 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 4 11077  0 Apr05 ?00:00:07
 /usr/java/jdk1.3/bin/i386/native?


 please let us know how we can limit so it doesn't use whole our
 memory...
 thanks


--
 /) John Clark Naldoza y Lopez   (\
/ )Software Design Engineer II   ( \
  _( (__  Web-Application Development_) )_
 (((\ \  /_Cable Modem Network Management System _\  / /)))
 ( \_/ / NEC Telecom Software Phils., Inc.  \ \_/ )
  \   /  \   /
   \_/  phone: (+63 32) 233-9142 loc. 3112\_/
   /   /  cellphone: (+63 919) 399-4742 \   \
  /   / email: [EMAIL PROTECTED]\   \





Re: why so many java processes for tomat 3.2b6?

2000-10-27 Thread yue . m . ma



I remember one folk's post said that the "process" here on Linux is actually
"thread"
Do I remember right?






"Trevor Little" [EMAIL PROTECTED] on 10/27/2000 11:21:19 AM

Please respond to [EMAIL PROTECTED]
  
  
  
 To:  [EMAIL PROTECTED]  
  
 cc:  (bcc: YUE M. MA/EMPL/MD/Bell-Atl)   
  
  
      
 Subject: why so many java processes for tomat 3.2b6? 
  





I'm using tomcat 3.2 standalone for out web app under linux and java
1.3.  When I do a ps aux there's over 25 java processes.  With tomcat
3.1 there was nothing like that.  Does this happen to anyone else?







Re: why so many java processes for tomat 3.2b6?

2000-10-27 Thread Trevor Little

Yes I was just thinking about that... good to see they are just threads.

Kevin Sangeelee wrote:
 
 On Fri, 27 Oct 2000, Trevor Little wrote:
 
  You're probably right about all the threads coming from the java
  upgrade.  We didn't have so many thread with java 1.1.8.
 
 I think that if you run your JVM with green-threads, then all the threads
 are wrapped up inside the java process. If you use native threads, then
 all threads are shown as processes. They really are threads though, so
 don't worry about what looks like a total of 500Mb or RAM being used! :)
 
 Kevin