Greenlock and PM2 cluster mode don't work together #31
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since the new update I have to use fork mode to run my app. When I use cluster mode it keeps crashing/resetting without giving me an error. Does anyone else have this problem?
PM2 only implements partial cluster support.
See #26
I'd recommend just using
systemd
(linux) orserviceman
(cross-platform) orDocker
(cloud deploys).If you are going to use PM2, you use Greenlock Express with it the same way that you would use it with Ruby, Python, etc.
It's default optimizations for node apps are already done within Greenlock Express, and since PM2 only has partial cluster support, there's not a way to tell PM2 to pass control to Greenlock Express, nor to have PM2 accept control from Greenlock Express.