Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #34457

Re: Stallled Gets

From Brixomatic <brixomatic@yahoo.com>
Newsgroups comp.lang.java.programmer
Subject Re: Stallled Gets
Date 2016-06-04 11:05 +0200
Organization Aioe.org NNTP Server
Message-ID <MPG.31bcb837cc237a479896b9@news.aioe.org> (permalink)
References <9ogbkbh73v2lim2ujaoa3vdclnvrjoqb2c@4ax.com> <ni5egi$1494$1@gioia.aioe.org> <cs3qkbpbhlr1m8j3tdhlpiek8jp30dui71@4ax.com>

Show all headers | View raw


In article <cs3qkbpbhlr1m8j3tdhlpiek8jp30dui71@4ax.com>, Roedy Green 
(inquiry@mindprod.com) says...
> 
> On Wed, 25 May 2016 20:03:31 -0400, Arne Vajhøj <arne@vajhoej.dk>
> wrote:
> 
> >Are you displaying/logging all exceptions?
> 
> Yes.  Nothing happens. The program just stalls as if I had specified
> an infinite timeout. No exception.
> 
> Part of the problem is this happens rarely and typically after running
> 6  hours or so.  Is there some way to probe a frozen program to find
> out what every thread is waiting for?|

Have you tried JVisualVM, which has a thread view and the possibility to 
dump threads?
Have you tried 
jstack <pid> >> threaddump.log
(jstack is included in the jdk\bin folder)?
Have you tried running your programm in the debugger and stopping the 
program using the pause button?

Kind regards,
Wanja



-- 
..Alesi's problem was that the back of the car was jumping up and down 
dangerously - and I can assure you from having been teammate to 
Jean Alesi and knowing what kind of cars that he can pull up with, 
when Jean Alesi says that a car is dangerous - it is. [Jonathan Palmer]

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Stallled Gets Roedy Green <see_website@mindprod.com.invalid> - 2016-05-25 08:26 -0700
  Re: Stallled Gets Andreas Leitgeb <avl@logic.at> - 2016-05-25 16:52 +0000
  Re: Stallled Gets Arne Vajhøj <arne@vajhoej.dk> - 2016-05-25 20:03 -0400
    Re: Stallled Gets Roedy Green <inquiry@mindprod.com> - 2016-05-30 21:25 -0700
      Re: Stallled Gets Brixomatic <brixomatic@yahoo.com> - 2016-06-04 11:05 +0200

csiph-web