Re: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread André Warnier
Intriguing. For a complement of information : - what is the exact platform ? - is Tomcat started via jsvc ? - as a matter of fact, *how* is the main Tomcat being started ? What does the command netstat -pan | grep LISTEN show when you have such multiple copies running ? (the form of the

Re: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Tobias Crefeld
Am Fri, 09 Sep 2011 11:25:13 +0200 schrieb André Warnier a...@ice-sa.com: What does the command netstat -pan | grep LISTEN show when you have such multiple copies running ? Unfortunately Solaris' netstat doesn't know a option to show listeners. IIRC there are some scripts in Solaris-world that

Re: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Tobias Crefeld
Am Fri, 9 Sep 2011 09:54:36 +0100 schrieb Dave Stubbs d...@stubbs.uk.com: When we list the system tasks we see that the ghost process PPID is the same as the PID of the still running main tomcat instance. Here is list of what happened when it wasn't picked up for a while. Obviously the

Re: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Konstantin Kolinko
2011/9/9 Dave Stubbs d...@stubbs.uk.com: We are seeing tomcat starting up additional copies of itself, each new copy is allocating a chunk of storage, it only starts 1 thread, nothing gets written to any logs and no CPU is being listed as having been used. (...) 1. It might be an issue with ps

RE: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Dave Stubbs
This is on Solaris 10 which doesn't have that issue. Each process is allocating its own storage so it looks like it's completely separate from the parent process, threads would share the parents storage space. No, we definitely aren't starting any additional processes ourselves. This is happening

RE: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Dave Stubbs
I'll get that checked when it next happens (it's doing it daily at the moment sometime several times). We've already tried to match the events with the activity on the parent JVM, haven't found anything yet though (haven't given up on this). One thing we did notice is higher CPU usage on the

RE: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Dave Stubbs
Solaris environment is SunOS ** 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5120 System = SunOS Node = ** Release = 5.10 KernelID = Generic_127127-11 Machine = sun4v BusType = unknown Serial = unknown Users = unknown OEM# = 0 Origin# = 1 NumCPU = 64

Re: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread André Warnier
Ok, fishing in the dark really, but trying to accumulate more clues. What about the other questions (how is Tomcat started) ? And, looking at your original ps list, some vague thing : all these ghost processes seem to a) not be doing much (CPU time 0), even after a long time. b) all be started

Re: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Tobias Crefeld
Am Fri, 09 Sep 2011 14:34:44 +0200 schrieb André Warnier a...@ice-sa.com: As an alternative to netstat under Solaris, there is the lsof utility. AFAIK there is no lsof in (standard-) Solaris-10. But maybe one can take it from independent repositories like Sunfreeware

RE: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Dave Stubbs
The tomcat service is managed by the Solaris service management system (I can see references to svcs in their start-up/shutdown logs (it's on a customer's site so I'm not 100% on how it's configured). I should say there are 2 other tomcat instances all being managed the same way and they don't