Open Timofei302 opened 11 months ago
I see. I haven't really designed it yet to be run as a service, will have to look into it later. Would probably need a separate flag --as-service
and have a separate restart logic for it. Do you think a service can update and restart itself though? Especially with additional flags?
Actually wouldn't it be enough for the game to return 1;
since you've set Restart=on-failure
?
Actually wouldn't it be enough for the game to
return 1;
since you've setRestart=on-failure
?
Logically, this should be enough, but I think it's worth doing research first by making a script that will return exit code 1 and see how systemd behaves.
Hey, I think your server keeps restarting or perhaps has a high send_heartbeat_to_server_list_once_every_secs
set (I should probably clamp the value automatically), because the server list detects it as a new server once every few minutes, and it keeps spamming new server notifications :) The timeout for a server to be removed from the server list is 60 seconds.
Hey, I think your server keeps restarting or perhaps has a high
send_heartbeat_to_server_list_once_every_secs
set (I should probably clamp the value automatically), because the server list detects it as a new server once every few minutes, and it keeps spamming new server notifications :) The timeout for a server to be removed from the server list is 60 seconds.
idk what caused this, since everything is fine with my settings (at least everything was fine), and I am not reconfiguring the server now (so that when I configure the server, I often reboot hypersomnia via systemctl).
It seems the problem is fixed, it now sends the heartbeats correctly :+1:
The server still goes missing every 5 minutes :/
Yeah, just noticed, not sure what could be the cause, perhaps packet loss? What if you set send_heartbeat_to_server_list_once_every_secs
to e.g. 3?
Yeah, just noticed, not sure what could be the cause, perhaps packet loss? What if you set
send_heartbeat_to_server_list_once_every_secs
to e.g. 3?
Hmm. By default, my server is already configured to send a "heartbeat" every 10 seconds.
Therefore, there are two possible reasons - my hosting provider is still under ddos attack and this has started to negatively affect the operation of my vds, or someone or something is trying to break the connection of my vds with your master server on your side.
I can't think of any other assumptions.
Systemd service config: