Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Debugging your gunicorns
Search
Brian Riley
October 16, 2012
Programming
170
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Debugging your gunicorns
Lightning talk at LA Django October 16, 2012
Brian Riley
October 16, 2012
Transcript
11 slides
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
More Decks by Brian Riley
See All by Brian Riley
Python for the Ruby Programmer
brianriley
0
250
Deploying Django
brianriley
12
860
Other Decks in Programming
See All in Programming
正解の無い問題を 「できるだけ上手く」解く ヒューリスティックで感性を磨こう。〜現実課題をプログラミングで解きあうコミュニティについて〜
allegrogiken
0
120
Compiling Your Language to WasmGC & Friends
tanishiking
0
440
小さなアプリを作って公開するまで
onozaty
0
260
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
610
Kotlin Fest 2026: Kotlin コンパイラに Contribute してみよう! - Kotlin/Wasm で深い再帰を書けるようにした話
ternbusty
1
420
あなたはMCPの機能を、まだ知らない。
4geru
1
740
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1.1k
protojson における文字化けの扱い
kazuki1023
0
470
特急いなほ as a Workflow / 20261107jaws-festa-2026-akita-lt
kasacchiful
PRO
0
110
AI駆動TDD ― 2026年10月版
hrmstrsmgs
0
110
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
170
テストだけで見つかる? Rubyでつくるメソッド発掘器
izawa
0
160
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
1
630
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
340
Chasing Engaging Ingredients in Design
codingconduct
0
410
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
320
Being A Developer After 40
akosma
PRO
92
590k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.5k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
The Art of Programming - Codeland 2020
erikaheidi
57
15k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
My Coaching Mixtape
mlcsv
0
400
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
650