• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue Node JS app does not restart after Passenger Restart

lukegalea16

New Pleskian
Hi,
I have deployed a Node JS application which serves a webpage on the default port 3000 and listens to CoAP requests on port 5683. Daily at midnight the application stops working and I have to re access the webpage again for the app to restart or wait until 7AM/8AM the next day until the app restarts again (I am logging in a txt file when the application restarts). In my Apache logs I am noticing the following happening at around midnight:

[ N 2020-11-16 00:00:11.5044 2426636/T9 age/Cor/CoreMain.cpp:670 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ N 2020-11-16 00:00:11.5052 2426636/T1 age/Cor/CoreMain.cpp:1245 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ N 2020-11-16 00:00:11.5061 2426636/T9 Ser/Server.h:901 ]: [ServerThr.1] Freed 0 spare client objects
[ N 2020-11-16 00:00:11.5067 2426636/T9 Ser/Server.h:558 ]: [ServerThr.1] Shutdown finished
[ N 2020-11-16 00:00:11.5068 2426636/Tb Ser/Server.h:901 ]: [ApiServer] Freed 0 spare client objects
[ N 2020-11-16 00:00:11.5068 2426636/Tb Ser/Server.h:558 ]: [ApiServer] Shutdown finished
[Sun Nov 15 23:00:12.618993 2020] [ssl:warn] [pid 1677302:tid 140023296150592] AH01909: default-51_89_4_208:443:0 server certificate does NOT include an ID which matches the server name
[ N 2020-11-16 00:00:12.7597 2426662/T1 age/Wat/WatchdogMain.cpp:1373 ]: Starting Passenger watchdog...
[ N 2020-11-16 00:00:12.8867 2426665/T1 age/Cor/CoreMain.cpp:1340 ]: Starting Passenger core...
[ N 2020-11-16 00:00:12.8891 2426665/T1 age/Cor/CoreMain.cpp:256 ]: Passenger core running in multi-application mode.
[ N 2020-11-16 00:00:12.9177 2426665/T1 age/Cor/CoreMain.cpp:1015 ]: Passenger core online, PID 2426665
[Sun Nov 15 23:00:12.923275 2020] [mpm_event:notice] [pid 1677302:tid 140023296150592] AH00489: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f mod_fcgid/2.3.9 Phusion_Passenger/6.0.6 configured -- resuming normal operations
[Sun Nov 15 23:00:12.926394 2020] [core:notice] [pid 1677302:tid 140023296150592] AH00094: Command line: '/usr/sbin/apache2'
[ N 2020-11-16 00:00:13.2050 2426636/T1 age/Cor/TelemetryCollector.h:531 ]: Message from Phusion: End time can not be before or equal to begin time
[ N 2020-11-16 00:00:13.2516 2426636/T1 age/Cor/CoreMain.cpp:1325 ]: Passenger core shutdown finished
[ N 2020-11-16 00:00:17.1853 2426665/T5 age/Cor/SecurityUpdateChecker.h:519 ]: Security update check: no update found (next check in 24 hours)
 
Back
Top