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

Server freezing #4531

Open
2 tasks done
JorisvD01 opened this issue Oct 29, 2024 · 3 comments
Open
2 tasks done

Server freezing #4531

JorisvD01 opened this issue Oct 29, 2024 · 3 comments
Labels
Requires Testing This is a new issue which needs to be approved before labeled with "bug"

Comments

@JorisvD01
Copy link

Server Implementation

Paper

Server Version

1.21.1

Describe the bug

Plotsquared is installed on a server, currently 8GB of ram, and experiences a lot of freezing / laggspikes (every 20 seconds roughly) and gives an error in console (log pasted later).

This only started happening when multiple people came on the server and started creating plots. There are currently 719 plots created in total

To Reproduce

  1. Create a server with plotsquared
  2. Have multiple people play on it for some time
  3. We experience these freezes / laggspikes

Expected behaviour

Reduced lagg compared to the current situation

Screenshots / Videos

No response

Error log (if applicable)

https://mclo.gs/HJptU7I

Plot Debugpaste

https://athion.net/ISPaster/paste/view/30c0b3bbaffa4384baee63401fe9374a

PlotSquared Version

7.3.11-Premium

Checklist

Anything else?

Sorry if this might be related to something else, but I can't find anything related to it!

@JorisvD01 JorisvD01 added the Requires Testing This is a new issue which needs to be approved before labeled with "bug" label Oct 29, 2024
@SirYwell
Copy link
Member

This could be a malicious item stack or just many full chests etc. You can try to also use spark to better see where in the code the time is spent.

@JorisvD01
Copy link
Author

This could be a malicious item stack or just many full chests etc. You can try to also use spark to better see where in the code the time is spent.

We checked in spark and it does indeed spend a lot of its resources in unloading chunks, related to chests and item stacks. Any pointers on how I could find out the source of this the easiest way?

@SirYwell
Copy link
Member

Timings might help, or the vanilla /perf command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Requires Testing This is a new issue which needs to be approved before labeled with "bug"
Projects
None yet
Development

No branches or pull requests

2 participants