{"action":"created","issue":{"url":"https://api.github.com/repos/Unitech/pm2/issues/2288","repository_url":"https://api.github.com/repos/Unitech/pm2","labels_url":"https://api.github.com/repos/Unitech/pm2/issues/2288/labels{/name}","comments_url":"https://api.github.com/repos/Unitech/pm2/issues/2288/comments","events_url":"https://api.github.com/repos/Unitech/pm2/issues/2288/events","html_url":"https://github.com/Unitech/pm2/issues/2288","id":166545014,"number":2288,"title":"Process is being started automatically","user":{"login":"goforgold","id":1727061,"avatar_url":"https://avatars.githubusercontent.com/u/1727061?v=3","gravatar_id":"","url":"https://api.github.com/users/goforgold","html_url":"https://github.com/goforgold","followers_url":"https://api.github.com/users/goforgold/followers","following_url":"https://api.github.com/users/goforgold/following{/other_user}","gists_url":"https://api.github.com/users/goforgold/gists{/gist_id}","starred_url":"https://api.github.com/users/goforgold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goforgold/subscriptions","organizations_url":"https://api.github.com/users/goforgold/orgs","repos_url":"https://api.github.com/users/goforgold/repos","events_url":"https://api.github.com/users/goforgold/events{/privacy}","received_events_url":"https://api.github.com/users/goforgold/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-20T10:04:25Z","updated_at":"2016-09-24T14:57:10Z","closed_at":null,"body":"If reporting a bug, please use the following template.\r\n\r\n#### Expected behaviour\r\n\r\nProjects starts\r\n\r\n#### Actual behaviour\r\n\r\nGives error that port is already in use\r\n\r\n#### Steps to reproduce\r\n\r\n- Find process ID by port number `netstat -nltp | grep 9191`\r\n- Kill the process. `kill -9 PID` It is immediately starting the project automatically when I've already removed it from PM2 using `pm2 delete PID` and it doesn't appear in `pm2 list`.\r\n- Try re-adding the process `pm2 start app.js --name=\"a-name\"`. And it is saying that port is already in use. I checked in browser, and find out the project is already running which is really weird.\r\n\r\n#### Software versions used\r\n\r\n```\r\nOS         : CentOS 6.7\r\nnode.js    : 5.0.0 (sorry can't upgrade)\r\nPM2        : 1.1.3\r\n```\r\n\r\n#### PM2 Log output\r\n\r\nUse the command: `tail --lines 50 ~/.pm2/pm2.log`\r\n\r\n```\r\nReally needed ?\r\n```\r\n\r\nAlso, check this for complete explanation.\r\nhttp://serverfault.com/questions/790874/\r\n"},"comment":{"url":"https://api.github.com/repos/Unitech/pm2/issues/comments/249368849","html_url":"https://github.com/Unitech/pm2/issues/2288#issuecomment-249368849","issue_url":"https://api.github.com/repos/Unitech/pm2/issues/2288","id":249368849,"user":{"login":"vmarchaud","id":2820968,"avatar_url":"https://avatars.githubusercontent.com/u/2820968?v=3","gravatar_id":"","url":"https://api.github.com/users/vmarchaud","html_url":"https://github.com/vmarchaud","followers_url":"https://api.github.com/users/vmarchaud/followers","following_url":"https://api.github.com/users/vmarchaud/following{/other_user}","gists_url":"https://api.github.com/users/vmarchaud/gists{/gist_id}","starred_url":"https://api.github.com/users/vmarchaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmarchaud/subscriptions","organizations_url":"https://api.github.com/users/vmarchaud/orgs","repos_url":"https://api.github.com/users/vmarchaud/repos","events_url":"https://api.github.com/users/vmarchaud/events{/privacy}","received_events_url":"https://api.github.com/users/vmarchaud/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T14:57:10Z","updated_at":"2016-09-24T14:57:10Z","body":"Could you try using latest pm2 version : `npm install pm2 -g && pm2 update` ? Maybe that you have two pm2 instance running ?"}}
{"actor":{"display_login":"vmarchaud"}}