#Hi there, i'm hosting a server for a few friends. and need help

1 messages · Page 1 of 1 (latest)

odd slate
#

the server tps has been at 20 the whole time for the last 3 days and now suddenly tanking hard 5-15
I look in the spark profiler it says entity ticks are at 43%. and JUST restarted the server

lyric dune
#

gonna need a bit more info

odd slate
#

what you need?

odd slate
#

Have you checked the forum and wiki to ensure your issue hasn't been resolved? (Y/N): No

What launcher are you using? (Curseforge, ATLauncher, Prism Launcher...): Curseforge, private server unsure how that's related to server TPS

Which modpack are you using? (BCG+, BCG+NC, BCGHG): BCG+

Have you modified the pack in any way? (i.e. Adding or removing mods): No

What version of the modpack are you using? (1.1.16HF, 1.1.15, 1.1.14...): Latest

What version of the Java runtime are you using? (Java 17, 18, 21...): 21

Have you allocated 6GB of RAM or higher? (Y/N): Y 12

If playing with others, what method is being used to host/join the server? (Official server support can be found here: https://discord.gg/playcdu): Pterodactyl barebones

If playing with others, have you confirmed that both the client and server are running the exact same version of the pack (including any HF releases)? (Y/N): Yes

Describe the issue: TPS jumping all over the place use to sit at 20 tps for 3 days

Steps you've taken in effort to resolve this issue: Restarted the server. looked at spark profiler

Discord is great for playing games and chilling with friends, or even building a worldwide community. Customize your own space to talk, play, and hang out.

lyric dune
#

install and use java17

odd slate
#

17 for 1.20.1?

lyric dune
#

yes

#

server and client

odd slate
#

gonna just do it for server. don't see how me having java 17 is gonna effect tps :P.
odd that it's java 17. was lead to believe 1.20.1+ needs java 21

odd slate
#

downgrading to 17 caused the server to crash

odd slate
lyric dune
#

crash log?

odd slate
#

was also sitting at 5

#

gonna read that too 😛

lyric dune
#

entity count is killing the server

odd slate
#

right. unsure how. it was completely fine the last 3 days

#

is there a entitiy killer in the pack?

lyric dune
#

item frames? animals, etc etc

#

not that im aware of

odd slate
#

0 item frames

#

0 animals

#

server is 3 days old lol

lyric dune
#

what did spark output

odd slate
#

entities. was sitting at 43%

lyric dune
#

did it list any chunks?

odd slate
#

preloaded world with chunky

#

5kx5k

#

overworld and nether

lyric dune
#

whats sim distance set to?

odd slate
#

believe it's 10 1 sec

lyric dune
#

@jade crane sorry to bother you lion, got any input mr server mans

odd slate
#

yeah 10

lyric dune
#

damn, you ballin

odd slate
#

? xD

lyric dune
#

10 is insane lol

#

most servers run at 2

odd slate
#

o.o I mean the barebone's isnt bad lol

lyric dune
#

the e3 xeon is prob overloaded

odd slate
#

usually run 3 vanilla servers with it

jade crane
#

yeah no advice here tbh

lyric dune
#

i only really know to lower sim distance and keep an eye on spark

odd slate
#

simulation distance is enititys loaded in chunk/near player or is that server render distance?

lyric dune
#

you can revert the server back to 21

jade crane
#

my servers tps tanks fron entitys as well

lyric dune
#

thats server render distance

#

its simulating the 10 chunks around each player

odd slate
#

ahh usually set the view_distance to change the server view didn't know simulation distance was render

#

I mean i'll change it to 2 and see how it is.

#

just odd to me that it was running fine for the last 3 days until today

lyric dune
#

things dont really trash collect

#

kinda sticks around like grease

jade crane
#

oh yeah als

#

also

#

jvm flags

odd slate
#

pretty sure that's why I used 21 because it manages trash better

lyric dune
#

i have no idea what arguments to use for selfhosted tbh

odd slate
jade crane
#

oooh

#

thats pterodactyl panel

odd slate
#

arguments. start up command?

#

yeah I love pterodactyl xD

jade crane
#

thats current heap size

odd slate
#

kinda a basic ass startup

lyric dune
#

is dterm for pterodactyl?

jade crane
jade crane
#

grrr

lyric dune
#

^

jade crane
#

g1gc recomended

lyric dune
#

-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -Xms4G -Xmx16G -Dfile.encoding=UTF-8

odd slate
#

yooooo

lyric dune
#

what i was testing with

odd slate
lyric dune
#

but i only tested

#

ye

odd slate
#

alright gonna try that startup command lol

#

should I hop back to java 21 with those flags?

lyric dune
#

you could try

odd slate
#

seems to be good now with the trash collection xD