heesung-sn commented on PR #15762:
URL: https://github.com/apache/pulsar/pull/15762#issuecomment-1382577358

   > hi @heesung-sn, when add the `-XX:+PerfDisableSharedMem` ,which makes the 
`jps` `jstat` commands unusable. What is the purpose of turning on this 
parameter in the first place?
   
   As I explained in the above, this  `-XX:+PerfDisableSharedMem` flag is to 
fix the possible high GC pause latencies due to IO blocking when the garbage 
collector tries to write to /tmp (hsperfdata).
   
   I think this SO discussion is a good reference too.
   
https://stackoverflow.com/questions/66806890/is-there-any-performance-downsides-to-using-the-xxperfdisablesharedmem-jvm
   
   We can collect performance counts by `jcmd <pid> PerfCounter.print `. Of 
course, users can override this default setting if they want `jps` and `jstat`.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to