Jump to content

DCS Server Crashes When Launching Multiple Instances Under Separate Windows Users


Recommended Posts

Posted

Hey,

When we tried running multiple DCS instances on Windows Server 2022, each under a different Windows user account, DCS would often crash during startup if multiple instances were launched simultaneously. These crashes frequently occurred before the login screen appeared, though sometimes they happened after logging in, showing a server crash modal. I only have logs from the latter case, but I hope the crashes occurring earlier are related.

It seems that DCS is attempting to write to temporary files, which are typically located in the user’s temporary directory (this isn’t an issue). However, in this case, the files are being written to the system's temporary folder (C:\Windows\Temp\DCS), which causes two types of problems: (1) permission errors, as the users are different, and (2) file access conflicts, as one process may be holding onto a file while another process attempts to overwrite it.

Here is the error message I believe is relevant (full logs attached):

2024-10-05 01:09:04.160 ERROR   EDCORE (Main): [C:\Windows\TEMP\DCS\/~tr000026A3.bin] CreateFile(REWRITE): Access is denied.
2024-10-05 01:09:04.160 ERROR   EDCORE (Main): Can't open file 'C:\Windows\TEMP\DCS\/~tr000026A3.bin' from real path fs.
2024-10-05 01:09:04.443 ALERT   APP (Main): Unhandled exception: Cannot open track fiber file: C:\Windows\TEMP\DCS\/~tr000026A3.bin
2024-10-05 01:09:04.443 ERROR   APP (Main): Stack trace:

I believe this issue could be resolved by running DCS Server with the "-w identifier" flag. However, this solution feels somewhat hacky for us since this is for a server hosting service, and users might find it confusing if the DCS folders have different names. Additionally, we don't think this is intended behavior.

Thanks in advance.

dcs-20241005-011302.log dcs.log-20241005-010904.zip

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...