RE: to many tomcat processes!! AAH!!

2001-04-23 Thread Saurabh Shukla

which JDK are you using ? 

Shuklix

-Original Message-
From: Georges Boutros [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 1:34 AM
To: '[EMAIL PROTECTED]'
Subject: RE: to many tomcat processes!! AAH!!


does anyone know how can i force java to use green threads?

thanks

-Original Message-
From: Ansgar W. Konermann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 8:31 PM
To: [EMAIL PROTECTED]
Subject: Re: to many tomcat processes!! AAH!!


Hi,

maybe the many processes are because jdk1.2 and up use native threads
(AFAIK, 1.1 used green threads, i. e. a threading package implemented
in java itself).

With 1.2+, every java thread is a native OS thread and therefor gets
listed by ps. Have you tried forcing java to use green threads? I'm
quite sure that it is possible (RTFM).

-- 
Best regards,

Ansgar W. Konermann
eMail: [EMAIL PROTECTED]

--- Hello, I am a message footer. -



Re: to many tomcat processes!! AAH!!

2001-04-23 Thread Wolle

Hei,
i use JDK 1.3

Saurabh Shukla wrote:

 which JDK are you using ?

 Shuklix

 -Original Message-
 From: Georges Boutros [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 1:34 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: to many tomcat processes!! AAH!!

 does anyone know how can i force java to use green threads?

 thanks

 -Original Message-
 From: Ansgar W. Konermann [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 12, 2001 8:31 PM
 To: [EMAIL PROTECTED]
 Subject: Re: to many tomcat processes!! AAH!!

 Hi,

 maybe the many processes are because jdk1.2 and up use native threads
 (AFAIK, 1.1 used green threads, i. e. a threading package implemented
 in java itself).

 With 1.2+, every java thread is a native OS thread and therefor gets
 listed by ps. Have you tried forcing java to use green threads? I'm
 quite sure that it is possible (RTFM).

 --
 Best regards,

 Ansgar W. Konermann
 eMail: [EMAIL PROTECTED]

 --- Hello, I am a message footer. -

--
__
Gruss,
Wolle

---
  [EMAIL PROTECTED]





RE: to many tomcat processes!! AAH!!

2001-04-23 Thread Saurabh Shukla


ok, open your java file, it is a shell script. (it should be in your
JAVA_HOME/bin/ )

look for this line
DEFAULT_THREADS_FLAG=native

change native to green .

ie now the DEFAULT_THREADS_FLAG=green

this should do the job. let me know if it does't/does works.

Regards,
Shuklix


-Original Message-
From: Wolle [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 5:00 PM
To: [EMAIL PROTECTED]
Subject: Re: to many tomcat processes!! AAH!!


Hei,
i use JDK 1.3

Saurabh Shukla wrote:

 which JDK are you using ?

 Shuklix

 -Original Message-
 From: Georges Boutros [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 1:34 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: to many tomcat processes!! AAH!!

 does anyone know how can i force java to use green threads?

 thanks

 -Original Message-
 From: Ansgar W. Konermann [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 12, 2001 8:31 PM
 To: [EMAIL PROTECTED]
 Subject: Re: to many tomcat processes!! AAH!!

 Hi,

 maybe the many processes are because jdk1.2 and up use native threads
 (AFAIK, 1.1 used green threads, i. e. a threading package implemented
 in java itself).

 With 1.2+, every java thread is a native OS thread and therefor gets
 listed by ps. Have you tried forcing java to use green threads? I'm
 quite sure that it is possible (RTFM).

 --
 Best regards,

 Ansgar W. Konermann
 eMail: [EMAIL PROTECTED]

 --- Hello, I am a message footer. -

--
__
Gruss,
Wolle

---
  [EMAIL PROTECTED]





RE: to many tomcat processes!! AAH!!

2001-04-23 Thread Craig O'Brien

I do not know why you would want to do this other then for testing but --
change your startup script for tomcat to include the option java -classic
  and you will be using green threads.  Be aware that it is now easier
to create a deadlock situation. I believe that it would be a big mistake to
deploy a system with green threads.  My system incorrectly reports that I am
using 217 meg of ram but that is incorrect, It is actually using 74 meg of
ram.(with tomcat running) Use gps for a more accurate reading. Pushing the
server hard during testing does not increase the ram used significantly.
(cpu usage reflects as you would expect)

All those processes that you are seeing are simply sleeping threads.  They
are NOT using any resources and are being incorrectly reported as consuming
processes.  This is the very compelling reason that you would want to use
java in the first place. Native multi-threading. You have a thread pool
ready to respond without the overhead of creating new processes on demand.

Good luck,
Craig

Let us know what you find out.

-Original Message-
From: Wolle [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 4:30 AM
To: [EMAIL PROTECTED]
Subject: Re: to many tomcat processes!! AAH!!


Hei,
i use JDK 1.3

Saurabh Shukla wrote:

 which JDK are you using ?

 Shuklix

 -Original Message-
 From: Georges Boutros [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 1:34 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: to many tomcat processes!! AAH!!

 does anyone know how can i force java to use green threads?

 thanks

 -Original Message-
 From: Ansgar W. Konermann [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 12, 2001 8:31 PM
 To: [EMAIL PROTECTED]
 Subject: Re: to many tomcat processes!! AAH!!

 Hi,

 maybe the many processes are because jdk1.2 and up use native threads
 (AFAIK, 1.1 used green threads, i. e. a threading package implemented
 in java itself).

 With 1.2+, every java thread is a native OS thread and therefor gets
 listed by ps. Have you tried forcing java to use green threads? I'm
 quite sure that it is possible (RTFM).

 --
 Best regards,

 Ansgar W. Konermann
 eMail: [EMAIL PROTECTED]

 --- Hello, I am a message footer. -

--
__
Gruss,
Wolle

---
  [EMAIL PROTECTED]






RE: to many tomcat processes!! AAH!!

2001-04-23 Thread Saurabh Shukla

Or you can do try thing also.

open the file  $Tomcat_home/bin/tomcat.sh

in there look for the word native , if there is any such thing change it to
green.(this is assuming that your tomcat start script specifies that it is
using native threads)

in the tomcat.sh file, the command line which runs tomcat looks something
like this.

$JAVACMD  -native -Xms64M -Xmx128M $TOMCAT_OPTS -Dtomcat.home=${TOMCAT_HOME}
org.apache.tomcat.startup.Tomcat $@ 

or

make it $JAVACMD  -green -Xms64M -Xmx128M
$TOMCAT_OPTS -Dtomcat.home=${TOMCAT_HOME}  org.apache.tomcat.startup.Tomcat
$@ 

to use the green threads.

However too many java process should not be an issue to worry about, coz' in
green threads
all those processes are shown as a part of one process. Infact your
performance might deteriorate because of use of green threads. You can check
out the performance using
green threads and native threads and then decide if to use green or native
threads.

Shuklix



-Original Message-
From: Wolle [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 5:00 PM
To: [EMAIL PROTECTED]
Subject: Re: to many tomcat processes!! AAH!!


Hei,
i use JDK 1.3

Saurabh Shukla wrote:

 which JDK are you using ?

 Shuklix

 -Original Message-
 From: Georges Boutros [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 1:34 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: to many tomcat processes!! AAH!!

 does anyone know how can i force java to use green threads?

 thanks

 -Original Message-
 From: Ansgar W. Konermann [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 12, 2001 8:31 PM
 To: [EMAIL PROTECTED]
 Subject: Re: to many tomcat processes!! AAH!!

 Hi,

 maybe the many processes are because jdk1.2 and up use native threads
 (AFAIK, 1.1 used green threads, i. e. a threading package implemented
 in java itself).

 With 1.2+, every java thread is a native OS thread and therefor gets
 listed by ps. Have you tried forcing java to use green threads? I'm
 quite sure that it is possible (RTFM).

 --
 Best regards,

 Ansgar W. Konermann
 eMail: [EMAIL PROTECTED]

 --- Hello, I am a message footer. -

--
__
Gruss,
Wolle

---
  [EMAIL PROTECTED]





Re: to many tomcat processes!! AAH!!

2001-04-23 Thread Wolle

Thanks for all the Information,
i don't want to change it in green Threads, I would only knew what's goining on
with these Threads , and know I have these Information, thanks a lot !

Greetings,
Wolle

Craig O'Brien wrote:

 I do not know why you would want to do this other then for testing but --
 change your startup script for tomcat to include the option java -classic
   and you will be using green threads.  Be aware that it is now easier
 to create a deadlock situation. I believe that it would be a big mistake to
 deploy a system with green threads.  My system incorrectly reports that I am
 using 217 meg of ram but that is incorrect, It is actually using 74 meg of
 ram.(with tomcat running) Use gps for a more accurate reading. Pushing the
 server hard during testing does not increase the ram used significantly.
 (cpu usage reflects as you would expect)

 All those processes that you are seeing are simply sleeping threads.  They
 are NOT using any resources and are being incorrectly reported as consuming
 processes.  This is the very compelling reason that you would want to use
 java in the first place. Native multi-threading. You have a thread pool
 ready to respond without the overhead of creating new processes on demand.

 Good luck,
 Craig

 Let us know what you find out.

 -Original Message-
 From: Wolle [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 23, 2001 4:30 AM
 To: [EMAIL PROTECTED]
 Subject: Re: to many tomcat processes!! AAH!!

 Hei,
 i use JDK 1.3

 Saurabh Shukla wrote:

  which JDK are you using ?
 
  Shuklix
 
  -Original Message-
  From: Georges Boutros [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, April 18, 2001 1:34 AM
  To: '[EMAIL PROTECTED]'
  Subject: RE: to many tomcat processes!! AAH!!
 
  does anyone know how can i force java to use green threads?
 
  thanks
 
  -Original Message-
  From: Ansgar W. Konermann [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, April 12, 2001 8:31 PM
  To: [EMAIL PROTECTED]
  Subject: Re: to many tomcat processes!! AAH!!
 
  Hi,
 
  maybe the many processes are because jdk1.2 and up use native threads
  (AFAIK, 1.1 used green threads, i. e. a threading package implemented
  in java itself).
 
  With 1.2+, every java thread is a native OS thread and therefor gets
  listed by ps. Have you tried forcing java to use green threads? I'm
  quite sure that it is possible (RTFM).
 
  --
  Best regards,
 
  Ansgar W. Konermann
  eMail: [EMAIL PROTECTED]
 
  --- Hello, I am a message footer. -




RE: to many tomcat processes!! AAH!!

2001-04-23 Thread Johnathan Smith

Please get me off this list

--- Saurabh Shukla [EMAIL PROTECTED] wrote:
 
 ok, open your java file, it is a shell script. (it
 should be in your
 JAVA_HOME/bin/ )
 
 look for this line
 DEFAULT_THREADS_FLAG=native
 
 change native to green .
 
 ie now the DEFAULT_THREADS_FLAG=green
 
 this should do the job. let me know if it
 does't/does works.
 
 Regards,
 Shuklix
 
 
 -Original Message-
 From: Wolle [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 23, 2001 5:00 PM
 To: [EMAIL PROTECTED]
 Subject: Re: to many tomcat processes!! AAH!!
 
 
 Hei,
 i use JDK 1.3
 
 Saurabh Shukla wrote:
 
  which JDK are you using ?
 
  Shuklix
 
  -Original Message-
  From: Georges Boutros
 [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, April 18, 2001 1:34 AM
  To: '[EMAIL PROTECTED]'
  Subject: RE: to many tomcat processes!! AAH!!
 
  does anyone know how can i force java to use green
 threads?
 
  thanks
 
  -Original Message-
  From: Ansgar W. Konermann
 [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, April 12, 2001 8:31 PM
  To: [EMAIL PROTECTED]
  Subject: Re: to many tomcat processes!! AAH!!
 
  Hi,
 
  maybe the many processes are because jdk1.2 and up
 use native threads
  (AFAIK, 1.1 used green threads, i. e. a
 threading package implemented
  in java itself).
 
  With 1.2+, every java thread is a native OS thread
 and therefor gets
  listed by ps. Have you tried forcing java to use
 green threads? I'm
  quite sure that it is possible (RTFM).
 
  --
  Best regards,
 
  Ansgar W. Konermann
  eMail: [EMAIL PROTECTED]
 
  --- Hello, I am a message footer.
 -
 
 --
 __
 Gruss,
 Wolle
 

---
   [EMAIL PROTECTED]
 
 


=
If your into Body For Life, check out
http://clubs.yahoo.com/clubs/bodyforlifestatenislandny

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



RE: to many tomcat processes!! AAH!!

2001-04-17 Thread Georges Boutros

does anyone know how can i force java to use green threads?

thanks

-Original Message-
From: Ansgar W. Konermann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 8:31 PM
To: [EMAIL PROTECTED]
Subject: Re: to many tomcat processes!! AAH!!


Hi,

maybe the many processes are because jdk1.2 and up use native threads
(AFAIK, 1.1 used "green" threads, i. e. a threading package implemented
in java itself).

With 1.2+, every java thread is a native OS thread and therefor gets
listed by ps. Have you tried forcing java to use green threads? I'm
quite sure that it is possible (RTFM).

-- 
Best regards,

Ansgar W. Konermann
eMail: [EMAIL PROTECTED]

--- Hello, I am a message footer. -



RE: to many tomcat processes!! AAH!!

2001-04-17 Thread Ed Gomolka

At 04:03 PM 4/17/01 -0400, you wrote:
does anyone know how can i force java to use green threads?

thanks

I don't know how, but why would you want to do it?
The native thread use should be more efficient. The only drawback is the 
the way that the
ps command displays the threads, but it is only a display issue. The 
threads aren't actually using up
all the memory that the ps command output suggests..
Ed

-Original Message-
From: Ansgar W. Konermann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 8:31 PM
To: [EMAIL PROTECTED]
Subject: Re: to many tomcat processes!! AAH!!


Hi,

maybe the many processes are because jdk1.2 and up use native threads
(AFAIK, 1.1 used "green" threads, i. e. a threading package implemented
in java itself).

With 1.2+, every java thread is a native OS thread and therefor gets
listed by ps. Have you tried forcing java to use green threads? I'm
quite sure that it is possible (RTFM).

--
Best regards,

Ansgar W. Konermann
eMail: [EMAIL PROTECTED]

--- Hello, I am a message footer. -




RE: to many tomcat processes!! AAH!!

2001-04-17 Thread Kevin Sangeelee


Try something like -green (as opposed to -native) as the first command
line argument. This is how it works on the bd jdk 1.17 at least. If not,
have a look at the $JAVA_HOME/bin/java wrapper, it should have details in
there, and probably a way to change the default threading model.

Like you, the process lists used to annoy me, but after getting over the
initial emotional trauma (!), they became easy to live with. The process
lists on some of my boxes are so large anyway that I use 'ps ax|grep
whatever' to find processes regardless.

Kevin


On Tue, 17 Apr 2001, Georges Boutros wrote:

 does anyone know how can i force java to use green threads?
 
 thanks
 
 -Original Message-
 From: Ansgar W. Konermann [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 12, 2001 8:31 PM
 To: [EMAIL PROTECTED]
 Subject: Re: to many tomcat processes!! AAH!!
 
 
 Hi,
 
 maybe the many processes are because jdk1.2 and up use native threads
 (AFAIK, 1.1 used "green" threads, i. e. a threading package implemented
 in java itself).
 
 With 1.2+, every java thread is a native OS thread and therefor gets
 listed by ps. Have you tried forcing java to use green threads? I'm
 quite sure that it is possible (RTFM).
 
 -- 
 Best regards,
 
 Ansgar W. Konermann
 eMail: [EMAIL PROTECTED]
 
 --- Hello, I am a message footer. -
 




RE: to many tomcat processes!! AAH!!

2001-04-13 Thread Saurabh Shukla



You 
can use green threads instead of native threads and thou shall see just one 
process. :-) 

Shuklix

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of David CrookeSent: Friday, 
  April 13, 2001 9:45 AMTo: 
  [EMAIL PROTECTED]Subject: Re: to many tomcat 
  processes!! AAH!!This is how Linux shows kernel threads; 
  nothing to be alarmed about. There is only one process. 
  "Brendon M. Maragia" wrote: 
  



Dear Readers,

I finally!!! Got Jakarta Tomcatvhosting with Cocoon and it was soso beautiful andsweet, I 
jumped around the room screaming in joy.Don't tryan 
tell me you've never done that.Anyways, I was usingjdk1.1.3 ;]ewww, I 
know.So I upgraded to j2sdk1.3 and 
fired everything back up.Low and 
behold when runningps -aux, I was confronted 
with this 

root2806 44.54.1 76632 10580 pts/1S20:010:01 
/usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l 
root28440.04.1 76632 10580 pts/1S20:010:00 
/usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l 
root28450.04.1 76632 10580 pts/1S20:010:00 
/usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l 
root28460.04.1 76632 10580 pts/1S20:010:00 
/usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l 

Not just that about 50 more.In total about 54 Jakarta Tomcat processes, 
all this right after I upgraded to j2sdk1.3.I tried downgrading again to jdk1.2.2, no 
dice same error.I searched through 
the mail archives and noticed a guy buy the name of Pete Wright had posted a 
similar error.I emailed him and he 
told me the list hadn't been much help.So in posting the same error again I hope 
to raise usersympathy ;]please 
help! 

Sincerely, 
Brendon 
Maragia


Re: to many tomcat processes!! AAH!!

2001-04-13 Thread Jeff Kilbride



Read my last post. It tells you where to find the 
configuration examples.

--jeff

  - Original Message - 
  From: 
  Georges Boutros 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Friday, April 13, 2001 6:54 
AM
  Subject: RE: to many tomcat processes!! 
  AAH!!
  
  hi,
  
  how can you configure server.xml ?? Do you have an example about 
  the configuration of PoolTCPConnectors 
  for ajp12 and ajp13 
  
  thanks,
  Georges
  
-Original Message-From: Jeff Kilbride 
[mailto:[EMAIL PROTECTED]]Sent: Thursday, April 12, 2001 10:10 
PMTo: [EMAIL PROTECTED]Subject: 
Re: to many tomcat processes!! AAH!!
Go to the Tomcat User's Guide:

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/index.html

and do a search for "max_threads". You can 
configure your PoolTCPConnectors for ajp12 and ajp13 via the server.xml 
file.

BE CAREFUL. If you set these values too low, 
you will undoubtedly hamper performance. However, you shouldn't leave these 
at the default values once you understand what they do. In my case, I am 
using ajp13 in all of my code. ajp12, as far as I know, is only being used 
for startup/shutdown of Tomcat itself. So, I cut the values way back for 
ajp12 and increased the defaults for ajp13.

Thanks,
--jeff


  - Original Message - 
  From: 
  Brendon 
  M. Maragia 
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, April 12, 2001 5:14 
  PM
  Subject: to many tomcat processes!! 
  AAH!!
  
  
  Dear 
  Readers,
  
  I finally!!! Got Jakarta 
  Tomcat vhosting with Cocoon and it was so so beautiful and sweet, I 
  jumped around the room screaming in joy. Dont try an tell me youve never done that. Anyways, I was using jdk1.1.3 ;] ewww, I 
  know. So I upgraded to 
  j2sdk1.3 and fired everything back up. Low and behold when running ps aux, I was confronted with 
  this.
  
  root 2806 
  44.5 4.1 76632 10580 
  pts/1 S 
  20:01 0:01 
  /usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l
  root 2844 0.0 4.1 76632 10580 pts/1 S 
  20:01 0:00 
  /usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l
  root 2845 0.0 4.1 76632 10580 pts/1 S 
  20:01 0:00 
  /usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l
  root 2846 0.0 4.1 76632 10580 pts/1 S 
  20:01 0:00 
  /usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l
  
  Not just that about 50 
  more. In total about 54 
  Jakarta Tomcat processes, all this right after I upgraded to 
  j2sdk1.3. I tried downgrading 
  again to jdk1.2.2, no dice same error. I searched through the mail 
  archives and noticed a guy buy the name of Pete Wright had posted a 
  similar error. I emailed him 
  and he told me the list hadnt been much help. So in posting the same error again 
  I hope to raise user sympathy ;] please 
  help!
  
  Sincerely,
  Brendon 
  Maragia


Re: to many tomcat processes!! AAH!!

2001-04-12 Thread Ansgar W. Konermann

Hi,

maybe the many processes are because jdk1.2 and up use native threads
(AFAIK, 1.1 used "green" threads, i. e. a threading package implemented
in java itself).

With 1.2+, every java thread is a native OS thread and therefor gets
listed by ps. Have you tried forcing java to use green threads? I'm
quite sure that it is possible (RTFM).

-- 
Best regards,

Ansgar W. Konermann
eMail: [EMAIL PROTECTED]

--- Hello, I am a message footer. -



Re: to many tomcat processes!! AAH!!

2001-04-12 Thread Jeff Kilbride



Go to the Tomcat User's Guide:

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/index.html

and do a search for "max_threads". You can 
configure your PoolTCPConnectors for ajp12 and ajp13 via the server.xml 
file.

BE CAREFUL. If you set these values too low, you 
will undoubtedly hamper performance. However, you shouldn't leave these at the 
default values once you understand what they do. In my case, I am using ajp13 in 
all of my code. ajp12, as far as I know, is only being used for startup/shutdown 
of Tomcat itself. So, I cut the values way back for ajp12 and increased the 
defaults for ajp13.

Thanks,
--jeff


  - Original Message - 
  From: 
  Brendon M. 
  Maragia 
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, April 12, 2001 5:14 
  PM
  Subject: to many tomcat processes!! 
  AAH!!
  
  
  Dear 
  Readers,
  
  I finally!!! Got Jakarta Tomcat 
  vhosting with Cocoon and it was so so beautiful and sweet, I jumped 
  around the room screaming in joy. 
  Dont try an tell me youve never done 
  that. Anyways, I was using jdk1.1.3 ;] ewww, I know. So I upgraded to j2sdk1.3 and fired 
  everything back up. Low and 
  behold when running ps aux, I was confronted with 
  this.
  
  root 2806 44.5 4.1 76632 10580 pts/1 S 20:01 0:01 
  /usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l
  root 2844 0.0 4.1 76632 10580 pts/1 S 20:01 0:00 
  /usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l
  root 2845 0.0 4.1 76632 10580 pts/1 S 20:01 0:00 
  /usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l
  root 2846 0.0 4.1 76632 10580 pts/1 S 20:01 0:00 
  /usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l
  
  Not just that about 50 more. In total about 54 Jakarta Tomcat 
  processes, all this right after I upgraded to j2sdk1.3. I tried downgrading again to jdk1.2.2, 
  no dice same error. I searched 
  through the mail archives and noticed a guy buy the name of Pete Wright had 
  posted a similar error. I emailed 
  him and he told me the list hadnt been much help. So in posting the same error again I 
  hope to raise user sympathy ;] please 
  help!
  
  Sincerely,
  Brendon 
  Maragia


Re: to many tomcat processes!! AAH!!

2001-04-12 Thread David Crooke



This is how Linux shows kernel threads; nothing to be alarmed about. There
is only one process.
"Brendon M. Maragia" wrote:



Dear
Readers,




I
finally!!! Got Jakarta Tomcatvhosting with
Cocoon and it was soso beautiful andsweet,
I jumped around the room screaming in joy.Don't
tryan tell me you've never done that.Anyways,
I was usingjdk1.1.3 ;]ewww,
I know.So I upgraded to j2sdk1.3
and fired everything back up.Low
and behold when runningps -aux, I was
confronted with this



root2806
44.54.1 76632 10580 pts/1S20:010:01
/usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l

root28440.04.1
76632 10580 pts/1S20:010:00
/usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l

root28450.04.1
76632 10580 pts/1S20:010:00
/usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l

root28460.04.1
76632 10580 pts/1S20:010:00
/usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l



Not
just that about 50 more.In total
about 54 Jakarta Tomcat processes, all this right after I upgraded to j2sdk1.3.I
tried downgrading again to jdk1.2.2, no dice same error.I
searched through the mail archives and noticed a guy buy the name of Pete
Wright had posted a similar error.I
emailed him and he told me the list hadn't been much help.So
in posting the same error again I hope to raise usersympathy
;]please help!



Sincerely,

Brendon
Maragia