• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • 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