pm2 icon indicating copy to clipboard operation
pm2 copied to clipboard

pm2 dump loses all entries after unexpected reloading

Open denisenkoaj opened this issue 8 years ago • 3 comments

What's going wrong?

pm2 have no entries about my processes

How could we reproduce this issue?

When something happens unexpectedly that restart pm2 process. For example free disk space runs out.

Supporting information

I have last version Please run the following command (available on PM2 >= 2.6)

--- PM2 REPORT (Wed Feb 21 2018 21:05:31 GMT+0000 (UTC)) 
--- Daemon -------------------------------------------------
pm2d version         : 2.9.3
node version         : 8.9.4
node path            : undefined
argv                 : /usr/bin/node,/usr/lib/node_modules/pm2/lib/Daemon.js
argv0                : node
user                 : daj
uid                  : 1000
gid                  : 1000
uptime               : 102min
--- CLI ----------------------------------------------------
local pm2            : 2.9.3
node version         : 8.9.4
node path            : /usr/bin/pm2
argv                 : /usr/bin/node,/usr/bin/pm2,report
argv0                : node
user                 : daj
uid                  : 1000
gid                  : 1000
--- System info --------------------------------------------
arch                 : x64
platform             : linux
type                 : Linux
cpus                 : Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz
cpus nb              : 2
freemem              : 954937344
totalmem             : 2097299456
home                 : /home/daj

I've tried to add flag +i to pm2 dump, but it blocked Keymetrics online monitoring

denisenkoaj avatar Feb 21 '18 21:02 denisenkoaj

seems like https://github.com/Unitech/pm2/issues/2827

denisenkoaj avatar Feb 21 '18 21:02 denisenkoaj

maybe this mechanism https://github.com/Unitech/pm2/pull/3001 need more inspection

Unitech avatar Feb 22 '18 22:02 Unitech

image

Unitech avatar Feb 23 '18 09:02 Unitech