Meteor bundle on production 100% CPU

Downgrading from Node 6.10.1 to v4.8.1 solved the 100% CPU issue, on Ubuntu 16.04

Hi had this same problem with build meteor 1.4.4.2 + nginx + phusion passenger and node 6. When I change node version for recommended by Meteor ( Node 4.6.2 for Meteor 1.4.x ) its works with cpu until 2 or 3% with no user on app.

Hello, I also have this same problem. I am using the following versions hosted on Digital Ocean:

Meteor: 1.5;
NPM: 4.6.1;
Node: 4.6.2;

I am using this image in docker (https://github.com/mickext/meteord). I am starting the application with the command ā€œmeteor node main.jsā€ as you can see in the file (https://github.com/mickext/meteord/blob/master/base/scripts/run_app.sh).
Please someone give me a north, because I have tried everything to stop this CPU overload that is 100% practically as soon as I start the server.

Any help will be welcome.
Thank you.

You need Node 4.8.3 for Meteor 1.5

You can get the correct versions to use with

. meteor node -v
. meteor npm -v

In your development environment

2 Likes

Hello, Rob Fallows thank you very much for your attention. And regarding the way I start the application on the server ā€œmeteor node main.jsā€ or ā€œnode main.jsā€
(Https://github.com/mickext/meteord/blob/master/base/scripts/run_app.sh)?

Thank you again.

The second. You should not install the Meteor development tool in production.

1 Like