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
170
2
Share
Debugging your gunicorns
Lightning talk at LA Django October 16, 2012
Brian Riley
October 16, 2012
More Decks by Brian Riley
See All by Brian Riley
Python for the Ruby Programmer
brianriley
0
230
Deploying Django
brianriley
12
850
Other Decks in Programming
See All in Programming
新規プロダクトを高速で生み出すハーネスエンジニアリング
seanchas116
19
7.8k
Moments When Things Go Wrong
aurimas
3
130
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
1.3k
AIエージェントの隔離技術の徹底比較
kawayu
0
450
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
1.8k
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
5.1k
AIとRubyの静的型付け
ukin0k0
0
500
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
520
TypeSpec で繋ぐ複数プロダクトの型安全
maroon8021
1
300
Talking to terminals (and how they talk back) (KotlinConf 2026)
jakewharton
PRO
1
170
Inside Stream API
skrb
1
520
SPMマルチモジュールで テストカバレッジを取得する技法
yosshi4486
0
140
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
55
8.2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
230
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
74k
Paper Plane (Part 1)
katiecoart
PRO
0
8.1k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
4 Signs Your Business is Dying
shpigford
187
22k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.3k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
930
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Optimising Largest Contentful Paint
csswizardry
37
3.7k
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