Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPU usage stuck at over 100% because of PlotSquared #3235

Closed
2 tasks done
SecretlyJealous opened this issue Sep 6, 2021 · 4 comments
Closed
2 tasks done

CPU usage stuck at over 100% because of PlotSquared #3235

SecretlyJealous opened this issue Sep 6, 2021 · 4 comments
Labels
Bug Something isn't working Cannot Replicate A project developer or maintainer can't replicate this issue.

Comments

@SecretlyJealous
Copy link

SecretlyJealous commented Sep 6, 2021

Server Implementation

Tuinity

Server Version

1.17.1

Describe the bug

After leaving my server online for a couple of hours I noticed that my CPU usage was stuck at over 100% so I used VisualVM to see what was going on and this seems to be the problem:

Untitled

"Craft Scheduler Thread - 5 - PlotSquared" - Thread t@115
   java.lang.Thread.State: RUNNABLE
        at app//org.sqlite.core.NativeDB.step(Native Method)
        - locked <505b55ae> (a org.sqlite.core.NativeDB)
        at app//org.sqlite.core.DB.execute(DB.java:851)
        at app//org.sqlite.core.DB.executeUpdate(DB.java:904)
        - locked <505b55ae> (a org.sqlite.core.NativeDB)
        at app//org.sqlite.jdbc3.JDBC3PreparedStatement.executeUpdate(JDBC3PreparedStatement.java:98)
        at PlotSquared-Bukkit-6.0.9-Premium.jar//com.plotsquared.core.database.SQLManager$8.addBatch(SQLManager.java:1082)
        at PlotSquared-Bukkit-6.0.9-Premium.jar//com.plotsquared.core.database.SQLManager.sendBatch(SQLManager.java:430)
        at PlotSquared-Bukkit-6.0.9-Premium.jar//com.plotsquared.core.database.SQLManager.lambda$new$0(SQLManager.java:210)
        at PlotSquared-Bukkit-6.0.9-Premium.jar//com.plotsquared.core.database.SQLManager$$Lambda$5760/0x0000000801d6e380.run(Unknown Source)
        at PlotSquared-Bukkit-6.0.9-Premium.jar//com.plotsquared.bukkit.util.task.BukkitPlotSquaredTask.runTask(BukkitPlotSquaredTask.java:46)
        at PlotSquared-Bukkit-6.0.9-Premium.jar//com.plotsquared.core.util.task.PlotSquaredTask.run(PlotSquaredTask.java:51)
        at app//org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101)
        at app//org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
        at app//com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
        at java.base@16.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.base@16.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at java.base@16.0.2/java.lang.Thread.run(Thread.java:831)

Untitled

Here is the entire thread dump if it helps: https://pastebin.com/DDHetRPT

When shutting down the server I received this error: https://pastebin.com/DJzr7L2z

To Reproduce

I'm not sure how to reproduce this

Expected behaviour

CPU usage should not get stuck at a high percentage

Screenshots / Videos

No response

Error log (if applicable)

No response

Plot Debugpaste

I had to restart my server because of the CPU usage being very high: https://athion.net/ISPaster/paste/view/48550f965c68413a8ff4ee6bed05aa6c

PlotSquared Version

PlotSquared-Bukkit-6.0.9-Premium

Checklist

Anything else?

No response

@SecretlyJealous SecretlyJealous added the Requires Testing This is a new issue which needs to be approved before labeled with "bug" label Sep 6, 2021
@SecretlyJealous SecretlyJealous changed the title CPU usage stuck because of PlotSquared CPU usage stuck at over 100% because of PlotSquared Sep 6, 2021
@SirYwell
Copy link
Member

SirYwell commented Sep 7, 2021

Could you share your log from before the restart?

@SecretlyJealous
Copy link
Author

SecretlyJealous commented Sep 7, 2021

Could you share your log from before the restart?

Sure, here's the log: https://pastebin.com/iLSpyf3y

Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

@stale
Copy link

stale bot commented Nov 6, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If the issue is still present and can be reproduced, please let the team know. Thank you for your contributions.

@dordsor21 dordsor21 added Bug Something isn't working Requires Testing This is a new issue which needs to be approved before labeled with "bug" and removed resolution: stale Requires Testing This is a new issue which needs to be approved before labeled with "bug" labels Nov 6, 2021
@OneLiteFeather OneLiteFeather added Cannot Replicate A project developer or maintainer can't replicate this issue. and removed Requires Testing This is a new issue which needs to be approved before labeled with "bug" labels Apr 22, 2023
@OneLiteFeather
Copy link
Member

Can't be replicated and the logs are empty as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Cannot Replicate A project developer or maintainer can't replicate this issue.
Projects
None yet
Development

No branches or pull requests

4 participants