Page 1 of 1
Non Blocking save feedback
Posted: Wed Nov 18, 2020 1:30 pm
by paquerette
Hi Guys,
Do you have feedback about the non blocking save feature ?
The blocking save is really annoying, so I would like to try this out.
Thanks,
Paquerette
Re: Non Blocking save feedback
Posted: Wed Nov 18, 2020 1:54 pm
by Koub
Works only on Linux, and the feedback I've seen on this forum is that it works.
Re: Non Blocking save feedback
Posted: Wed Nov 18, 2020 4:12 pm
by ptx0
Koub wrote: ↑Wed Nov 18, 2020 1:54 pm
Works only on Linux, and the feedback I've seen on this forum is that it works.
there's a corner case where saving the game manually while an autosave occurs causes the binary to segfault, I'm waiting on source access from kovarex so I can look into it.
Re: Non Blocking save feedback
Posted: Wed Nov 18, 2020 5:14 pm
by paquerette
Thanks for the feedback.
I'll enable the feature tonight and give it a try
Re: Non Blocking save feedback
Posted: Wed Nov 18, 2020 5:15 pm
by paquerette
I think I've read that it spawn a second factorio process to handle the save, the server needs to be linux or mac os x, and the windows client autosave is disabled.
Is there a need of addition UDP/TCP port to open ? (I dont think so)
Re: Non Blocking save feedback
Posted: Wed Nov 18, 2020 8:27 pm
by Koub
The process is indeed just forked** just to handle the save while the "parent" process keeps the game running, so no, there shouldn't be any need of anything else.
**btw, this is also the reason the option can't work on Windows, as there is no equivalent to fork() function.
Re: Non Blocking save feedback
Posted: Wed Nov 18, 2020 10:38 pm
by paquerette
Well, the server crashed
After doubling the ram, it's running smoothly
Re: Non Blocking save feedback
Posted: Wed Dec 09, 2020 6:22 pm
by paquerette
After a few hours of play, I can say it's stable for us.