Recent Discussions
Is there a way to auto log spark reports when the server crashes?
Unanswered
Akita posted this in #questions
55 messages
0 views
AkitaOP
I'm having an issue where I'm guessing something leaks memory so much that at one point the GC uses like 90% of the server thread and the tps crashes to 2 until the server itself eventually crashes and restarts.
I've always been offline for these crashes and I couldn't get a spark report. Is there any way for spark to automatically log as soon as the server crashes/reaches a certain TPS treshold?
The above is a screenshot my friend took while he was awake, the report already expired before I could look at it though
I've always been offline for these crashes and I couldn't get a spark report. Is there any way for spark to automatically log as soon as the server crashes/reaches a certain TPS treshold?
The above is a screenshot my friend took while he was awake, the report already expired before I could look at it though
image.png
@Akita I'm having an issue where I'm guessing something leaks memory so much that at one point the GC uses like 90% of the server thread and the tps crashes to 2 until the server itself eventually crashes and restarts.
I've always been offline for these crashes and I couldn't get a spark report. Is there any way for spark to automatically log as soon as the server crashes/reaches a certain TPS treshold?
The above is a screenshot my friend took while he was awake, the report already expired before I could look at it though
I've always been offline for these crashes and I couldn't get a spark report. Is there any way for spark to automatically log as soon as the server crashes/reaches a certain TPS treshold?
The above is a screenshot my friend took while he was awake, the report already expired before I could look at it though
you can do a few differnet things, the best is doing /spark profiler stop so it doesnt end the live view, or just throwing it into #commands and getting the spark profile file
are you using a hosting service?
are you using a hosting service?
@Tamz you can do a few differnet things, the best is doing /spark profiler stop so it doesnt end the live view, or just throwing it into #commands and getting the spark profile file
are you using a hosting service?
are you using a hosting service?
AkitaOP
The server crashes before I'm awake though, and that just deletes the data from the background profiler right?
I'm not using a hosting server, we're self-hosting. Ever since switching to 1.21.8 and Temurin 21 JRE we had an issue with Aikar's flags causing the JRE to crash, so we removed them. Could possibly be related
I'm not using a hosting server, we're self-hosting. Ever since switching to 1.21.8 and Temurin 21 JRE we had an issue with Aikar's flags causing the JRE to crash, so we removed them. Could possibly be related
@Akita The server crashes before I'm awake though, and that just deletes the data from the background profiler right?
I'm not using a hosting server, we're self-hosting. Ever since switching to 1.21.8 and Temurin 21 JRE we had an issue with Aikar's flags causing the JRE to crash, so we removed them. Could possibly be related
I'm not using a hosting server, we're self-hosting. Ever since switching to 1.21.8 and Temurin 21 JRE we had an issue with Aikar's flags causing the JRE to crash, so we removed them. Could possibly be related
1. yes
self hosting?
Can you send a spark profiler, around 2-3 minutes it doesnt need to be long
self hosting?
Can you send a spark profiler, around 2-3 minutes it doesnt need to be long
This is when it's running normally
hm thought so, you have quite a bit of swap available
AkitaOP
Is that an issue?
no, just explains the giant libc.so.6 line
and unfortunately there is no way to do what you are asking without developing your own custom mod pretty sure
and unfortunately there is no way to do what you are asking without developing your own custom mod pretty sure
AkitaOP
Damn
I honestly dont know what to do other than to add frequent daily restarts
@Akita I honestly dont know what to do other than to add frequent daily restarts
do you have any crash logs?
or latest.logs when the server stops we could help
if its a memory issue you can also give a heapsummary that spark can do so we can see if any mods are leaking
@Tamz if its a memory issue you can also give a heapsummary that spark can do so we can see if any mods are leaking
AkitaOP
Isn't a heapsummary a potential security issue?
If shared
AkitaOP
Ah I think I mean heapdump
also no
nothing spark gives is a security issue
AkitaOP
That would leak potential private info from the process like private keys from votifier (eg), no?
Loading...
Loading...