aspose file tools
The moose likes Threads and Synchronization and the fly likes Possible deadlock issues. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "Possible deadlock issues." Watch "Possible deadlock issues." New topic
Author

Possible deadlock issues.

Pavan Kumar
Ranch Hand

Joined: Jan 23, 2004
Posts: 78
Friends,

I am looking at an application, which hangs after a while. We have taken a thread dump, and I am trying to analyze the problem.

Unfortunately, I could not figure out very much out of the dump as my skills are a little inferior at the moment. But one thing that looks like causing the problem is the following thread dump. I see this multiple multiple times in the dump.


Here's the code fragment, that writes to the clients.


Upon looking at the javadoc for PrintWriter, I think using the following is better.


Actual thread dump is pretty long. Could you please suggest what steps should I take to be able to understand the problem better.

Thanks Very much,
Cnu.


formerly known as Cnu
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Possible deadlock issues.
 
Similar Threads
Multithread-call center support
Help with this "ready-bake code", implementing Runnable
Bad clients bringing the server down, help.
Multiple client chat server
Java networking, nothing happens