You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Milt Epstein <me...@uiuc.edu> on 2002/12/18 21:15:00 UTC

"Naive question" thread

Saw a post in the "naive question" thread earlier today that I wanted
to respond to, but my quick "delete" finger got to it before I got
around to it.  This was a thread in which John Turner, Denise Mangano,
and some others had been participating.

Anyway, Denise posted the output of ps that had a whole bunch of java
processes listed.  I'd be concerned about the number of such
processes, because normally there shouldn't be so many -- in fact,
most typically (i.e. one tomcat instance), there should be just one.
Now, Denise said she's using linux, and it's my understanding that ps
under linux will list threads, not just processes.  So it's possible
all those java listings were all the threads running in one java
process.  And I think there's an option to ps to cause it list actual
processes, not threads.  So you might try that and see what the output
looks like.

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
mepstein@uiuc.edu


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: "Naive question" thread

Posted by jon wingfield <jo...@mkodo.com>.
i use pstree -aup.
Very useful with multiple java apps running on one server :)

-----Original Message-----
From: Milt Epstein [mailto:mepstein@uiuc.edu]
Sent: 18 December 2002 20:15
To: Tomcat Users List
Subject: "Naive question" thread



Saw a post in the "naive question" thread earlier today that I wanted
to respond to, but my quick "delete" finger got to it before I got
around to it.  This was a thread in which John Turner, Denise Mangano,
and some others had been participating.

Anyway, Denise posted the output of ps that had a whole bunch of java
processes listed.  I'd be concerned about the number of such
processes, because normally there shouldn't be so many -- in fact,
most typically (i.e. one tomcat instance), there should be just one.
Now, Denise said she's using linux, and it's my understanding that ps
under linux will list threads, not just processes.  So it's possible
all those java listings were all the threads running in one java
process.  And I think there's an option to ps to cause it list actual
processes, not threads.  So you might try that and see what the output
looks like.

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
mepstein@uiuc.edu


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: "Naive question" thread

Posted by jon wingfield <jo...@mkodo.com>.
i use pstree -aup.
Very useful with multiple java apps running on one server :)

-----Original Message-----
From: Milt Epstein [mailto:mepstein@uiuc.edu]
Sent: 18 December 2002 20:15
To: Tomcat Users List
Subject: "Naive question" thread



Saw a post in the "naive question" thread earlier today that I wanted
to respond to, but my quick "delete" finger got to it before I got
around to it.  This was a thread in which John Turner, Denise Mangano,
and some others had been participating.

Anyway, Denise posted the output of ps that had a whole bunch of java
processes listed.  I'd be concerned about the number of such
processes, because normally there shouldn't be so many -- in fact,
most typically (i.e. one tomcat instance), there should be just one.
Now, Denise said she's using linux, and it's my understanding that ps
under linux will list threads, not just processes.  So it's possible
all those java listings were all the threads running in one java
process.  And I think there's an option to ps to cause it list actual
processes, not threads.  So you might try that and see what the output
looks like.

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
mepstein@uiuc.edu


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>