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
Debugging your gunicorns
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Brian Riley
October 16, 2012
Programming
2
160
Debugging your gunicorns
Lightning talk at LA Django October 16, 2012
Brian Riley
October 16, 2012
Tweet
Share
More Decks by Brian Riley
See All by Brian Riley
Python for the Ruby Programmer
brianriley
0
220
Deploying Django
brianriley
12
850
Other Decks in Programming
See All in Programming
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
Fragmented Architectures
denyspoltorak
0
150
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
CSC307 Lecture 06
javiergs
PRO
0
680
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.2k
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.8k
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
dchart: charts from deck markup
ajstarks
3
990
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
270
AI巻き込み型コードレビューのススメ
nealle
1
160
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
A Soul's Torment
seathinner
5
2.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
4 Signs Your Business is Dying
shpigford
187
22k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
110
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
84
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
Chasing Engaging Ingredients in Design
codingconduct
0
110
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
92
Why Our Code Smells
bkeepers
PRO
340
58k
WENDY [Excerpt]
tessaabrams
9
36k
Transcript
TestFlight Burstly 16/10/12 Debugging your gunicorns Brian Riley @btriley
Black box vagrant@precise32:~$ sudo service myapp start Starting myapp: myapp
vagrant@precise32:~$
Did it work? vagrant@precise32:~$ ps aux | grep gunicorn vagrant
... grep --color=auto gunicorn vagrant@precise32:~$
Did it work? vagrant@precise32:~$ ps aux | grep gunicorn vagrant
... grep --color=auto gunicorn vagrant@precise32:~$ FFFFFFFUUUUUUUUUUUU
What went wrong? upstart script gunicorn config django (python path)
something else?
Detour try: id = request.POST[‘model_id’] instance = MyModel.objects.get(id=id) except: return
HttpResponse(‘something went wrong’)
Detour try: id = request.POST[‘model_id’] instance = MyModel.objects.get(id=id) except: return
HttpResponse(‘something went wrong’)
Detour try: id = request.POST[‘model_id’] instance = MyModel.objects.get(id=id) except: return
HttpResponse(‘something went wrong’)
What could go wrong? description “My Django Site” start on
runlevel [2345] stop on runlevel [06] respawn respawn limit 10 5 exec gunicorn_django ...
Do this
Thanks Sandy