google/gops

Missing Go process (with agent)

grongor opened this issue · 0 comments

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.