Page 1 of 1
Could we make non-blocking-saving=true a default on Linux please?
Posted: Tue Feb 11, 2020 9:47 pm
by movax20h
I have been using it locally on Linux for playing game, and on some headless servers for few months without any issues, and with a way better user experience.
I think it would be beneficial to everybody to turn in on by default. Not everybody even knows about this config option. And/or extend number of people who test it. I guess there might be a minor increase in memory usage, briefly, but possibly almost none.
Thanks.
Re: Could we make non-blocking-saving=true a default on Linux please?
Posted: Tue Feb 11, 2020 11:05 pm
by akulla
Unfortunately, I think the reliability of this feature is machine dependent. Agree it'd be nice not to have the saving pauses, but there are enough crashes on some machines to keep this feature off by default.
Maybe someone with hard evidence can point to that.
Re: Could we make non-blocking-saving=true a default on Linux please?
Posted: Wed Feb 12, 2020 2:51 pm
by movax20h
Interesting. Do you have some links to the reports about these crashes? I didn't spot any.
Re: Could we make non-blocking-saving=true a default on Linux please?
Posted: Wed Feb 12, 2020 2:56 pm
by planetmaker
Is this a server-side option only? I was looking at settings the other day but did not find any such setting.
Re: Could we make non-blocking-saving=true a default on Linux please?
Posted: Wed Feb 12, 2020 9:01 pm
by movax20h
planetmaker wrote: ↑Wed Feb 12, 2020 2:56 pm
Is this a server-side option only? I was looking at settings the other day but did not find any such setting.
No it does work both on client and server. I use it on my computer for example and it is amazing. No pauses during saving!
It is in ~/.factorio/config/config.ini
Re: Could we make non-blocking-saving=true a default on Linux please?
Posted: Wed Feb 12, 2020 9:06 pm
by ptx0
it doesn't crash, it simply fails to return from the save fork at some times. it is hard to pin down exactly why. I have experienced it countless times and people asked for the blocking saves to be reenabled on my servers.
Re: Could we make non-blocking-saving=true a default on Linux please?
Posted: Wed Feb 12, 2020 9:24 pm
by planetmaker
movax20h wrote: ↑Wed Feb 12, 2020 9:01 pm
planetmaker wrote: ↑Wed Feb 12, 2020 2:56 pm
Is this a server-side option only? I was looking at settings the other day but did not find any such setting.
No it does work both on client and server. I use it on my computer for example and it is amazing. No pauses during saving!
It is in ~/.factorio/config/config.ini
Ah, nice. I didn't realize that it's a cfg-file only setting. Thanks!
Re: Could we make non-blocking-saving=true a default on Linux please?
Posted: Thu Feb 13, 2020 9:17 am
by Hornwitser
The Gridlock Cluster had it turned on and there were servers hanging left and right because of it, so the reliability of this feature just isn't good enough.
Re: Could we make non-blocking-saving=true a default on Linux please?
Posted: Thu Feb 13, 2020 3:48 pm
by movax20h
ptx0 wrote: ↑Wed Feb 12, 2020 9:06 pm
it doesn't crash, it simply fails to return from the save fork at some times. it is hard to pin down exactly why. I have experienced it countless times and people asked for the blocking saves to be reenabled on my servers.
Fair enough then. I wonder if this is somehow related to some mods, or just a bug somewhere in the Factorio in general.
Re: Could we make non-blocking-saving=true a default on Linux please?
Posted: Thu Feb 13, 2020 3:50 pm
by planetmaker
Well, thanks for the hint. I shall try that locally on my PC - worked flawlessly yesterday. If that continues to fare well, I shall enable it on my server as well.... we shall see.
Re: Could we make non-blocking-saving=true a default on Linux please?
Posted: Thu Feb 13, 2020 4:52 pm
by ptx0
it might require having more than one person on the server for it to happen - and i thought some of my users were making stuff up, but then it happened to me. talk about the worst thing ever