<div><span style="font-family: "lucida Grande", Verdana;">Yes Alan, I mean this</span></div><div><includetail><div> </div><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b> "Alan Bateman"<Alan.Bateman@oracle.com>;</div><div><b>Date: </b> Thu, Jun 20, 2019 02:54 PM</div><div><b>To: </b> "nijiaben"<nijiaben@perfma.com>; "David Holmes"<david.holmes@oracle.com>; "serviceability-dev"<serviceability-dev@openjdk.java.net>; "jdk8u-dev"<jdk8u-dev@openjdk.java.net>; "hotspot-runtime-dev"<hotspot-runtime-dev@openjdk.java.net>; <wbr></div><div></div><div><b>Subject: </b> Re: A Bug about the JVM Attach mechanism</div></div><div> </div><div style="position:relative;"><div id="tmpcontent_res"></div>On 20/06/2019 05:10, nijiaben wrote:<br>> :<br>> I know this mechanism, can we provide means of recovery to avoid unavailability caused by accidental deletion?<br>><br>Are you concerned about tmpreaper or cron jobs that periodically cleanup <br>/tmp? There may indeed be an issue for applications that run for weeks <br>or months. If someone is using jmap, jcmd or other tools using the <br>attach API then it will trigger the attach listener to start. When they <br>come back in a few weeks then the .java_pid<pid> file may have been <br>removed so they cannot attach. Is this what what you are pointing out?<br><br>-Alan<br></div></div><!--<![endif]--></includetail></div>