[SPIGOT-3874] Entities stay activated. Created: 28/Mar/18 Updated: 30/Mar/18 Resolved: 29/Mar/18 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Miklos | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
SuSE leap 42.3 openjdk version "1.8.0_161" |
Attachments: |
![]() ![]() |
Description |
since commit, 7e94e65a1ca ( With players online, there is also a above normal increase of active entities, which results in a decline of server preformance Tested with spigot commit 3aT482bdd400 (27-FEB) agains 7e94e65a1ca (7-MRT) and later (using only plugin essentials OR clearlag to check entities !! ) It would be nice if someone can confirm this strange behavor.
|
Comments |
Comment by PseudoKnight [ 30/Mar/18 ] |
On my server we have about 1800-2000 extra entities and around 570 extra chunks loaded at any given time due to this, even if they're slow ticked. It looks like Miklos has around 1000 extra entities and 300 extra chunks, but about 3000 extra hoppers. The config option will allow me to continue using the latest builds, thanks. |
Comment by PseudoKnight [ 30/Mar/18 ] |
The severity seems to depend on how many persistent villages you have in your worlds defined in villages.dat, not directly the number of villagers. Even on a fresh start with no players on, village chunks are loaded up and now kept loaded somehow due to this change. It just so happens that these chunks can have a lot of villagers, hoppers and iron golems. With large worlds with tons of villages, this can get bad. My server survives, but it does stress it. To reproduce you probably need to have had villages generated and populated in villages.dat. |
Comment by md_5 [ 29/Mar/18 ] |
An config option to change this has been added, but it is not enabled by default obviously because it causes bugs and breaks Vanilla behaviour. I would suggest your server has serious issues if the amount of villagers present causes it to crash. |
Comment by Miklos [ 29/Mar/18 ] |
Your right, I have just build the latest spigot version without fix SPIGOT-3846: Still tick villager functions when inactive and no more decline of server preformance For a small server, who allow more mobs/hoppers/enz its just a NO NO. |
Comment by md_5 [ 28/Mar/18 ] |
The only change that has been made between the two dates you have listed is that villagers are still semi-ticked to fix |