A
Admincraftโ€ข2mo ago
GUWAD

Sometimes just flying through chunks, TPS drops as low as 12

https://spark.lucko.me/nhBjnHB5mN Flying through chunks with Elytra sometimes drops tps quite a lot, not sure what is causing this.
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
45 Replies
Admincraft Meta
Admincraft Metaโ€ข2mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by guwad#0
GUWAD
GUWADOPโ€ข2mo ago
!solved
Admincraft Meta
Admincraft Metaโ€ข2mo ago
Closed post!
Your post has been marked as solved!
Requested by guwad#0
GUWAD
GUWADOPโ€ข2mo ago
ddos attack on node i think lol
Tamz
Tamzโ€ข2mo ago
ddos doesnt affect tps. ddos is a ping thing
MachineBreaker
MachineBreakerโ€ข2mo ago
No description
MachineBreaker
MachineBreakerโ€ข2mo ago
Is your world pregenned btw?
GUWAD
GUWADOPโ€ข2mo ago
no it's memory leak i think
Loudbook
Loudbookโ€ข2mo ago
Your spark report expired...
GUWAD
GUWADOPโ€ข2mo ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Deathpacito
Deathpacitoโ€ข2mo ago
!chunky
Carl-bot
Carl-botโ€ข2mo ago
Resource: Chunky
Chunky is a plugin/mod that will generate chunks in a defined radius as if you just visited it yourself. The process will temporarily use up more memory and a high percentage of your CPU as it creates the chunks in server memory and this process can be taxing on the server's resource. If you've setup a worldborder, start with by typing /chunky worldborder . Otherwise, you can set a radius using /chunky radius <num>. Then run /chunky start. It is a good idea to let this run with no players online. If your server does crash, just start it back up and /chunky resume and it should pick back up where it left off. Once it tells you that the task is finished, you may remove the chunky folder if any was created and the Chunky jar from your server. Although this isn't required and you may end up needing to do more pre-generation in the future Note: you can use /chunky quiet 60 to make the progress report only be shown every 60 seconds Download | Wiki
Admincraft Canned Responses
Deathpacito
Deathpacitoโ€ข2mo ago
Pregen your worlds, chunk gen is the heaviest hit on server resource usage, might as well do it beforehand
GUWAD
GUWADOPโ€ข2mo ago
can't pregen, world border is 10 million
Deathpacito
Deathpacitoโ€ข2mo ago
WHAT
Deathpacito
Deathpacitoโ€ข2mo ago
How many players could you possibly have that would warrant a 10 million world border
GUWAD
GUWADOPโ€ข2mo ago
i never had lag before, ran just fine. the problem im having is, the ram just keeping piling up. and never goes down.
Deathpacito
Deathpacitoโ€ข2mo ago
Yes, because of that exact issue Pregen your world
GUWAD
GUWADOPโ€ข2mo ago
so even if i leave the game my ram will sit at 10 usage i have allocated 10 total
Deathpacito
Deathpacitoโ€ข2mo ago
Based on panel or
GUWAD
GUWADOPโ€ข2mo ago
and its using all allocation doing nothing based on the panel but i couldn't even stop the server because overload
Deathpacito
Deathpacitoโ€ข2mo ago
Panel lies Use spark I'm fairly sure having a more reasonable worldborder and then pregenning your world would solve your original question issue
GUWAD
GUWADOPโ€ข2mo ago
it's an anarchy server i cannot pregen i agree for sure i would if i could
๐๐ข๐ช๐ฎ๐š๐ญ๐ž๐ซ๐ง๐ข๐จ๐ง๐ฌ
Do the experiment, try to load the ram as much as possible and then do the heapdump The reports you sent only show chunk generation taking the most time of the main thread
Deathpacito
Deathpacitoโ€ข2mo ago
What about an anarchy server makes pregen impossible? (Genuine question)
GUWAD
GUWADOPโ€ข2mo ago
i can't pregen 1 million x 1 million it will take so much storage and that is bare minimum world border
Deathpacito
Deathpacitoโ€ข2mo ago
Why do anarchy servers have such a requirement holy shit
GUWAD
GUWADOPโ€ข2mo ago
large world fun idk hahaha
Deathpacito
Deathpacitoโ€ข2mo ago
If you really want to leave it like that, then you need better hardware to cope with constant chunk generation
Deathpacito
Deathpacitoโ€ข2mo ago
^
GUWAD
GUWADOPโ€ข2mo ago
yeah honestly duo good call i will pregen something crazy like 30k and anything else will just be singular players loading a line of chunks or whatever
๐๐ข๐ช๐ฎ๐š๐ญ๐ž๐ซ๐ง๐ข๐จ๐ง๐ฌ
Since youโ€™re testing alone, first pregen 1k and see if your problem goes away
GUWAD
GUWADOPโ€ข2mo ago
ive already pregenned 5k
GUWAD
GUWADOPโ€ข2mo ago
will do, i still am almost certain theres something wrong. because i promise, literally like 4 days ago i could have 6 players on here all loading chunks 0 tps drop whatsover. now just me alone it doesn't lag, but eventually once i load so many chunks the memory just gets filled up and isn't going down at all and thats when tps drops happen like idk the functions and everything of how all of this works but i assume theres something that is supposed to help manage the memory and it is not working at all
Deathpacito
Deathpacitoโ€ข2mo ago
If you pregen with chunky you will notice the exact same thing happen For some reason generating chunks leaves a bit in ram, if you pregen a lot then your server will OOM a couple times doing so
GUWAD
GUWADOPโ€ข2mo ago
no that's the thing, with chunky i didn't even get tps drops every time ive loaded chunks with chunky i am surprised to see no tps drops ever bc i thought it would too
๐๐ข๐ช๐ฎ๐š๐ญ๐ž๐ซ๐ง๐ข๐จ๐ง๐ฌ
Yh, if you say ram doesnโ€™t go down even after leaving the server, that definitely sounds like a memory leak Leave it enough time for the ram to fill up so itโ€™s easier to analyze
GUWAD
GUWADOPโ€ข2mo ago
okay yeah thats exactly what ive been doing, because i figured that's how it worked. i want to dump when its full or nearing full
๐๐ข๐ช๐ฎ๐š๐ญ๐ž๐ซ๐ง๐ข๐จ๐ง๐ฌ
You can run the flag --alloc like pgdk mentioned here And do the heapdump If alloc doesnโ€™t give enough insight, then you can open the heapdump with eclipse/jetbrains memory analyzer
GUWAD
GUWADOPโ€ข2mo ago
problem seemed to have went away, i changed some settings in anarchyexploitfixes and i think this stopped it from happening but still keeping an eye out for it. if it was anarchyexploitfixes, what fixed it was turning off tile entity limit, dropped item limit, and non-living limit !solved
Admincraft Meta
Admincraft Metaโ€ข2mo ago
Closed post!
Your post has been marked as solved!
Requested by guwad#0

Did you find this page helpful?