Closed Specifix5 closed 2 months ago
Btw this happens in my Ubuntu VPS too, both using java openjdk 21.0.3 2024-04-16 LTS OpenJDK Runtime Environment Temurin-21.0.3+9 (build 21.0.3+9-LTS) so I suppose this isn't an issue with java version or even platform differences
Very interesting. I tried to reproduce it, but it loads normally. Used the latest version of dynmap and papi, as well as the latest IF dev build
Will test later when I get home but then I suppose its a jre issue? Are you using OpenJDK 21.0.3 LTS from Adoptium?
I suspect that not papi takes for ever to load, but the claim indexing process does. Try it with the newest version, as this will give some more insights about it
Yep, that caused it, but why take so long just because there's placeholder API? It doesn't happen when it doesnt have P api
Edit: Without P API
[11:31:25] [Server thread/INFO]: [ImprovedFactions] [detector] Detecting clusters...
[11:31:25] [Server thread/INFO]: [ImprovedFactions] [detector] Loading faction and zone positions..
[11:31:25] [Server thread/INFO]: [ImprovedFactions] [detector] Positions: 9627 Faction | 0 Zone. This might take some time
[11:31:25] [Server thread/INFO]: [ImprovedFactions] [detector] Finished loading zone positions.
[11:33:13] [Thread-21/INFO]: [ImprovedFactions] [detector] Finished loading faction positions.
[11:33:13] [Server thread/INFO]: [ImprovedFactions] [detector] All done!
With P API
[11:49:38 INFO]: [ImprovedFactions] [detector] Detecting clusters...
[11:49:38 INFO]: [ImprovedFactions] [detector] Loading faction and zone positions..
[11:49:38 INFO]: [ImprovedFactions] [detector] Positions: 9627 Faction | 0 Zone. This might take some time
[11:49:38 INFO]: [ImprovedFactions] [detector] Finished loading zone positions.
> (still not even loading faction clusters as of writing this)
faction clusters just takes exponentially long to load with placeholder API enabled?
Has been fixed with caching indexed clusters in database. Will be included in next build
Describe the bug This bug occurs when Dynmap and papi 2.11.6 are both present with ImprovedFactions (currently experiencing this issue in 2.2.0-stable and 2.2.0 built from source)
The server freezes for tens of minutes, even almost taking an hour and suddenly resuming to normal, Paper does not detect it as a "server not responding" so there is no stack trace or heap dump whatsoever.
This issue however isn't present when either Dynmap or Papi is missing
Error log from console when All three plugins are present No errors but this is what the console says before entering the freezing state:
Error logs from the console when papi is missing but Dynmap and IF are present:
Server just proceeded to load like normal, strange..
To Reproduce Steps to reproduce the behavior:
Expected behavior Server resume loading as usual like when either plugins are not present
Screenshots
Version (please complete the following information):
Additional context Full logs when 3 plugins are present: latest.log
Full logs when papi is missing: latest.log