Skip to content

Instantly share code, notes, and snippets.

View Unitech's full-sized avatar

Alexandre Strzelewicz Unitech

View GitHub Profile
All logs reloaded
sleep 1
/home/travis/build/Unitech/PM2/lib/ProcessContainer.js:88
stds[k].close();
^
TypeError: Object /home/travis/build/Unitech/PM2/test/fixtures/out-rel.log has no method 'close'
at process.<anonymous> (/home/travis/build/Unitech/PM2/lib/ProcessContainer.js:88:17)
at process.emit (events.js:117:20)
at handleMessage (child_process.js:322:10)
at Pipe.channel.onread (child_process.js:349:11)
Running tests for json files :
$pm2 start all.json
[PM2] Spawning PM2 daemon
2014-12-12 14:44:43: [PM2][WORKER] Started with refreshing interval: 30000
2014-12-12 14:44:43: [[[[ PM2/God daemon launched ]]]]
2014-12-12 14:44:43: BUS system [READY] on port /home/travis/.pm2/pub.sock
2014-12-12 14:44:43: RPC interface [READY] on port /home/travis/.pm2/rpc.sock
[PM2] Success
2014-12-12 14:44:43: Starting execution sequence in -fork mode- for app name:echo id:0
2014-12-12 14:44:43: App name:echo id:0 online
2014-12-16 02:03:44: Starting execution sequence in -cluster mode- for app name:AXM-WEB-API id:1
2014-12-16 02:03:44: App name:AXM-WEB-API id:1 online
2014-12-16 02:03:45: Error: channel closed
at ChildProcess.target.send (child_process.js:413:26)
at sendHelper (cluster.js:657:8)
at RoundRobinHandle.handoff (cluster.js:198:3)
at RoundRobinHandle.distribute (cluster.js:184:20)
location /socket.io {
proxy_pass http://vsapi;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_read_timeout 20s;
}
@Unitech
Unitech / gist:3039d23518be2ed778f9
Created January 29, 2015 14:16
Interact stop sending data to Keymetrics
{ [Error: getaddrinfo ESRCH] code: 'ESRCH', errno: 'ESRCH', syscall: 'getaddrinfo' }
{ [Error: getaddrinfo ESRCH] code: 'ESRCH', errno: 'ESRCH', syscall: 'getaddrinfo' }
{ [Error: getaddrinfo ESRCH] code: 'ESRCH', errno: 'ESRCH', syscall: 'getaddrinfo' }
{ [Error: getaddrinfo ESRCH] code: 'ESRCH', errno: 'ESRCH', syscall: 'getaddrinfo' }
{ [Error: getaddrinfo ESRCH] code: 'ESRCH', errno: 'ESRCH', syscall: 'getaddrinfo' }
{ [Error: getaddrinfo ESRCH] code: 'ESRCH', errno: 'ESRCH', syscall: 'getaddrinfo' }
{ [Error: getaddrinfo ESRCH] code: 'ESRCH', errno: 'ESRCH', syscall: 'getaddrinfo' }
{ [Error: getaddrinfo ESRCH] code: 'ESRCH', errno: 'ESRCH', syscall: 'getaddrinfo' }
{ [Error: getaddrinfo ESRCH] code: 'ESRCH', errno: 'ESRCH', syscall: 'getaddrinfo' }
{ [Error: getaddrinfo ESRCH] code: 'ESRCH', errno: 'ESRCH', syscall: 'getaddrinfo' }
var TIME_INTERVAL = 1000;
var oldTime = process.hrtime();
var histogram = probe.histogram({
name : 'Loop delay',
measurement : 'mean',
unit : 'ms'
});
var pmx = require('pmx')({
http : true,
errors : true,
custom_probes : true
});
[
{
"created_at":"Fri Oct 03 2014 13:01:27 GMT+00:00",
"data":{
"active":false,
"process":[
{
"axm_actions":[
],
/usr/local/lib/node_modules/pm2/lib/tools/VersionManagement.js:279
if (repo_path[repo_path.length - 1] !== '/')
^
TypeError: Cannot read property 'length' of undefined
at getPostUpdateCmds (/usr/local/lib/node_modules/pm2/lib/tools/VersionManagement.js:279:26)
log_facility=daemon
pid_file=/var/run/nagios/nrpe.pid
server_port=5666
nrpe_user=nrpe
nrpe_group=nrpe
allowed_hosts=198.211.117.251
dont_blame_nrpe=1
debug=0
command_timeout=60
connection_timeout=300