Open pfilipko1 opened 1 year ago
When looking for nspid, status file does not provide correct .java_pid number, and there are multiple ones.
Path(f"/proc/{application_pid}/root/tmp/.java_pid{get_process_nspid(application_pid)}").unlink()
This seems to be a problem with certain jvms (found using openjdk:342 image), so I would consider closing the issue.
As we talked - this "problem" is because we test gprofiler's behavior against old JVM impls who do not restore the socket after deletion :)
Did you try using an older JVM and now the problem is gone? If so, the ticket can be closed (if https://github.com/Granulate/gprofiler/pull/716 does not xfail those relevant tests).
test:
Output: