Git Product home page Git Product logo

Comments (10)

geneotech avatar geneotech commented on June 7, 2024

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?

from hypersomnia.

geneotech avatar geneotech commented on June 7, 2024

Actually wouldn't it be enough for the game to return 1; since you've set Restart=on-failure?

from hypersomnia.

Timofei302 avatar Timofei302 commented on June 7, 2024

Actually wouldn't it be enough for the game to return 1; since you've set Restart=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.

from hypersomnia.

geneotech avatar geneotech commented on June 7, 2024

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.

from hypersomnia.

Timofei302 avatar Timofei302 commented on June 7, 2024

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).

Screenshot_20231017-212317.jpg

from hypersomnia.

Timofei302 avatar Timofei302 commented on June 7, 2024

Screenshot_20231017-213115.jpg

from hypersomnia.

geneotech avatar geneotech commented on June 7, 2024

It seems the problem is fixed, it now sends the heartbeats correctly 👍

from hypersomnia.

Timofei302 avatar Timofei302 commented on June 7, 2024

The server still goes missing every 5 minutes :/

from hypersomnia.

geneotech avatar geneotech commented on June 7, 2024

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?

from hypersomnia.

Timofei302 avatar Timofei302 commented on June 7, 2024

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.
Screenshot_20231017-220755.jpg

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.

from hypersomnia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.