-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes Locks Socket/Port Until Killed #350
Comments
I am running into same issue. |
same here |
It's due to issues related to the cluster module on 0.10.x - #74 |
I am using fork mode. |
Same here. |
DONT USE cluster_mode with Node 0.10.x ! Only Node 0.11.X (0.11.14 prefered) |
I'm facing similar issue with PM2 version 1.1.2. Node version is 5.7.1. We're using PM2 to power our node application behind nginx. PM2 is running in cluster mode. After each of out deployment we perform PM2 reload all operation to perform a zero downtime restart. But we find that PM2 still maintains some socket connections with close_wait state. |
This is on Mac OS X v10.8.2, node v0.10.26 and pm2 -V 0.7.8.
Sometimes when restarting/deleting/stopping a web server process the port remains open and stuck in the CLOSE_WAIT state. The only way to free the port and restart your application is to kill the pm2 Satan Daemonizer. (either with
pm2 kill
orsudo kill ###
)As you can imagine, having to kill pm2 is not an ideal solution if you have more than one application running at a time.
Jeff
The text was updated successfully, but these errors were encountered: