• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question NODEJS - Passenger restart every day but apps not init

VicenteS

New Pleskian
I have run a nodejs app and all is working allright, the app is doing background job.

But once a day at 6:30 am the passenger or apache or something restart

At 6:32 the passenger/apache has been restarted but app is not runing again unless I start it again by my self.

Why is this restarting everyday?
Why apps are not run on restart?

This is the log:

[ N 2018-01-17 06:31:26.4909 9990/T5 age/Cor/SecurityUpdateChecker.h:374 ]: Security update check: no update found (next check in 24 hours)
[Wed Jan 17 20:21:51.178209 2018] [cgi:error] [pid 24994] [client 217.182.90.9:36150] script not found or unable to stat: /var/www/vhosts/default/cgi-binphp
[Wed Jan 17 20:21:51.339852 2018] [cgi:error] [pid 24993] [client 217.182.90.9:36214] script not found or unable to stat: /var/www/vhosts/default/cgi-binphp5
[ N 2018-01-18 06:31:26.6881 9990/T5 age/Cor/SecurityUpdateChecker.h:374 ]: Security update check: no update found (next check in 24 hours)
[Thu Jan 18 06:31:43.228469 2018] [mpm_prefork:notice] [pid 12430] AH00171: Graceful restart requested, doing restart

[ N 2018-01-18 06:31:43.2351 9990/T7 age/Cor/CoreMain.cpp:589 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ N 2018-01-18 06:31:43.2351 9990/T1 age/Cor/CoreMain.cpp:1080 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ N 2018-01-18 06:31:43.2352 9990/T9 Ser/Server.h:886 ]: [ServerThr.2] Freed 128 spare client objects
[ N 2018-01-18 06:31:43.2352 9990/T9 Ser/Server.h:531 ]: [ServerThr.2] Shutdown finished
[ N 2018-01-18 06:31:43.2353 9990/Tb Ser/Server.h:886 ]: [ServerThr.3] Freed 128 spare client objects
[ N 2018-01-18 06:31:43.2353 9990/Tb Ser/Server.h:531 ]: [ServerThr.3] Shutdown finished
[ N 2018-01-18 06:31:43.2353 9990/Td Ser/Server.h:886 ]: [ServerThr.4] Freed 128 spare client objects
[ N 2018-01-18 06:31:43.2353 9990/Td Ser/Server.h:531 ]: [ServerThr.4] Shutdown finished
[ N 2018-01-18 06:31:43.2354 9990/Tf Ser/Server.h:886 ]: [ServerThr.5] Freed 128 spare client objects
[ N 2018-01-18 06:31:43.2354 9990/Tf Ser/Server.h:531 ]: [ServerThr.5] Shutdown finished
[ N 2018-01-18 06:31:43.2354 9990/Th Ser/Server.h:886 ]: [ServerThr.6] Freed 128 spare client objects
[ N 2018-01-18 06:31:43.2354 9990/Th Ser/Server.h:531 ]: [ServerThr.6] Shutdown finished
[ N 2018-01-18 06:31:43.2355 9990/Tj Ser/Server.h:886 ]: [ServerThr.7] Freed 128 spare client objects
[ N 2018-01-18 06:31:43.2355 9990/Tj Ser/Server.h:531 ]: [ServerThr.7] Shutdown finished
[ N 2018-01-18 06:31:43.2355 9990/Tl Ser/Server.h:886 ]: [ServerThr.8] Freed 128 spare client objects
[ N 2018-01-18 06:31:43.2355 9990/Tl Ser/Server.h:531 ]: [ServerThr.8] Shutdown finished
[ N 2018-01-18 06:31:43.2356 9990/Tn Ser/Server.h:886 ]: [ApiServer] Freed 0 spare client objects
[ N 2018-01-18 06:31:43.2356 9990/Tn Ser/Server.h:531 ]: [ApiServer] Shutdown finished
[ N 2018-01-18 06:31:43.2356 9990/T7 Ser/Server.h:886 ]: [ServerThr.1] Freed 128 spare client objects
[ N 2018-01-18 06:31:43.2356 9990/T7 Ser/Server.h:531 ]: [ServerThr.1] Shutdown finished
[ N 2018-01-18 06:31:43.3374 9990/T1 age/Cor/CoreMain.cpp:1150 ]: Passenger core shutdown finished
 
Back
Top