[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: Linux: <defunct> unresponsive processes hold up jcmd, jps
From:       Thomas_Stüfe <thomas.stuefe () gmail ! com>
Date:       2018-04-30 18:22:12
Message-ID: CAA-vtUzGdwMoogHjYzp2bMf2bfyoraPLB3VKxMLxgYB32aJg7A () mail ! gmail ! com
[Download RAW message or body]

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@oracle.com>
wrote:

> Is it possible to remove or rename the hsperf file?
>
> Chris
>
> On 4/30/18 6:34 AM, Thomas St=C3=BCfe 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
>
>
>
>

[Attachment #3 (text/html)]

<div dir="auto">I feel stupid right now :)</div><div dir="auto"><br></div><div \
dir="auto">I rebooted my machine in the meantime so the defunct process is gone, but \
I will try deleting the file should the problem reoccurr.</div><div \
dir="auto"><br></div><div dir="auto">Thanks! Thomas</div><div \
dir="auto"><br></div><div><br><div class="gmail_quote"><div>On Mon 30. Apr 2018 at \
19:32, Chris Plummer &lt;<a \
href="mailto:chris.plummer@oracle.com">chris.plummer@oracle.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">Is it possible to remove or rename \
the hsperf file?<br> <br>
Chris<br>
<br>
On 4/30/18 6:34 AM, Thomas Stüfe wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; as the subject says, I have a defunct, unkillable java process on my<br>
&gt; machine. Why it is there I have no idea and no great motivation to<br>
&gt; analyze, it is a remnant from an earlier debug session and quite<br>
&gt; unkillable.<br>
&gt;<br>
&gt; However, it seems jps, jcmd and probably other tools too stumble over<br>
&gt; it. An invocation of jcmd to list current java processes, normally<br>
&gt; instantaneous, takes long.<br>
&gt;<br>
&gt; I assume the tool sees the still existing<br>
&gt; /tmp/hsperfdata_thomas/&lt;pid&gt;, attempts to connect, and times out?<br>
&gt; Would there be a way to avoid attempting to connect to a defunct<br>
&gt; process?<br>
&gt;<br>
&gt; Thanks, Thomas<br>
<br>
<br>
<br>
</blockquote></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic