SphereServer BugTracker - SphereServer
View Issue Details
0001997SphereServerexecutable - genericpublic11-07-11 21:1923-09-14 08:12
Coruja 
MrSugarCube 
normalmajoralways
resolvedfixed 
 
0.56c Nightly 
Automated (specify build number)
None
None
1468
0001997: Worldsave timing problem (urgent)
f_onserver_save must be called before the worldsave, but is being called after the worldsave

this produce a strange save method, because the worldsave goes like this:
1)Msg: worldsave in 10 seconds...
2)Server stop to save for about 20sec without any warning
3)After a 20sec 'freeze', it shows twice "the world is saving..." and "save took 666 seconds"

without the 'worldsave warning', every worldsave is like a server problem (sphere freeze or huge lag) and ppl were starting to complain about the server, so I marked this severity as major :D
using latest 11/07/2011 nightly release
No tags attached.
Issue History
11-07-11 21:19CorujaNew Issue
11-07-11 21:21CorujaNote Added: 0001159
13-07-11 08:13babidiNote Added: 0001161
16-07-11 05:06CorujaNote Added: 0001164
26-07-11 06:58CorujaNote Added: 0001190
31-07-11 19:49MrSugarCubeStatusnew => resolved
31-07-11 19:49MrSugarCubeFixed in Version => 0.56c Nightly
31-07-11 19:49MrSugarCubeResolutionopen => fixed
31-07-11 19:49MrSugarCubeAssigned To => MrSugarCube
23-09-14 08:12korokIssue Monitored: korok

Notes
(0001159)
Coruja   
11-07-11 21:21   
DeadSocketTime=5
MaxPacketsPerTick=100
MaxPings=15
MaxQueueSize=0
MaxSizePerTick=12000
NetTTL=300
UseAsyncNetwork=0
UsePacketPriority=0
UseExtraBuffer=1
TooltipMode=0
TooltipCache=30
AutoTooltipResend=07f
NetworkThreads=0
NetworkThreadPriority=255
(0001161)
babidi   
13-07-11 08:13   
http://tracker.sphere.torfo.org/bugs/view.php?id=1819 [^]

same as this


i think they sometimes touch something and make this issue came true
(0001164)
Coruja   
16-07-11 05:06   
today I noticed that using UsePacketPriority=1 fix this problem
but using UsePacketPriority=0 the problem remains

now it's not a problem at all (since it's already fixed by UsePacketPriority=1), but it must be fixed when using UsePacketPriority=0 too
(0001190)
Coruja   
26-07-11 06:58   
confirmed, the problem occour only using NetworkThreads=0
using NetworkThreads=1 the worldsave works fine, but I doesnt want use NetworkThreads (it will slow down server ping)

sphere build 1487