Skip to content

Server locks at 75% cpu with no players #78

@ricsal1

Description

@ricsal1

Stack trace

[22:07:24] [Region Scheduler Thread #0/INFO]: Bot36 left the game
[22:07:24] [Region Scheduler Thread #0/INFO]: Bot14 lost connection: Disconnected
[22:07:24] [Region Scheduler Thread #0/INFO]: Bot14 left the game
[22:07:24] [Region Scheduler Thread #0/INFO]: Bot4 lost connection: Disconnected
[22:07:24] [Region Scheduler Thread #0/INFO]: Bot4 left the game

5 minutes after clients disconnected and Folia on fire at 75% CPU

Started dump - "jmap -dump:file=ff.bin 13096"

[22:16:31] [WindowsStreamPump/WARN]: Exception in thread "WindowsStreamPump" Exception in thread "Thread-7" java.lang.OutOfMemoryError: Java heap space
[22:16:32] [Thread-7/WARN]: java.lang.OutOfMemoryError: Java heap space
[22:16:32] [RegionFile I/O Thread #0/ERROR]: [ca.spottedleaf.concurrentutil.executor.standard.PrioritisedQueueExecutorThread] Exception thrown from prioritized runnable task in thread 'RegionFile I/O Thread #0'
java.lang.OutOfMemoryError: Java heap space
[22:16:32] [Region Scheduler Thread #0/ERROR]: [io.papermc.paper.threadedregions.TickRegionScheduler] Uncaught exception in tick thread "Region Scheduler Thread #0"
java.lang.OutOfMemoryError: Java heap space
[22:16:32] [Tuinity Chunk System Worker #0/ERROR]: [ca.spottedleaf.concurrentutil.executor.standard.PrioritisedThreadPool] Exception thrown from thread 'Tuinity Chunk System Worker #0' in queue 'ca.spottedleaf.concurrentutil.executor.standard.PrioritisedThreadPool$PrioritisedPoolExecutorImpl@317eab95'
java.lang.OutOfMemoryError: Java heap space
[22:16:33] [Region shutdown thread/INFO]: [RegionShutdownThread] Awaiting scheduler termination for 60s
[22:16:33] [Region shutdown thread/INFO]: [RegionShutdownThread] Scheduler halted
[22:16:33] [Region shutdown thread/INFO]: Stopping server

Plugin and Datapack List

none related, previous Folia builds didn't generate this problem

Actions to reproduce (if known)

Start server, connect several clients and wait for the server to spike.

Disconnect all clients, wait several minutes and generate memory dump

Folia version

latest aka folia-1.19.4-36 (Git: 7595ff6)

Other

Dump generated (zip file ~700MB)

https://meocloud.pt/link/54086052-3d21-45e0-aaec-c6af1fd410b4/foliaDump.zip/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions