Comments (6)
On large spike watchdog reports the lag spike in console, showing the stack trace, where you can exactly see what caused that spike. Also in crash there will be crash log with all dumped threads and their stack traces at the moment. So you need to look at the Main Thread.
from spark.
Main thread would be called Server Thread. Unfortunately, the stack traces that are produced there have proven completely useless many many times in the past.
Due to the instant cut off nature it often only shows parts of the problem and doesn't point towards the actual problem.
Also while there is potential that it points to the right direction, convincing mod devs that the problem is on their side (and the game didn't just coincidentally run their code) is difficult.
from spark.
Did you manage to profile your server's process? I'm running into the same issue.
"Plague" is a good definition for this, the server crashes once or twice a day, and there's no way I can profile it properly with spark.
Also if you'd send your watchdog for comparison that would be interesting too.
from spark.
No. I've not found a way. However, I'm running into a similar issue, this time with a memory leak where I would need a heapdump under a certain condition. So I'm considering adding this feature into my own mod instead.
from spark.
FYI, I found, and managed to get to work a profiler that works for my case (Ubuntu terminal):
https://askubuntu.com/questions/1248311/running-jvmtop-profile-the-java-home-environment-variable/1250901#1250901
May not be what you need though.
from spark.
Sorry, don't think this is something I want to support with spark
from spark.
Related Issues (20)
- /spark profiler open prints a warning about dynamic loading of Java agents HOT 1
- 1.19.2 Forge server disconnects all players when finishing spark profiler
- Frame profiler
- Spark Crashing the server HOT 1
- Spark crashes my server after it starts. HOT 1
- Support Neoforge?
- Threads count
- Profiler Start Command Crashes Server HOT 1
- Unable to use sparkc or sparkclient commands HOT 1
- Add mcfunction profiler support
- Publish spark-common to maven repository
- Error occurred while enabling spark v1.10.34 (Is it up to date?) java.lang.NoSuchFieldError: LOCALE | Forge 1.12.2
- Not working "sparkclient profiler" on linux
- minecraft 1.20.1 forge 47.2.0 crash
- Heap Summary Connection Issues HOT 4
- Showing how many times a function is called in a tick HOT 25
- Sharable sampler report
- Cpu Bar
- [1.16.5]
- Trojan:Script/Wacatac.B!ml detected in Sponge 7 download
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spark.