You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I start my process NODE_ENV=development HTTP_PORT=2999 HTTPS_PORT=3000 SOCKETS=localhost:3001 pm2 startOrRestart ./config/pm2-proxy.config.js --env development and I see the watching enabled from pm2 list
I stop the process with pm2 stop <processname>
I restart the process with pm2 start <processname>
I see the watching disabled from pm2 list
PM2 report:
===============================================================================
--- PM2 REPORT (Fri Jun 08 2018 11:31:10 GMT+0200 (Central European Summer Time))
===============================================================================
--- Daemon -------------------------------------------------
pm2d version : 2.10.4
node version : 10.4.0
node path : /usr/local/bin/pm2
argv : /usr/local/Cellar/node/10.4.0/bin/node,/usr/local/lib/node_modules/pm2/lib/Daemon.js
argv0 : node
user : damiano
uid : 502
gid : 20
uptime : 117min
===============================================================================
--- CLI ----------------------------------------------------
local pm2 : 2.10.4
node version : 10.4.0
node path : /usr/local/bin/pm2
argv : /usr/local/Cellar/node/10.4.0/bin/node,/usr/local/bin/pm2,report
argv0 : node
user : damiano
uid : 502
gid : 20
===============================================================================
--- System info --------------------------------------------
arch : x64
platform : darwin
type : Darwin
cpus : Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
cpus nb : 4
freemem : 716713984
totalmem : 17179869184
home : /Users/damiano
===============================================================================
--- PM2 list -----------------------------------------------
┌─────────────────┬────┬─────────┬───────┬────────┬─────────┬────────┬─────┬───────────┬─────────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │
├─────────────────┼────┼─────────┼───────┼────────┼─────────┼────────┼─────┼───────────┼─────────┼──────────┤
│ tav-proxy │ 0 │ cluster │ 42920 │ online │ 4 │ 2m │ 0% │ 29.5 MB │ damiano │ enabled │
│ tav-socket-3001 │ 1 │ cluster │ 42856 │ online │ 2 │ 2m │ 0% │ 27.9 MB │ damiano │ disabled │
└─────────────────┴────┴─────────┴───────┴────────┴─────────┴────────┴─────┴───────────┴─────────┴──────────┘
===============================================================================
--- Daemon logs --------------------------------------------
/Users/damiano/.pm2/pm2.log last 20 lines:
PM2 | [2018-06-08 11:28:21] PM2 log: pid=42790 msg=process killed
PM2 | [2018-06-08 11:28:21] PM2 error: Change detected on path logs/socket-1.log for app tav-proxy - restarting
PM2 | [2018-06-08 11:28:21] PM2 log: Stopping app:tav-proxy id:0
PM2 | [2018-06-08 11:28:21] PM2 log: App name:tav-proxy id:0 disconnected
PM2 | [2018-06-08 11:28:21] PM2 log: App [tav-proxy] with id [0] and pid [42768], exited with code [0] via signal [SIGINT]
PM2 | [2018-06-08 11:28:21] PM2 log: pid=42768 msg=process killed
PM2 | [2018-06-08 11:28:21] PM2 log: Starting execution sequence in -cluster mode- for app name:tav-proxy id:0
PM2 | [2018-06-08 11:28:21] PM2 log: App name:tav-proxy id:0 online
PM2 | (node:42833) ExperimentalWarning: The ESM module loader is experimental.
PM2 | [2018-06-08 11:28:25] PM2 log: Starting execution sequence in -cluster mode- for app name:tav-socket-3001 id:1
PM2 | [2018-06-08 11:28:25] PM2 log: App name:tav-socket-3001 id:1 online
PM2 | (node:42856) ExperimentalWarning: The ESM module loader is experimental.
PM2 | [2018-06-08 11:28:36] PM2 error: Change detected on path package.json for app tav-proxy - restarting
PM2 | [2018-06-08 11:28:36] PM2 log: Stopping app:tav-proxy id:0
PM2 | [2018-06-08 11:28:36] PM2 log: App name:tav-proxy id:0 disconnected
PM2 | [2018-06-08 11:28:36] PM2 log: App [tav-proxy] with id [0] and pid [42833], exited with code [0] via signal [SIGINT]
PM2 | [2018-06-08 11:28:36] PM2 log: pid=42833 msg=process killed
PM2 | [2018-06-08 11:28:36] PM2 log: Starting execution sequence in -cluster mode- for app name:tav-proxy id:0
PM2 | [2018-06-08 11:28:36] PM2 log: App name:tav-proxy id:0 online
PM2 | (node:42920) ExperimentalWarning: The ESM module loader is experimental.
Please copy/paste the above report in your issue on https://github.com/Unitech/pm2/issues
The text was updated successfully, but these errors were encountered:
Please close this if duplicated: I tried to search but I did not find quite the same question.
I noticed the following.
I start my process
NODE_ENV=development HTTP_PORT=2999 HTTPS_PORT=3000 SOCKETS=localhost:3001 pm2 startOrRestart ./config/pm2-proxy.config.js --env development
and I see thewatching
enabled frompm2 list
I stop the process with
pm2 stop <processname>
I restart the process with
pm2 start <processname>
I see the
watching
disabled frompm2 list
PM2 report:
The text was updated successfully, but these errors were encountered: