• 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

Issue Plesk restarts all Node services

xgenesis

Basic Pleskian
I run about 5 node web servers on a dedicated server, everytime I update the website (by pulling the updates off Git and then restarting the node service) instead of restarting that specific website it restarts all. The issue is that it's incredibly slow and uptime is really important to my clients. So it'll take around 1-5 minutes for all the websites to properly launch. This becomes an issue when pushing multiple patches as sometimes I have to restart the web server multiple times and then all services restart giving unneccessary downtime for websites that aren't even being updated.

Is there a way to only restart 1 node service or is this something that can't be done in Plesk? It restarts twice as-well, once when pulling the update off Git and then another time after restarting Node on that domain.

Edit: Forgot to mention but it also restarts my Ruby on Rails website, when restarting Node.

This is the message I get everytime I restart

Code:
[Tue Jul 02 14:41:55.119568 2019] [mpm_prefork:notice] [pid 5418] AH00169: caught SIGTERM, shutting down

[ N 2019-07-02 14:41:55.1400 5439/T7 age/Cor/CoreMain.cpp:641 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ N 2019-07-02 14:41:55.1401 5439/T1 age/Cor/CoreMain.cpp:1217 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ N 2019-07-02 14:41:55.1402 5439/T1 age/Cor/CoreMain.cpp:1118 ]: Checking whether to disconnect long-running connections for process 5474, application /var/www/vhosts/domain1.com/httpdocs (production)
[ N 2019-07-02 14:41:55.1403 5439/T1 age/Cor/CoreMain.cpp:1118 ]: Checking whether to disconnect long-running connections for process 6974, application /var/www/vhosts/domain2.net/httpdocs (production)
[ N 2019-07-02 14:41:55.1404 5439/T1 age/Cor/CoreMain.cpp:1118 ]: Checking whether to disconnect long-running connections for process 5773, application /var/www/vhosts/domain3.com/httpdocs (production)
[ N 2019-07-02 14:41:55.1405 5439/T1 age/Cor/CoreMain.cpp:1118 ]: Checking whether to disconnect long-running connections for process 5876, application /var/www/vhosts/domain4.net/httpdocs (production)
[ N 2019-07-02 14:41:55.1406 5439/T1 age/Cor/CoreMain.cpp:1118 ]: Checking whether to disconnect long-running connections for process 6222, application /var/www/vhosts/domain5.net/httpdocs (production)
[ N 2019-07-02 14:41:55.1407 5439/T1 age/Cor/CoreMain.cpp:1118 ]: Checking whether to disconnect long-running connections for process 7238, application /var/www/vhosts/domain6.com/auth.domain6.com (production)
[ N 2019-07-02 14:41:55.1407 5439/T7 Ser/Server.h:903 ]: [ServerThr.1] Freed 0 spare client objects
[ N 2019-07-02 14:41:55.1407 5439/Tb Ser/Server.h:903 ]: [ServerThr.3] Freed 0 spare client objects
[ N 2019-07-02 14:41:55.1407 5439/T9 Ser/Server.h:903 ]: [ServerThr.2] Freed 0 spare client objects
[ N 2019-07-02 14:41:55.1408 5439/Td Ser/Server.h:903 ]: [ServerThr.4] Freed 0 spare client objects
[ N 2019-07-02 14:41:55.1408 5439/Th Ser/Server.h:903 ]: [ServerThr.6] Freed 0 spare client objects
[ N 2019-07-02 14:41:55.1408 5439/Tf Ser/Server.h:903 ]: [ServerThr.5] Freed 0 spare client objects
[ N 2019-07-02 14:41:55.1410 5439/Th Ser/Server.h:559 ]: [ServerThr.6] Shutdown finished
[ N 2019-07-02 14:41:55.1410 5439/Tb Ser/Server.h:559 ]: [ServerThr.3] Shutdown finished
[ N 2019-07-02 14:41:55.1410 5439/T7 Ser/Server.h:559 ]: [ServerThr.1] Shutdown finished
[ N 2019-07-02 14:41:55.1410 5439/Td Ser/Server.h:559 ]: [ServerThr.4] Shutdown finished
[ N 2019-07-02 14:41:55.1410 5439/T9 Ser/Server.h:559 ]: [ServerThr.2] Shutdown finished
[ N 2019-07-02 14:41:55.1411 5439/Tl Ser/Server.h:903 ]: [ServerThr.8] Freed 0 spare client objects
[ N 2019-07-02 14:41:55.1412 5439/Tf Ser/Server.h:559 ]: [ServerThr.5] Shutdown finished
[ N 2019-07-02 14:41:55.1412 5439/Tj Ser/Server.h:903 ]: [ServerThr.7] Freed 0 spare client objects
[ N 2019-07-02 14:41:55.1413 5439/Tl Ser/Server.h:559 ]: [ServerThr.8] Shutdown finished
[ N 2019-07-02 14:41:55.1414 5439/Tj Ser/Server.h:559 ]: [ServerThr.7] Shutdown finished
[ N 2019-07-02 14:41:55.1414 5439/Tn Ser/Server.h:903 ]: [ApiServer] Freed 0 spare client objects
[ N 2019-07-02 14:41:55.1415 5439/Tn Ser/Server.h:559 ]: [ApiServer] Shutdown finished
 
Last edited:
Back
Top