JVM dynamic Attach api issue

Andrew Haley aph at redhat.com
Wed Sep 18 21:40:49 UTC 2019


On 9/18/19 7:56 PM, Rammohan Vanteru wrote:
> 
> I am facing an issue with JVM dynamic Attach api. We have a source code
> which connects to target jvms using dynamic attach api which works fine for
> few days. After couple of days it start’s failing making connections to
> target jvms because /tmp/.java_pid* is removed automatically. We also see
> that target JVMs’s generating thread dump’s in stdout.
> 
> Currently we are using JDK version "1.8.0_172".

Your operating system is doing this. I don't know exactly which OS
that is.

You should be able to find your system's documentation, and see how
the auto-deletion is configured. Then you can turn it off.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the jdk8u-dev mailing list