Unitech/PM2 — pull request #719 by newjueqi (2014-09-18 05:37:52+00:00)
Title: after run pm2 for some time, all processes Managed by pm2 is disappear

nodejs: 10:30 pm2:0.9.3

err log:

return codec.decode(msg);
^
TypeError: Cannot call method 'decode' of undefined
at Parser.decode (/data/bmob/installed/nodejs0.10.30/lib/node_modules/pm2/node_modules/axon/lib/parser.js:176:16)
at Parser.parseBody (/data/bmob/installed/nodejs0.10.30/lib/node_modules/pm2/node_modules/axon/lib/parser.js:153:31)
at Parser.frameBody (/data/bmob/installed/nodejs0.10.30/lib/node_modules/pm2/node_modules/axon/lib/parser.js:106:25)
at Parser.write (/data/bmob/installed/nodejs0.10.30/lib/node_modules/pm2/node_modules/axon/lib/parser.js:50:13)
at Parser.frameHeader (/data/bmob/installed/nodejs0.10.30/lib/node_modules/pm2/node_modules/axon/lib/parser.js:81:30)
at Parser.write (/data/bmob/installed/nodejs0.10.30/lib/node_modules/pm2/node_modules/axon/lib/parser.js:49:36)
at Socket.emit (events.js:95:17)
at Socket. (_stream_readable.js:764:14)
at Socket.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:426:10)