meteorhacks / cluster

Clustering solution for Meteor with load balancing and service discovery
https://meteorhacks.com/cluster-a-different-kind-of-load-balancer-for-meteor.html
MIT License
632 stars 80 forks source link

Exiting worker with exitCode=0 signalCode=null #20

Closed boustanihani closed 9 years ago

boustanihani commented 9 years ago

I managed to deploy my app after adding cluster and I set "CLUSTER_WORKERS_COUNT":2 in my mup.json.

My app is working fine but when I check the logs, cluster seems to be trying to initialize new workers all the time because they are exiting immediately for some reason:

...
Cluster: Initializing worker 55 on port 4810
Cluster: Exiting worker 55 with exitCode=0 signalCode=null
Cluster: Initializing worker 56 on port 4828
Cluster: Exiting worker 56 with exitCode=0 signalCode=null
Cluster: Initializing worker 57 on port 15815
Cluster: Exiting worker 57 with exitCode=0 signalCode=null
...
arunoda commented 9 years ago

If you are using mup try to update and do a mup setup before this. On 2015 පෙබ 24, අඟහ at පෙ.ව. 5.39 boustanihani notifications@github.com wrote:

I managed to deploy my app after adding cluster and I set "CLUSTER_WORKERS_COUNT":2 in my mup.json.

My app is working fine but when I check the logs, cluster seems to be trying to initialize new workers all the time because they are exiting immediately for some reason:

... Cluster: Initializing worker 55 on port 4810 Cluster: Exiting worker 55 with exitCode=0 signalCode=null Cluster: Initializing worker 56 on port 4828 Cluster: Exiting worker 56 with exitCode=0 signalCode=null Cluster: Initializing worker 57 on port 15815 Cluster: Exiting worker 57 with exitCode=0 signalCode=null ...

— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/cluster/issues/20.

boustanihani commented 9 years ago

Thanks this solved the problem :)