Linux: <defunct> unresponsive processes hold up jcmd, jps

Thomas Stüfe thomas.stuefe at gmail.com
Mon Apr 30 18:22:12 UTC 2018


I feel stupid right now :)

I rebooted my machine in the meantime so the defunct process is gone, but I
will try deleting the file should the problem reoccurr.

Thanks! Thomas


On Mon 30. Apr 2018 at 19:32, Chris Plummer <chris.plummer at oracle.com>
wrote:

> Is it possible to remove or rename the hsperf file?
>
> Chris
>
> On 4/30/18 6:34 AM, Thomas Stüfe wrote:
> > Hi all,
> >
> > as the subject says, I have a defunct, unkillable java process on my
> > machine. Why it is there I have no idea and no great motivation to
> > analyze, it is a remnant from an earlier debug session and quite
> > unkillable.
> >
> > However, it seems jps, jcmd and probably other tools too stumble over
> > it. An invocation of jcmd to list current java processes, normally
> > instantaneous, takes long.
> >
> > I assume the tool sees the still existing
> > /tmp/hsperfdata_thomas/<pid>, attempts to connect, and times out?
> > Would there be a way to avoid attempting to connect to a defunct
> > process?
> >
> > Thanks, Thomas
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20180430/13e1c00e/attachment.html>


More information about the serviceability-dev mailing list