[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grinder-use
Subject:    Re: [Grinder-use] Grinder Processes Do Not Stop
From:       Philip Aston <philipa () mail ! com>
Date:       2012-06-29 6:49:29
Message-ID: 4FED4FF9.1050109 () mail ! com
[Download RAW message or body]

That's the agent, not the worker process.

You can take a thread dump of the worker process using jstack (more @
http://grinder.sourceforge.net/faq.html#thread-dumps)

- Phil

On 22/06/12 14:50, Frank@X wrote:
> Thanks for the quick response.
>
> I used eclipse debugger to show me the threads.
>
> I ran with 2 processes, but it had 4 executor threads and 4 Stream
> Redirector threads.  Same if I run 3 processes.
>
> Interestingly, when I run with just 1 process, it does terminate, but the
> summary stats say no messages were run.
>
> Below shows the content of only one of the executor threads and one of the
> Stream Redirector threads since the content of all of them were identical.
>
> I noted that 2 of the executor threads have the same names and the 4 Stream
> Redirector threads have only 2 names.
>
> net.grinder.Grinder at localhost:61614 (Suspended)	
> 	Daemon System Thread [Attach Listener] (Suspended)	
> 	Daemon System Thread [Signal Dispatcher] (Suspended)	
> 	Daemon System Thread [Finalizer] (Suspended)	
> 	Daemon System Thread [Reference Handler] (Suspended)	
> 	Thread [main] (Suspended)	
> 		Object.wait(long) line: not available [native method]	
> 		Condition.waitNoInterrruptException(long) line: 66	
> 		AgentImplementation.run() line: 348	
> 		Grinder.run() line: 134	
> 		Grinder.main(String[]) line: 75	
> 	Daemon Thread [Timer-0] (Suspended)	
> 		Object.wait(long) line: not available [native method]	
> 		TaskQueue(Object).wait() line: 485	
> 		TimerThread.mainLoop() line: 483	
> 		TimerThread.run() line: 462	
> 	Daemon Thread [Executor thread 1] (Suspended)	
> 		Object.wait(long) line: not available [native method]	
> 		Condition(Object).wait() line: 485	
> 		ThreadSafeQueue<T>.dequeue(boolean) line: 81	
> 		Executor$ExecutorRunnable.interruptibleRun() line: 121	
> 		InterruptibleRunnableAdapter.run() line: 59	
> 		Thread.run() line: 662	
> 	Daemon Thread [Executor thread 0] (Suspended)	
> 	Daemon Thread [Executor thread 2] (Suspended)	
> 	Daemon Thread [Executor thread 0] (Suspended)	
> 	Daemon Thread [Stream redirector for process
> java.lang.ProcessImpl@52f6438d] (Suspended)	
> 		FileInputStream.readBytes(byte[], int, int) line: not available [native
> method]	
> 		FileInputStream.read(byte[], int, int) line: 220	
> 		BufferedInputStream.fill() line: 218	
> 		BufferedInputStream.read1(byte[], int, int) line: 258	
> 		BufferedInputStream.read(byte[], int, int) line: 317	
> 		StreamCopier.copy(InputStream, OutputStream) line: 75	
> 		StreamCopier$1.interruptibleRun() line: 113	
> 		InterruptibleRunnableAdapter.run() line: 59	
> 		Thread.run() line: 662	
> 	Daemon Thread [Stream redirector for process
> java.lang.ProcessImpl@52f6438d] (Suspended)	
> 	Daemon Thread [Stream redirector for process
> java.lang.ProcessImpl@37a001ff] (Suspended)	
> 	Daemon Thread [Stream redirector for process
> java.lang.ProcessImpl@37a001ff] (Suspended)	
>



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic