Futurepack Mod - Now with flyable Spaceships!

Futurepack Mod - Now with flyable Spaceships!

1M Downloads

FPChunkScanner create constant load and log

Wugand opened this issue ยท 9 comments

commented

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.

vvm

commented

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.

commented

is the Buffered number constant or decreasing ?

commented

Everytime constant 585 (over at least 1 day)

commented

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.

commented

there are no exceptions in the log?

commented

(most likely befor the spam started)

commented

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.

commented

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.

commented

solved in 26.3.471