Skip to content

Instantly share code, notes, and snippets.

@Unitech
Created August 29, 2014 19:23
Show Gist options
  • Save Unitech/af9cfc0dd2643972b3ce to your computer and use it in GitHub Desktop.
Save Unitech/af9cfc0dd2643972b3ce to your computer and use it in GitHub Desktop.
################## GRACEFUL RELOAD 2 ###################
pm2:satan [PING PM2] Trying to connect to server +0ms
pm2:satan Daemon not launched +111ms
pm2:satan PM2 alive: false +1ms
pm2:satan Launching daemon +1ms
pm2:satan PM2 Daemon launched +169ms { online: true, success: true, pid: 5013, pm2_version: '0.10.4' }
pm2:interface:daemon [PING INTERACTOR] Trying to connect to Interactor daemon +5ms
pm2:interface:daemon Interactor Daemon not launched +101ms
pm2:interface:daemon Interactor offline, launching it... +0ms
pm2:interface:daemon Waiting for message +15ms
pm2:interface:daemon Interactor ready +203ms
[Keymetrics.io] Launched - Log: /home/travis/.pm2/agent.log | Conf: /home/travis/.pm2/agent.json | PID: /home/travis/.pm2/agent.pid
pm2:satan Launching RPC client on port 6666 localhost +121ms
pm2:satan Connected to Daemon +4ms
pm2:cli Got message from Satan as succesfully connected to PM2, now parsing arguments +300ms
[PM2] Stopping PM2...
[PM2] Deleting all process
pm2:satan Calling daemon method pm2:getMonitorData +1ms
[PM2] All processes has been stopped and deleted
pm2:interface:daemon Killing interactor #1 ping +8ms
pm2:interface:daemon [PING INTERACTOR] Trying to connect to Interactor daemon +0ms
pm2:interface:daemon Interactor Daemon alive +1ms
pm2:interface:daemon Ping socket closed +0ms
pm2:interface:daemon Interactor online +1ms true
pm2:interface:daemon Generating methods +0ms
pm2:interface:daemon +-- Creating kill method +4ms
pm2:interface:daemon +-- Creating getInfos method +0ms
pm2:interface:daemon Methods generated +0ms
pm2:interface:daemon Error when launching Interactor, please check the agent logs +57ms
pm2:satan Launching RPC client on port 6666 localhost +19ms
pm2:satan Connected to Daemon +1ms
pm2:interface:daemon Socket already disconnected +26ms
pm2:satan Calling stopWatch +100ms
pm2:satan Calling daemon method pm2:killMe +1ms
pm2:satan Stop watching +1ms
pm2:satan Disconnecting PM2 RPC +0ms
pm2:satan PM2 RPC closed +1ms
pm2:cli Got message from Satan as succesfully connected to PM2, now parsing arguments +172ms
[PM2] Stopping PM2...
[PM2] Deleting all process
pm2:satan Calling daemon method pm2:getMonitorData +0ms
[PM2] PM2 stopped
pm2:satan Disconnecting PM2 RPC +29ms
pm2:interface:daemon Socket already disconnected +0ms
Launching
pm2:satan [PING PM2] Trying to connect to server +0ms
pm2:satan Daemon not launched +109ms
pm2:satan PM2 alive: false +1ms
pm2:satan Launching daemon +0ms
pm2:satan PM2 Daemon launched +204ms { online: true, success: true, pid: 5031, pm2_version: '0.10.4' }
pm2:interface:daemon [PING INTERACTOR] Trying to connect to Interactor daemon +4ms
pm2:interface:daemon Interactor Daemon not launched +101ms
pm2:interface:daemon Interactor offline, launching it... +0ms
pm2:interface:daemon Waiting for message +6ms
pm2:interface:daemon Interactor ready +216ms
[Keymetrics.io] Launched - Log: /home/travis/.pm2/agent.log | Conf: /home/travis/.pm2/agent.json | PID: /home/travis/.pm2/agent.pid
pm2:satan Launching RPC client on port 6666 localhost +122ms
pm2:satan Connected to Daemon +3ms
pm2:cli Got message from Satan as succesfully connected to PM2, now parsing arguments +301ms
pm2:satan Calling daemon method pm2:findByFullPath +2ms
pm2:satan Calling daemon method pm2:prepare +9ms
[PM2] Process graceful-exit-no-listen.js launched
pm2:monit Getting interaction info +177ms
pm2:interface:daemon [PING INTERACTOR] Trying to connect to Interactor daemon +0ms
pm2:interface:daemon Interactor Daemon alive +1ms
pm2:interface:daemon Ping socket closed +0ms
pm2:interface:daemon Generating methods +4ms
pm2:interface:daemon +-- Creating kill method +2ms
pm2:interface:daemon +-- Creating getInfos method +0ms
pm2:interface:daemon Methods generated +0ms
pm2:interface:daemon Closing RPC INTERACTOR +2ms
pm2:interface:daemon RPC INTERACTOR cleanly closed +1ms
pm2:satan Calling daemon method pm2:getMonitorData +0ms
● Agent online - public key: XXXP3 - machine name: testing-worker-linux-10-2-14444-linux-2-33931820 - Web access: http://app.keymetrics.io/
┌───────────┬────┬─────────┬──────┬────────┬───────────┬────────┬─────────────┬─────────────┐
│ App name │ id │ mode │ PID │ status │ restarted │ uptime │ memory │ watching │
├───────────┼────┼─────────┼──────┼────────┼───────────┼────────┼─────────────┼─────────────┤
│ graceful2 │ 0 │ cluster │ 5043 │ online │ 0 │ 0s │ 11.211 MB │ unactivated │
│ graceful2 │ 1 │ cluster │ 5049 │ online │ 0 │ 0s │ 11.207 MB │ unactivated │
└───────────┴────┴─────────┴──────┴────────┴───────────┴────────┴─────────────┴─────────────┘
Use `pm2 desc[ribe] <id>` to get more details
pm2:satan Disconnecting PM2 RPC +52ms
pm2:interface:daemon Socket being closed +0ms
pm2:satan PM2 RPC closed +1ms
------------> ✔ should start processes
events.js:72
throw er; // Unhandled 'error' event
^
Error: write EPIPE
at errnoException (net.js:904:11)
at Object.afterWrite (net.js:720:19)
pm2:satan [PING PM2] Trying to connect to server +0ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment