I have a meteor application running in production with Phusion Passenger. When I check the error logs it looks like the app is restarting every couple of minutes. How can I start troubleshooting this?
Partial log example:
…
[ N 2018-10-02 12:01:15.5881 13634/T7 age/Cor/CoreMain.cpp:994 ]: Checking whether to disconnect long-running connections for process 27312, application /var/www/vhosts/myapp/live (production)
App 28045 stdout:
App 28045 stderr: Note: you are using a pure-JavaScript implementation of bcrypt.
App 28045 stderr: While this implementation will work correctly, it is known to be
App 28045 stderr: approximately three times slower than the native implementation.
App 28045 stderr: In order to use the native implementation instead, run
App 28045 stderr:
App 28045 stderr: meteor npm install --save bcrypt
App 28045 stderr:
App 28045 stderr: in the root directory of your application.
…
The only reason I’m recognising the app is restarting is because of the bcrypt message that only appears during startup. Also users say the app is sometimes slow, I guess this is when they are waiting during the restart.