tableflip / guvnor

A node process manager that isn't spanners all the way down
MIT License
430 stars 37 forks source link

Random guvnor daemon crashes #86

Open jvictorsoto opened 8 years ago

jvictorsoto commented 8 years ago

I'm experiencing some random crashes on guvnor daemon, log output shows some issue while communicating with guvnor-web:

{"date":"Fri Dec 25 2015 02:15:33 GMT+0100 (CET)","process":{"pid":1293,"uid":0,"gid":1000,"cwd":"/run/guvnor","execPath":"/usr/local/bin/node","version":"v4.2.3","argv":["/usr/local/bin/node","/usr/local/lib/node_modules/guvnor/lib/daemon/index.js"],"memoryUsage":{"rss":30953472,"heapTotal":18555392,"heapUsed":12317304}},"os":{"loadavg":[0.0029296875,0.0146484375,0.04541015625],"uptime":606685},"trace":[{"column":3,"file":"_stream_writable.js","function":"afterWrite","line":346,"method":null,"native":false},{"column":7,"file":"_stream_writable.js","function":"onwrite","line":337,"method":null,"native":false},{"column":5,"file":"_stream_writable.js","function":"TLSSocket.WritableState.onwrite","line":89,"method":"WritableState.onwrite","native":false},{"column":12,"file":"net.js","function":"WriteWrap.afterWrite","line":775,"method":"afterWrite","native":false}],"stack":["TypeError: object is not a function"," at afterWrite (_stream_writable.js:346:3)"," at onwrite (_stream_writable.js:337:7)"," at TLSSocket.WritableState.onwrite (_stream_writable.js:89:5)"," at WriteWrap.afterWrite (net.js:775:12)"],"level":"error","message":"uncaughtException: object is not a function","timestamp":"2015-12-25T01:15:33.173Z"}

Node v4.2.3 LTS Guvnor v3.5.16

Any thoughts? Everything works fine until daemon crash, and manual guvnor start is required.

gclem commented 8 years ago

+1

Random crash.

I must call a guv list to restart all workers an guv by the way. I haven't told to stop or restart any workers.

capture d ecran 2016-01-21 a 08 38 25
gclem commented 8 years ago

This issue is occuring randomly, and I must switch to PM2 by the way :/