PurpurMC / Purpur

Purpur is a drop-in replacement for Paper servers designed for configurability, and new fun and exciting gameplay features.
https://purpurmc.org
MIT License
2.05k stars 363 forks source link

After updating to the 1.21 server, the CPU usage is very high #1577

Closed Cobyqwq closed 3 months ago

Cobyqwq commented 3 months ago

Spark link

https://spark.lucko.me/YXsqCkLSXE

Description of issue

After updating to the 1.21 server, the CPU usage is very high, usually fluctuating from 5% to 50%. Even if the server has only one player, it will still occupy 0-10%, and even if there is no player, it will be the same

Purpur version

1.21-2280-930003b (MC: 1.21)*

Agreements

Other

No response

Onako2 commented 3 months ago

Please send the spark profiler link (/spark profiler start) and after a few minutes do (/spark profiler stop). You sent a Heap Summary which doesn't help at all to solve your issue.

You can also join our Discord.

Cobyqwq commented 3 months ago

Please send the spark profiler link (/spark profiler start) and after a few minutes do (/spark profiler stop). You sent a Heap Summary which doesn't help at all to solve your issue.

You can also join our Discord.

G1 Old 1300ms,Is it abnormal?

Cobyqwq commented 3 months ago

Please send the spark profiler link (/spark profiler start) and after a few minutes do (/spark profiler stop). You sent a Heap Summary which doesn't help at all to solve your issue.

You can also join our Discord.

https://spark.lucko.me/9kqex2d8jF

Onako2 commented 3 months ago

Oh just noticed, there is a bit too much in SWAP, SWAP is when your RAM stuff is written onto a SSD or HDD(Which hurts SSD and performance)

granny commented 3 months ago

Please join our discord for support. https://purpurmc.org/discord