Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Beyond top: Command-Line Monitoring on the JVM (ClojureRemote)
Search
Colin Jones
February 11, 2016
Programming
0
120
Beyond top: Command-Line Monitoring on the JVM (ClojureRemote)
Colin Jones
February 11, 2016
Tweet
Share
More Decks by Colin Jones
See All by Colin Jones
A Bug's Life: What if `select` is Broken After All?
trptcolin
0
130
Underestimated costs of microservice architectures
trptcolin
3
1.4k
FP vs. OOP: Beyond the Bikeshed
trptcolin
0
390
Diving into the Details with DTrace! (RubyConf 2016 edition)
trptcolin
2
290
Diving into the Details with DTrace
trptcolin
3
480
Adopting FP: the good, the familiar, and the unknown
trptcolin
0
140
Finding out what's *really* going on, with DTrace!
trptcolin
1
290
Beyond top: Command-Line Monitoring on the JVM (JavaOne 2015)
trptcolin
1
650
ZooKeeper: Wait-free coordination for Internet-scale systems
trptcolin
2
160
Other Decks in Programming
See All in Programming
ログラスを支える設計標準について / loglass-design-standards
urmot
10
2.1k
チーム力を高めるスクラム実践法:カンバン公開と課題攻略について - ニフティのスクラムトーク Vol. 2 - NIFTY Tech Talk #18
niftycorp
PRO
1
110
0→1と1→10の狭間で Javaという技術選定を振り返る/Reflecting on the Decision to Choose Java Between Scaling from 0 to 1 and 1 to 10
jaguar_imo
2
370
Folding Cheat Sheet #2
philipschwarz
PRO
0
110
educure_カリキュラム生操作マニュアル.pdf
linew_official
0
490
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
180
Elm Form Validation
bkuhlmann
0
510
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
26
7.9k
Folding Cheat Sheet #1
philipschwarz
PRO
0
210
try! Swift Tokyo 2024のLT枠に採択されたプロポーザルを出すときに考えていたこと
ski
0
340
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
220
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
39
18k
Featured
See All Featured
How to name files
jennybc
64
92k
GitHub's CSS Performance
jonrohan
1023
450k
Git: the NoSQL Database
bkeepers
PRO
422
63k
The Language of Interfaces
destraynor
151
23k
Navigating Team Friction
lara
177
13k
Optimising Largest Contentful Paint
csswizardry
7
2.3k
For a Future-Friendly Web
brad_frost
171
8.9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
29
6k
RailsConf 2023
tenderlove
2
530
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
19
1.9k
Unsuck your backbone
ammeep
662
57k
Designing Experiences People Love
moore
136
23k
Transcript
Beyond top(1) Command-Line Monitoring on the JVM Colin Jones @trptcolin
8th Light
command-line tooling
introspection & serviceability on the JVM
war stories
A long time ago in a startup far, far away…
Things are going pretty well
But strange things are afoot
the server sometimes gets really slow
the team has to manually restart the application server
Pain, frustration, anger
Just the facts
sometimes, things get slow
all requests seem to be affected
the JVM stays up
restart the JVM and everything is fine
What could it be?
Demo
More facts!
what application code was running
constant full GCs
what’s in the heap
What could it be?
None
None
Mystery solved!
Now “just” fix it
idea 1: eliminate the leak
idea 2: eliminate the cache altogether?
idea 3: delete the feature
idea 4: re-think the problem
So we’re good, for now…
Lessons
“it’s slow” could mean lots of things
“high CPU” could mean lots of things
collecting data is crucial in a crisis
reproducing the issue helps me sleep at night
The right tools for the job
Other “right tools for the job”
Learning more
Books Books!
operators are standing by!
Thank you! Colin Jones @trptcolin