Thread dump - where does it get logged?

Hi,

I'm trying to do a thread dump using "sudo /etc/init.d/elasticsearch dump",
but all I get is this in /wrapper.log file:

STATUS | wrapper | 2012/05/22 16:26:40 | Dumping JVM state.

I also tried directly kill -QUITing the ES JVM process, but couldn't find
the dump anywhere. I didn't see it in /logs/.log
where I thought I'd see it.

Any pointers would be greatly appreciated.

Thanks,
Otis

Search Analytics - http://sematext.com/search-analytics/index.html
Scalable Performance Monitoring - http://sematext.com/spm/index.html

Have you tried:

jstack -l PID_HERE

?

Maurício Linhares
http://techbot.me/ - http://twitter.com/#!/mauriciojr

On Tuesday, May 22, 2012 at 5:38 PM, Otis Gospodnetic wrote:

Hi,

I'm trying to do a thread dump using "sudo /etc/init.d/elasticsearch dump", but all I get is this in /wrapper.log file:

STATUS | wrapper | 2012/05/22 16:26:40 | Dumping JVM state.

I also tried directly kill -QUITing the ES JVM process, but couldn't find the dump anywhere. I didn't see it in /logs/.log where I thought I'd see it.

Any pointers would be greatly appreciated.

Thanks,
Otis

Search Analytics - Cloud Monitoring Tools & Services | Sematext
Scalable Performance Monitoring - Sematext Monitoring | Infrastructure Monitoring Service

How why would I use something as simple as jstack when I can use kill
-QUIT? Just kidding - that worked, thanks!

Otis

Search Analytics - Cloud Monitoring Tools & Services | Sematext
Scalable Performance Monitoring - Sematext Monitoring | Infrastructure Monitoring Service

On Tuesday, May 22, 2012 4:41:24 PM UTC-4, Maurício Linhares wrote:

Have you tried:

jstack -l PID_HERE

?

Maurício Linhares
http://techbot.me/ - http://twitter.com/#!/mauriciojr

On Tuesday, May 22, 2012 at 5:38 PM, Otis Gospodnetic wrote:

Hi,

I'm trying to do a thread dump using "sudo /etc/init.d/elasticsearch
dump", but all I get is this in /wrapper.log file:

STATUS | wrapper | 2012/05/22 16:26:40 | Dumping JVM state.

I also tried directly kill -QUITing the ES JVM process, but couldn't find
the dump anywhere. I didn't see it in /logs/.log
where I thought I'd see it.

Any pointers would be greatly appreciated.

Thanks,
Otis

Search Analytics - Cloud Monitoring Tools & Services | Sematext
Scalable Performance Monitoring - Sematext Monitoring | Infrastructure Monitoring Service