Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-06 Thread André Warnier
Bill Davidson wrote: I really would like to be able to run these kind of tools across a firewall. I can't believe there are no provisions for it. Seems there is now. Haven't tried it yet, but will soon, if I can upgrade that Tomcat. Previous messages in this thread give more clues.

Re: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: I have been put right about that by someone else already. Yeah, I'm about 2 days behind on all the drivel on the list. ;) Not everyone agrees with that solution by the way, because the JConsole may interfere with the

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-06 Thread Rainer Jung
On 03.02.2009 16:31, Steve Cohen wrote: We have an application that runs under Tomcat under RHEL 5.0 and is launched by a jsvc daemon. It chugs along seemingly fine on several servers, yet yesterday crashed on one of them with the above exception seemingly without experiencing any kind of

Re: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-06 Thread André Warnier
Christopher Schultz wrote: [...] Assuming Chuck has an iPhone, which has 128MB of RAM, I'm not sure I'd want to run a JVM on that server in the first place. Something tells me we've been over this before so I won't beat a dead horse. Chuck assured us, on this forum, that his phone had waaay

Re: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread André Warnier
Peter Crowther wrote: From: André Warnier [mailto:a...@ice-sa.com] Christopher Schultz wrote: What about forwarding X through the tunnel instead? You can't, because it is variable. It is the result of some internal negotiation between Jconsole and the remote JVM. Apparently, anyway. I haven't

Re: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread Gregor Schneider
http://solaris.reys.net/english/2006/04/x11_forwarding Works pretty much the same on any other Linux Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

RE: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread Peter Crowther
From: André Warnier [mailto:a...@ice-sa.com] X is not something I use regularly, so when Chris mentioned X, I thought he was talking about the secondary connection/port that the JVM/Jconsole agree on, not about X-terminal and so. So thanks for the tip, but could you expand even more ? I

Re: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread Gregor Schneider
On Thu, Feb 5, 2009 at 11:11 AM, Peter Crowther peter.crowt...@melandra.com wrote: OK. If you don't want to put Cygwin on http://sourceforge.net/projects/xming Just a simple install, very small, convinient and works like charm. Rgds Gregor -- just because your paranoid, doesn't mean

Re: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread André Warnier
Hi. Thanks Chris and Peter and Gregor. Gregor sent me a link to an article that looks promising, and says basically the same as Peter below, using XMing as the X11 server (client?, I can never remember..). I will try that tonight. Peter Crowther wrote: From: André Warnier

RE: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread Peter Crowther
From: André Warnier [mailto:a...@ice-sa.com] using XMing as the X11 server (client?, I can never remember..). Yeah, X's terminology is very counter-intuitive - I get comments of you're kidding every time I teach it. An X server serves out the keyboard, mouse and display. X11 clients connect

RE: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread Peter Crowther
From: Gregor Schneider [mailto:rc4...@googlemail.com] http://sourceforge.net/projects/xming Just a simple install, very small, convinient and works like charm. Thanks Gregor, I wasn't aware of that one. Think I may just have a new preferred X server :-). - Peter

Re: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread Mark Thomas
Peter Crowther wrote: From: André Warnier [mailto:a...@ice-sa.com] using XMing as the X11 server (client?, I can never remember..). Yeah, X's terminology is very counter-intuitive - I get comments of you're kidding every time I teach it. An X server serves out the keyboard, mouse and

Re: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread André Warnier
Mark Thomas wrote: Peter Crowther wrote: From: André Warnier [mailto:a...@ice-sa.com] using XMing as the X11 server (client?, I can never remember..). Yeah, X's terminology is very counter-intuitive - I get comments of you're kidding every time I teach it. An X server serves out the

Re: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread Pieter Temmerman
The disadvantage of running these tools on the server that also runs Tomcat is that these tools generate certain load, which under some circumstances is not wanted as it might influence the stats. On Thu, 2009-02-05 at 14:15 +0100, André Warnier wrote: Mark Thomas wrote: Peter Crowther wrote:

Re: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: Christopher Schultz wrote: What about forwarding X through the tunnel instead? You can't, because it is variable. If you forward the X connection, then Jconsole is running locally on the

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread Bill Davidson
Christopher Schultz wrote: What about forwarding X through the tunnel instead? I've tried that and found it to be unusably slow. Just using Cygwin/X though. I'm not sure about those fancy light weight X compression systems. I really would like to be able to run these kind of tools across a

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: Steve Cohen wrote: [...] Which means I'm looking for command-line equivalents for what JConsole does, particularly the threads tab. Any ideas along that path? Not really a help here, but as I have discovered

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, Steve Cohen wrote: One additional restriction I have is a security bureaucracy from hell. You can use jmap from the command-line. That will give you a thread dump which can help you see what all your threads are doing. If you are using a

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-04 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: Steve Cohen wrote: [...] Which means I'm looking for command-line equivalents for what JConsole does, particularly the threads tab. Any ideas along that path? Not really a help here, but

RE: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-04 Thread Peter Crowther
From: André Warnier [mailto:a...@ice-sa.com] Christopher Schultz wrote: What about forwarding X through the tunnel instead? You can't, because it is variable. It is the result of some internal negotiation between Jconsole and the remote JVM. Apparently, anyway. I haven't managed to make

[Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread Steve Cohen
We have an application that runs under Tomcat under RHEL 5.0 and is launched by a jsvc daemon. It chugs along seemingly fine on several servers, yet yesterday crashed on one of them with the above exception seemingly without experiencing any kind of abnormal load. I am trying to get a handle

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread Pieter Temmerman
Hi Steve, Some great tools to monitor your Tomcat installations are: - Jconsole (make sure you get the topthreads plugin) - VisualVM - VisualGC - Jmap Hope that helps. On Tue, 2009-02-03 at 09:31 -0600, Steve Cohen wrote: We have an application that runs under Tomcat under RHEL 5.0 and is

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread Steve Cohen
One additional restriction I have is a security bureaucracy from hell. As far as console access I have a two-hop connection. As far as GUI access I have some crappy device to log into that lets me have really bad keyboard/mouse control of the machine, which, unless I can overcome this means

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread ovidiu asiminei
Hi Steve, Also, a good tool for monitoring Tomcat is Lamda Probe http://www.lambdaprobe.org/d/index.htm Regards, Ovidiu On Tue, Feb 3, 2009 at 9:31 AM, Steve Cohen sco...@javactivity.org wrote: We have an application that runs under Tomcat under RHEL 5.0 and is launched by a jsvc

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread Kees Jan Koster
Dear Steve, One additional restriction I have is a security bureaucracy from hell. As far as console access I have a two-hop connection. Is there no test system that you can use to reproduce this, under less insane restrictions? Have you considered hauling your behind to the data center

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread André Warnier
Steve Cohen wrote: [...] Which means I'm looking for command-line equivalents for what JConsole does, particularly the threads tab. Any ideas along that path? Not really a help here, but as I have discovered JConsole wont't even work through a simple SSH tunnel, because it wants to