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.plum...@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 > > > >