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
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
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
0
420
愛される翻訳の秘訣
kishikawakatsumi
3
370
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
4
1.1k
Grafana:建立系統全知視角的捷徑
blueswen
0
280
PC-6001でPSG曲を鳴らすまでを全部NetBSD上の Makefile に押し込んでみた / osc2025hiroshima
tsutsui
0
200
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 2
philipschwarz
PRO
0
140
AIの誤りが許されない業務システムにおいて“信頼されるAI” を目指す / building-trusted-ai-systems
yuya4
7
4.3k
ELYZA_Findy AI Engineering Summit登壇資料_AIコーディング時代に「ちゃんと」やること_toB LLMプロダクト開発舞台裏_20251216
elyza
2
1k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
330
はじめてのカスタムエージェント【GitHub Copilot Agent Mode編】
satoshi256kbyte
0
150
gunshi
kazupon
1
140
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
180
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Code Reviewing Like a Champion
maltzj
527
40k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
330
AI: The stuff that nobody shows you
jnunemaker
PRO
2
160
How to Talk to Developers About Accessibility
jct
1
96
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
38
Design in an AI World
tapps
0
120
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
65
35k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
140
Why Our Code Smells
bkeepers
PRO
340
58k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
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