Can we disable the files writing to /tmp/hsperfdata_applmgr?
Can we disable the files writing to /tmp/hsperfdata_applmgr? I have see online positive and negative comments about disabling. I went to this link : http://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html
I see -XX:+UsePerfData for disabling and -XX:ErrorFile=filename for redirecting the file to another directory.
Also, I have seen someone write up:
Another alternative is to set -XX:+PerfDataDisableSharedMem. This will
prevent the hsperfdata_pid files from being created, but will still allow
JMX clients, like jconsole, to access the instrumentation via JMX interfaces.
This is less disruptive than the -XX:-UsePerfData option.