Author Topic: Restart or Close Server instat of Log Spam  (Read 38 times)

Thoron

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    8
    • View Profile
on: August 15, 2019, 10:17:24 PM
Quote
Hang of at least 30 seconds detected, sending stack traceSending crash report ...
Crash report sent successfully!

Hey, it would be nice if you could simply close or restart the server instat if repeating this message in the server console.
It would make it easy to make it operational for the players again.

Thanks!



koonschi

  • Developer
  • *
  • Status:
    Offline
    Posts:
    1627
    • View Profile
    • Avorion
on: August 16, 2019, 11:07:56 AM
This message appears when a hang has been detected. When that happens, the server is hanging and has crashed and can't be restarted without putting saves at risk.
#define TRUE FALSE // happy debugging suckers

If you need help, please post in the forum, don't PM me. If there's something that only I can help you with, contact me via mail.



Thoron

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    8
    • View Profile
on: August 17, 2019, 05:56:39 AM
The Server is hanging for ever anyway: Avorion server Beta 0.25.2.16528 - Crashes

Would be nice to have a choice.  ->server.ini  -> WaitOnServerHang= [True|False] ? :-)

Otherwise i will add a log-checker for the string "Hang of at least 30 seconds detected..." and kill it with powershell ;-)