HiJack Posted August 25, 2017 Posted August 25, 2017 I'm building a new dedicated server monitor and could use a way to test crashed server restarts. If anyone have a script snippet that is sure to crash the server I would be much obliged! Waiting for a crash can take ages now (luckily), so a test script would be great.
Pikey Posted August 25, 2017 Posted August 25, 2017 Assuming crashed but process still running? Unresponsive not enough? Difficult to do as unresponsive can be simulated with the high CPU (spawning in a loop will do that) Process crashed is easy to check for, so you must be aiming for something in the middle? I think I managed an infinite loop once that did this. The others I knew about got fixed. Perhaps there's an export that can be watched for data? Also, how are you managing bypassing the log on message after restart? that must be a modification somwhere? ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
HiJack Posted August 25, 2017 Author Posted August 25, 2017 Also, how are you managing bypassing the log on message after restart? that must be a modification somwhere? No problem with windows messages, programming to take care of them. Logging on DCS is automatic, and using Ciribobs .lua modification to start directly up a mission. Everything works perfect but I need to test a crash scenario before publishing.
HiJack Posted August 25, 2017 Author Posted August 25, 2017 It would be perfect to have a test script that crashes the server for now. Dealing with non answering server port will take more work. EDIT: I'm working to create a server crash script.
Recommended Posts