[Oxyd] [0.17.2] [Linux] non-blocking-saving isn't non-blocking any more

This subforum contains all the issues which we already resolved.
quyxkh
Smart Inserter
Smart Inserter
Posts: 1031
Joined: Sun May 08, 2016 9:01 am
Contact:

[Oxyd] [0.17.2] [Linux] non-blocking-saving isn't non-blocking any more

Post by quyxkh »

Nonblocking autosaving's on in the config and the log says it's doing non-blocking saving, but the UI and sim freeze while the save's in progress, and the game's eating keystrokes again.
logfile
Syhn
Inserter
Inserter
Posts: 43
Joined: Mon Jan 22, 2018 9:13 pm
Contact:

Re: [0.17.2] non-blocking-saving isn't non-blocking any more

Post by Syhn »

Does it say the server is not responding while saving? This may be what I am encountering, but wasn's sure if it was something wrong with my hardware.
quyxkh
Smart Inserter
Smart Inserter
Posts: 1031
Joined: Sun May 08, 2016 9:01 am
Contact:

Re: [0.17.2] non-blocking-saving isn't non-blocking any more

Post by quyxkh »

I'm doing this singleplayer, but if they introduced an unexpected lock around the saving it wouldn't be surprising if the server stopped responding for the duration too.
Syhn
Inserter
Inserter
Posts: 43
Joined: Mon Jan 22, 2018 9:13 pm
Contact:

Re: [0.17.2] non-blocking-saving isn't non-blocking any more

Post by Syhn »

Ah, I see. Yeah, I'm seeing the server halt for the duration of the save which causes the client to see the server "dropping."
klugemonkey
Inserter
Inserter
Posts: 24
Joined: Tue Jun 12, 2018 5:07 am
Contact:

Re: [Oxyd] [0.17.2] [Linux] non-blocking-saving isn't non-blocking any more

Post by klugemonkey »

017.23, I'm still getting 'Server not responding' message to all users when autosave occurs in non-blocking mode. It is so ridiculous, I've had all players get the watchdog dialog to exit or reconnect.

The performance of saving in general is much worse than 16.51. Anytime a player joins the delay for all other players is a significant interruption on the order of 3-10 seconds. It was annoying on 16.51 unless non-blocking saves were used and a ramdisk was utilized to minimize saves for the players joining, but now on 17.23, autosaves are blocking.

Not sure if ramdisk will improve on 17.23, but will test further to see if the issue is disk I/O or a synchronization issue.

Using linux as well.

Seems to be happening in AsyncScenarioSaver.cpp:144
SNACKaJACK
Burner Inserter
Burner Inserter
Posts: 13
Joined: Thu Mar 21, 2019 8:06 pm
Contact:

Re: [Oxyd] [0.17.2] [Linux] non-blocking-saving isn't non-blocking any more

Post by SNACKaJACK »

Is there any news on this issue? I'm encountering the same problems right now while setting up a server for 0.17.25. I would love for this feature to work again, I think it's an awesome quality of life improvement for multiplayer. Being interrupted every time someone joins or an auto-save is made gets frustrating really fast
enoh
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Apr 09, 2019 8:30 am
Contact:

Re: [Oxyd] [0.17.2] [Linux] non-blocking-saving isn't non-blocking any more

Post by enoh »

Hey,

Same issue on 0.17.28.
pickscrape
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon May 06, 2019 6:54 pm
Contact:

Re: [Oxyd] [0.17.2] [Linux] non-blocking-saving isn't non-blocking any more

Post by pickscrape »

This appears to still be happening in 0.17.36.

Anyone know if the devs are aware of this or not, and if so, is it being worked on?
pickscrape
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon May 06, 2019 6:54 pm
Contact:

Re: [Oxyd] [0.17.2] [Linux] non-blocking-saving isn't non-blocking any more

Post by pickscrape »

I just did a little digging into the release notes, based on this thread initially referencing 0.17.2. In that release, we have this entry:

"Fixed a crash when trying to use async-saving when hosting multiplayer games on Windows" (which links to this thread: 65146)

I wonder if the fix inadvertently made linux also fall back to blocking saves, even when non-blocking saves are enabled (and show as such in the log)?
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [Oxyd] [0.17.2] [Linux] non-blocking-saving isn't non-blocking any more

Post by Oxyd »

Sorry about the delay. Fixed in 0.17.48.
Post Reply

Return to “Resolved Problems and Bugs”