{"action":"created","issue":{"url":"https://api.github.com/repos/Unitech/PM2/issues/1150","labels_url":"https://api.github.com/repos/Unitech/PM2/issues/1150/labels{/name}","comments_url":"https://api.github.com/repos/Unitech/PM2/issues/1150/comments","events_url":"https://api.github.com/repos/Unitech/PM2/issues/1150/events","html_url":"https://github.com/Unitech/PM2/issues/1150","id":66891642,"number":1150,"title":"Apps disappear from pm list but are still running.","user":{"login":"albertjan","id":301791,"avatar_url":"https://avatars.githubusercontent.com/u/301791?v=3","gravatar_id":"","url":"https://api.github.com/users/albertjan","html_url":"https://github.com/albertjan","followers_url":"https://api.github.com/users/albertjan/followers","following_url":"https://api.github.com/users/albertjan/following{/other_user}","gists_url":"https://api.github.com/users/albertjan/gists{/gist_id}","starred_url":"https://api.github.com/users/albertjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertjan/subscriptions","organizations_url":"https://api.github.com/users/albertjan/orgs","repos_url":"https://api.github.com/users/albertjan/repos","events_url":"https://api.github.com/users/albertjan/events{/privacy}","received_events_url":"https://api.github.com/users/albertjan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-07T14:00:06Z","updated_at":"2015-04-14T15:34:24Z","closed_at":null,"body":"Start command:\r\n```sh\r\nroot@test:~/api/jobs# pm2 start package.json\r\n[PM2] Spawning PM2 daemon\r\n[PM2] PM2 Successfully daemonized\r\n[PM2] Process launched\r\n[PM2] Process launched\r\n[PM2] Process launched\r\n[PM2] Process launched\r\n[PM2] Process launched\r\n┌────────────────────────────┬────┬──────┬───────┬────────┬─────────┬────────┬─────────────┬──────────┐\r\n│ App name                   │ id │ mode │ pid   │ status │ restart │ uptime │ memory      │ watching │\r\n├────────────────────────────┼────┼──────┼───────┼────────┼─────────┼────────┼─────────────┼──────────┤\r\n│ vragenlijstemail-generator │ 0  │ fork │ 15667 │ online │ 0       │ 1s     │ 25.098 MB   │  enabled │\r\n│ antwoordlijst-generator    │ 1  │ fork │ 15668 │ online │ 0       │ 1s     │ 23.914 MB   │  enabled │\r\n│ brieftekst-generator       │ 2  │ fork │ 15669 │ online │ 0       │ 1s     │ 20.926 MB   │  enabled │\r\n│ hoofdstuk-generator        │ 3  │ fork │ 15670 │ online │ 0       │ 1s     │ 21.590 MB   │  enabled │\r\n│ score-generator            │ 4  │ fork │ 15671 │ online │ 0       │ 1s     │ 20.816 MB   │  enabled │\r\n└────────────────────────────┴────┴──────┴───────┴────────┴─────────┴────────┴─────────────┴──────────┘\r\n Use `pm2 show <id|name>` to get more details about an app\r\n```\r\n\r\nAfter a while (list):\r\n\r\n```sh\r\nroot@test:~/api/jobs# pm2 list\r\n[PM2] Spawning PM2 daemon\r\n[PM2] PM2 Successfully daemonized\r\n┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬────────┬──────────┐\r\n│ App name │ id │ mode │ pid │ status │ restart │ uptime │ memory │ watching │\r\n└──────────┴────┴──────┴─────┴────────┴─────────┴────────┴────────┴──────────┘\r\n Use `pm2 show <id|name>` to get more details about an app\r\n```\r\n\r\nBut the nodes still run:\r\n\r\n```sh\r\nroot@test:~/api/jobs# ps aux | grep node\r\nroot     12676  1.1  6.8 605444 34216 pts/2    S+   09:10   0:30 node /usr/local/bin/pm2 monit\r\nroot     15667  0.1 12.1 923936 61204 ?        Ssl  09:35   0:01 node /root/api/jobs/dist/continuous/vragenlijstemail-generator/run.js\r\nroot     15668  0.1 15.3 933044 77008 ?        Ssl  09:35   0:01 node /root/api/jobs/dist/continuous/antwoordlijst-generator/run.js\r\nroot     15669  0.1 13.7 926488 69060 ?        Ssl  09:35   0:02 node /root/api/jobs/dist/continuous/brieftekst-generator/run.js\r\nroot     15670  0.1 12.9 923992 64960 ?        Ssl  09:35   0:01 node /root/api/jobs/dist/continuous/hoofdstuk-generator/run.js\r\nroot     15671  0.1 13.9 926408 69832 ?        Ssl  09:35   0:02 node /root/api/jobs/dist/continuous/score-generator/run.js\r\nroot     17906  0.0  0.1  11740   936 pts/0    S+   09:54   0:00 grep --color=auto node\r\nroot@test:~/api/jobs#\r\n```\r\nVersions:\r\n\r\n```sh\r\nroot@test:~/api/jobs# pm2 --version\r\n0.12.9\r\nroot@test:~/api/jobs# node --version\r\nv0.12.1\r\nroot@test:~/api/jobs# uname -a\r\nLinux test 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Unitech/PM2/issues/comments/92912877","html_url":"https://github.com/Unitech/PM2/issues/1150#issuecomment-92912877","issue_url":"https://api.github.com/repos/Unitech/PM2/issues/1150","id":92912877,"user":{"login":"jshkurti","id":7647602,"avatar_url":"https://avatars.githubusercontent.com/u/7647602?v=3","gravatar_id":"","url":"https://api.github.com/users/jshkurti","html_url":"https://github.com/jshkurti","followers_url":"https://api.github.com/users/jshkurti/followers","following_url":"https://api.github.com/users/jshkurti/following{/other_user}","gists_url":"https://api.github.com/users/jshkurti/gists{/gist_id}","starred_url":"https://api.github.com/users/jshkurti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshkurti/subscriptions","organizations_url":"https://api.github.com/users/jshkurti/orgs","repos_url":"https://api.github.com/users/jshkurti/repos","events_url":"https://api.github.com/users/jshkurti/events{/privacy}","received_events_url":"https://api.github.com/users/jshkurti/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T15:34:24Z","updated_at":"2015-04-14T15:34:24Z","body":"@karan ```There should never be any instance when pm2 runs out of memory.```\r\nWe could close all apps when pm2 runs out of memory but isn't it better if your server keeps running even when PM2 dies ?"}}