google / google/gops

Missing Go process (with agent)

Open
#238 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
7k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

I'm trying out `gops` for the first time and it seems I've managed to found a bug already...

```
$ echo ${GOPS_CONFIG_DIR:-not set}
not set
$ gops
75881 31187 gops go1.21.4 X:arenas /var/home/......../gops
$ ls -l ~/.config/gops/
total 4
-rwxr-xr-x 1 xxx xxx 5 Dec 5 14:35 26880
$ gops 26880
parent PID: 836
threads: 40
memory usage: 24.039%
cpu usage: 432.442%
username: xxx
cmd+args: /home/......./the-app
elapsed time: 02:20:12
```

My app runs under supervisord and uses the default config (empty `agent.Options{}`). I also use https://github.com/grongor/panicwatch (a panicwrap alternative), but I think that neither should be an issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.