jstack Questions

3

I'm currently using HP Fortify tool to scan for security vulnerabilities in a project. At the time of scanning Fortify's CLI allows build tools to integrate into its CLI commands so as to build and...
Informality asked 14/1, 2020 at 18:11

6

We're using Wildfly 11 with Java 8 on Amazon Linux. We recently installed jstack to troubleshoot a high CPU utilization issue as we're trying to figure out what code is causing the CPU to spin. Fir...
Arriaga asked 11/9, 2018 at 14:26

3

I'm trying to run jstack on ubuntu in mixed mode: $ jstack -m 7219 The result is this exception: Attaching to process ID 7219, please wait... Debugger attached successfully. Server compiler ...
Politics asked 27/3, 2018 at 15:13

10

Solved

I am running Ubuntu server edition and I wanted to take a thread dump of Tomcat. So, I first tried to find out which PID tomcat uses: $ jps -l 5809 sun.tools.jps.Jps But it's not there? So, I ...
Nine asked 14/9, 2011 at 17:33

6

Solved

I need to get a stack trace for a JVM process running on a client machine that uses windows. The client has the JRE installed but not the JDK. I want to use JStack but it is not installed and we...
Byrnes asked 18/3, 2009 at 18:58

3

Solved

I want to get the thread dump of my web app that running on a jboss server. I found two solutions for my problem : Using the unix command : kill -3 Using the jstack tool that exists in the JDK...
Bemba asked 3/6, 2013 at 14:49

4

I have a Tomcat running as a Windows Service, and those are known not to work well with jstack. jconsole is working well, on the other hand, and I can see stacks of individual threads (I'm connecti...
Tache asked 18/10, 2010 at 12:7

4

I can use jps to list running java processes and use jstack -l process_id to get a stack information of a running java process. I want to know this process runs on which java version. Is there a wa...
Pseudonymous asked 12/11, 2014 at 20:44

4

Solved

We use jstack on servers to detect if java apps are getting deadlocked. It's not working on one of our Linux servers. I think O/S version is: $cat /etc/issue.net Red Hat Enterprise Linux Server re...
Manoeuvre asked 16/11, 2011 at 2:17

1

Solved

Thread 10296: (state = IN_NATIVE) - sun.nio.ch.Net.connect0(boolean, java.io.FileDescriptor, java.net.InetAddress, int) @bci=0 (Interpreted frame) - sun.nio.ch.Net.connect(java.net.ProtocolFamil...
Sula asked 13/2, 2017 at 11:36

2

On Windows 7, I try to get a stack trace from a Java process by executing the command jstack.exe -F xxx from another Java process, where xxx is the PID of the target process. I'm getting the ...
Slr asked 28/4, 2014 at 14:54

1

I am surprised to discover that somehow, recently, jstack stopped working on newer JDK 8. I am not sure around which release this happened but I do get: 36649: Unable to open socket file: target p...
Moneylender asked 2/7, 2015 at 8:38

4

I'm having difficulties in understanding the thread dump I got from jstack for a Spring MVC web application running on Tomcat 6 (java 1.6.0_22, Linux). I see blocking threads (that cause other thr...
Monocyclic asked 15/8, 2011 at 15:38

1

I am really confused about: In my windows 2008r2, I have a windows service, in fact it's a java progress running as SYSTEM user. Now, I use Jstack rawly to the the service. But it occur error : ...
Linder asked 22/11, 2013 at 16:23

2

I intend to use thread priorities within my Java code. The application shall run on my Linux system: >uname -a Linux <host> 3.0.0-15-generic #26-Ubuntu SMP <date> x86_64 x86_64 x86_6...
Disarticulate asked 3/5, 2012 at 11:58

1

Solved

I have a java process loading a lot of data from a bunch of .csv files into a Neo4j database using the BatchInserter. I was using: OpenJDK 7 Ubuntu 12.04 Neo4j 2.0 M3 After loading the first 16...
Array asked 10/8, 2013 at 12:0

1

Is it necessary to run jstack -F as root (on linux) and if so why? When trying to jstack -F my own processes I get the following error. Error attaching to process: sun.jvm.hotspot.debugger.Debugg...
Roselynroseman asked 13/12, 2012 at 7:58

2

Is any version of Sun JDK or Open JDK available to be installed on cygwin. Reason I am looking for this option is: There are many tools (e.g. jStack, jMap) which are available in unix versions of ...
Festus asked 31/5, 2011 at 7:14

3

Solved

I have a Gui application in swing that prints a ticket on a serial thermal printer. When i hit the button that launch this action, my GUI is frozen. I think that's because the code is executed on t...
Rauwolfia asked 4/10, 2012 at 13:41

2

I am trying to diagnose a problem where a Java web application I'm using (Jenkins) becomes unresponsive. If I run jstack without the -F flag it doesn't give me anything, but if I put the flag in to...
Grapery asked 21/8, 2012 at 18:53

5

Solved

I'm trying to run jstack command on my java application. Application is rather big, running inside jboss AS occupying about 4gb of memory. OS is Windows Server 2003 Standard edition. Every time i g...
Ninette asked 25/5, 2009 at 12:52

3

I'm considering whipping up a script to run once a minute (or every five minutes) run jstack against a running JVM in production parse the jstack output and tally up things I'm interested in exp...
Silsby asked 9/9, 2010 at 14:32

5

Solved

On my busiest production installation, on occasion I get a single thread that seems to get stuck in an infinite loop. I've not managed to figure out who is the culprit, after much research and debu...
Maggot asked 21/10, 2008 at 14:34

2

Solved

I see in JConsole that I still have 2 non daemon threads but I can't find out which exactly (total number of thread is beyond 30). Visual VM doesn't provide such information.
Collettecolletti asked 16/12, 2011 at 16:20

1

Solved

using jstack i got an tree of threads running. What is the meaning of the folowing Thread.State's: WAITING TIMED_WAITING RUNNABLE What means the tid and nid? The title of an Thread is like ...
Commodus asked 24/11, 2011 at 10:32

© 2022 - 2024 — McMap. All rights reserved.