pm2 icon indicating copy to clipboard operation
pm2 copied to clipboard

"[PM2][ERROR] Process not found" even though process is running

Open Jivings opened this issue 3 years ago • 6 comments

What's going wrong?

When I try and restart processes by id PM2 tells me the process is not found. I have to delete the process and start it again.

image

How could we reproduce this issue?

I'm not sure, it seems to be intermittent. But most times I try and restart this happens.

Supporting information

$ pm2 report
--- PM2 report ----------------------------------------------------------------
Date                 : Thu Nov 10 2022 11:44:54 GMT+0000 (Coordinated Universal Time)
===============================================================================
--- Daemon -------------------------------------------------
pm2d version         : 5.2.2
node version         : 14.17.0
node path            : /.nvm/versions/node/v14.17.0/bin/pm2
argv                 : /.nvm/versions/node/v14.17.0/bin/node,/.nvm/versions/node/v14.17.0/lib/node_modules/pm2/lib/Daemon.js
argv0                : node
user                 : colin
uid                  : 1000
gid                  : 1000
uptime               : 21093min
===============================================================================
--- CLI ----------------------------------------------------
local pm2            : 5.2.2
node version         : 14.17.0
node path            : /.nvm/versions/node/v14.17.0/bin/pm2
argv                 : /.nvm/versions/node/v14.17.0/bin/node,/.nvm/versions/node/v14.17.0/bin/pm2,report
argv0                : node
user                 : colin
uid                  : 1000
gid                  : 1000
===============================================================================
--- System info --------------------------------------------
arch                 : x64
platform             : linux
type                 : Linux
cpus                 : DO-Regular
cpus nb              : 2
freemem              : 1474363392
totalmem             : 4122656768
home                 : /home/colin
===============================================================================

Jivings avatar Nov 10 '22 11:11 Jivings

same here

Jefry16 avatar Dec 13 '23 10:12 Jefry16

Bugs that still exist

zhangboyanzhangboyan avatar May 16 '24 08:05 zhangboyanzhangboyan

does anyone know how to fix this?

sudodeo avatar Jul 11 '24 09:07 sudodeo