• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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