Risu Posted 11 minutes ago Share Posted 11 minutes ago Running the same map over-and-over in Single Map Objective mode causes an extra open of "modules.cfg" without closing previous handles every time the map loads, exhausting MAX_FILE_HANDLES=64 (hardcoded ET engine value). This is easiest to reproduce with this: Trigger a Game Mode change to Single Map Objective via Referee menu (g_gametype?). Said gamemode change triggers an open of "modules.cfg" without closing old handles. After gamemode change is successful, the map automatically restarts one more time (counting 3,2,1 fight) which triggers yet another open of "modules.cfg" without closing old handles. If at this point one lets the game go on by its own, doesn't do any manual gamemode or map changes but lets them automatically change or restart (so basically just let it be), the "modules.cfg" gets opened once again on every map load (which is twice after every match), until file handles (max. 64) are exhausted and server crashes. So a server will inevitably crash after 30 or so matches. A quick test of setting the round timer to 1 minute, after 3 minutes I'm looking at 11 file handles, of which 8 are instances of "modules.cfg" ]fs_printOpen 1037050 Open file handles 1037050 handle 1: etconsole.log 1037050 handle 2: silentserver.log 1037050 handle 3: cheat.log 1037050 handle 4: modules.cfg 1037050 handle 5: modules.cfg 1037050 handle 6: modules.cfg 1037050 handle 7: modules.cfg 1037050 handle 8: modules.cfg 1037050 handle 9: modules.cfg 1037050 handle 10: modules.cfg 1037050 handle 11: modules.cfg This bug is present in silEnT 0.9.0. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.