when ran gprofiler in minikube using kubernates
- Dominant language
- Python
- Stars
- 826
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
what connection it's refused, how can i fix this error
`
[15:13:47] Initialized JavaProfiler (frequency: 11hz, duration: 60s)`
[15:13:49] Initialized SystemProfiler (frequency: 11hz, duration: 60s)
[15:13:49] Initialized PythonEbpfProfiler (frequency: 11hz, duration: 60s)
[15:13:49] Python eBPF profiler initialization failed
[15:13:49] Initialized PySpyProfiler (frequency: 11hz, duration: 60s)
[15:13:49] Initialized RbSpyProfiler (frequency: 11hz, duration: 60s)
[15:13:49] Discovered container runtimes: ['docker', 'containerd']
[15:13:49] gProfiler initialized and ready to start profiling
[15:13:49] Failed to enable proc_events listener for exited Java processes (this does not prevent Java profiling)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/granulate_utils/linux/ns.py", line 231, in _switch_and_run
ret = callback()
File "/usr/local/lib/python3.8/dist-packages/granulate_utils/linux/proc_events.py", line 249, in _start_listener
listener.start()
File "/usr/local/lib/python3.8/dist-packages/granulate_utils/linux/proc_events.py", line 212, in start
self._register_for_connector_events(self._socket)
File "/usr/local/lib/python3.8/dist-packages/granulate_utils/linux/proc_events.py", line 125, in _register_for_connector_events
socket.send(nl_msg)
ConnectionRefusedError: [Errno 111] Connection refusedThe above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/gprofiler/profilers/java.py", line 1050, in start
proc_events.register_exit_callback(self._proc_exit_callback)
File "/usr/local/lib/python3.8/dist-packages/granulate_utils/linux/proc_events.py", line 261, in wrapper
_proc_events_listener = run_in_ns(["net"], _start_listener)
File "/usr/local/lib/python3.8/dist-packages/granulate_utils/linux/ns.py", line 246, in run_in_ns
raise Exception("run_in_ns execution failed") from exc
Exception: run_in_ns execution failed
[15:13:49] Starting perf (fp mode)
[15:13:49] Started perf (fp mode)
Contributor guide
Assessment
This issue has not been assessed yet.