Vince058

Citizen
I get the next error log when my server saves and crashes ..

Code:
ServUO Version 0.5, Build 8108.27820
Operating System: Unix 5.4.0.100
.NET Framework: 4.0.30319.42000
Time: 3/14/2022 3:27:29 PM
Mobiles: 72
Items: 2374
Exception:
System.DllNotFoundException: Kernel32 assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) Server.FileOperations.CreateFile(string,int,System.IO.FileShare,intptr,System.IO.FileMode,int,intptr)
  at Server.FileOperations.OpenSequentialStream (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00040] in <b0827dfa68004cbdb7a78e4b90de20fc>:0
  at Server.SequentialFileWriter..ctor (System.String path, Server.SaveMetrics metrics) [0x0001e] in <b0827dfa68004cbdb7a78e4b90de20fc>:0
  at (wrapper remoting-invoke-with-check) Server.SequentialFileWriter..ctor(string,Server.SaveMetrics)
  at Server.ParallelSaveStrategy.OpenFiles () [0x00000] in <b0827dfa68004cbdb7a78e4b90de20fc>:0
  at Server.ParallelSaveStrategy.Save (Server.SaveMetrics metrics, System.Boolean permitBackgroundWrite) [0x00007] in <b0827dfa68004cbdb7a78e4b90de20fc>:0
  at Server.World.Save (System.Boolean message, System.Boolean permitBackgroundWrite) [0x00129] in <b0827dfa68004cbdb7a78e4b90de20fc>:0
  at Server.Misc.AutoSave.Save (System.Boolean permitBackgroundWrite) [0x00044] in <4d9b98dfd5f24f7abea894d9c658651d>:0
  at Server.Misc.AutoSave.Save () [0x00000] in <4d9b98dfd5f24f7abea894d9c658651d>:0
  at Server.Commands.CommandHandlers.Save_OnCommand (Server.Commands.CommandEventArgs e) [0x00000] in <4d9b98dfd5f24f7abea894d9c658651d>:0
  at Server.Commands.CommandSystem.Handle (Server.Mobile from, System.String text, Server.Network.MessageType type) [0x000bd] in <b0827dfa68004cbdb7a78e4b90de20fc>:0
  at Server.Mobile.DoSpeech (System.String text, System.Int32[] keywords, Server.Network.MessageType type, System.Int32 hue) [0x0000b] in <b0827dfa68004cbdb7a78e4b90de20fc>:0
  at Server.Mobiles.PlayerMobile.DoSpeech (System.String text, System.Int32[] keywords, Server.Network.MessageType type, System.Int32 hue) [0x000c9] in <4d9b98dfd5f24f7abea894d9c658651d>:0
  at Server.Network.PacketHandlers.UnicodeSpeech (Server.Network.NetState state, Server.Network.PacketReader pvSrc) [0x00161] in <b0827dfa68004cbdb7a78e4b90de20fc>:0
  at Server.Network.MessagePump.HandleReceive (Server.Network.NetState ns) [0x00240] in <b0827dfa68004cbdb7a78e4b90de20fc>:0
  at Server.Network.MessagePump.Slice () [0x00057] in <b0827dfa68004cbdb7a78e4b90de20fc>:0
  at Server.Core.Main (System.String[] args) [0x006e6] in <b0827dfa68004cbdb7a78e4b90de20fc>:0
 

Max

Citizen
You can try to force the savestrategy to be a different one.
I recall that i've seen some issue in the past with it but cannot find anymore if and what I did for it.
(see Server/Persistence/SaveStrategy.cs e.g. by pushing the condition for which it selects parallelsavestrategy to a much higher core count)
My system uses Dual which works fine.
 

Iomega0318

Vita-Nex Sponsor
That was happening to me as well using the same strategy, here is my thread on how it was fixed: