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

[BUG] Major server lag/crashes with a large amount of teams #134

Closed
DeathByAutoscroll opened this issue May 16, 2021 · 3 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@DeathByAutoscroll
Copy link

Written on behalf of YAP on discord.

My server regurally gets between 100-140 players, because of this my server's teams.yml has a lot of teams, and everytime that file is accessed it lags the server.

Causes of lag include: Getting information about a team, removing a player from a team, updating a teams score (from player death).

This gets worse and worse with more data added to the teams.yml file.

Original discord message:
hello!
i find big bug..

my server user online 100 ~140 player

this bug is induce server thread thumping or stoping.

my server
teams.yml file data value is 80kb
in file so many created teams

how to thumping lag?
just two cmmands quickly input
/team info name
/team kick player

its commands quickly typings
again again

A lag is triggered when loading data.

In addition, the score system loads data when an event occurs in which the player dies, causing a lag

@DeathByAutoscroll DeathByAutoscroll added the bug Something isn't working label May 16, 2021
@booksaw booksaw added this to the 4.0 milestone May 16, 2021
@stale
Copy link

stale bot commented Jun 5, 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. Thank you for your contributions.

@stale stale bot added the inactive The issue has had no activity for 20 days, it will be closed in 10 days time label Jun 5, 2021
@booksaw
Copy link
Owner

booksaw commented Jun 8, 2021

It is important to ensure new saving systems can be implemented in the future. For example MySQL.

@booksaw booksaw closed this as completed Jun 8, 2021
@booksaw booksaw reopened this Jun 8, 2021
@stale stale bot removed the inactive The issue has had no activity for 20 days, it will be closed in 10 days time label Jun 8, 2021
@booksaw booksaw mentioned this issue Jun 8, 2021
6 tasks
@booksaw
Copy link
Owner

booksaw commented Jun 25, 2021

This bug has been fixed and the patch will be included in the next update. Thank you for reporting.

@booksaw booksaw closed this as completed Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants