FPChunkScanner create constant load and log
Wugand opened this issue ยท 9 comments
An idle server (0 players online) writes every second to log:
[00:00:00] [FP-ChunkScanner/INFO] [STDOUT]: [futurepack.common.FPChunkScanner:progressAll:226]: Buffered: 585
This also creates constant CPU load (much higher than ServerThread, in case of no palyers). Gernerally i don't think the chunk scanner shouldn't have any work in this situation.
from the profiling the chunk scanner is constant asleep, also it states it is buffering the chunks hence something is blocking the thread from evaluating the chunk.
then this log is exactly that what it meant todo: notifing something with the filesystem went wrong so it cant write the scanned chunks to disk.
Basicly only a restart can fix this problem, as the filesystems in java itself crashed and are still in memory (crashed) we now have to check if we can merge the .tmp and the .dat files to not loose this data.
yes:
https://pastebin.com/raw/yVZpinMW
after that (maybe no regard to this problem) 46 times the following within 1 sec:
https://pastebin.com/raw/Rief0fzS
Some minutes later the "Buffered" value raises up to 585 while new chunks are generated.