Node process restarts smoothly

how to smoothly restart the game server

hasn"t tried

yet.

it is not necessary to manually stop service and then start the server every time you update the server


Aug.11,2021

you can try to start node, using pm2 and restart smoothly.

data generally exist in local files, cache systems, and databases. Temporary memory is not recommended


use load balancer (for example, open a new node service when nginx), is updated, and then point the new connections to the new service
and other old services

after all the connections to the old service are finished.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5a10b-45571.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5a10b-45571.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?