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
150
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
150
Deploying Django
brianriley
12
840
Other Decks in Programming
See All in Programming
PHPの次期バージョンはこの時期どうなっているのか - Internalsの開発体制について - PHPカンファレンス小田原
youkidearitai
PRO
1
210
ADRを一年運用してみた/adr_after_a_year
hanhan1978
7
2.4k
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
980
Deep Dive into React Stream/Serialize
mugi_uno
3
550
GitHub Copilotのススメ
marcy731
1
220
Go製Webアプリケーションのエラーとの向き合い方大全、あるいはやっぱりスタックトレース欲しいやん / Kyoto.go #50
utgwkk
6
1.7k
Elm 0.19.0 Changes
bkuhlmann
0
500
Goのエラースタックトレースの歴史と今後
sonatard
10
1.7k
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
1k
Goのmultiple errorsについて (2024年4月版)
syumai
4
1.1k
Apache Hive 4 on Treasure Data
ryukobayashi
1
410
Elm Form Validation
bkuhlmann
0
510
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
61
4k
How GitHub (no longer) Works
holman
305
140k
The Invisible Side of Design
smashingmag
294
49k
Ruby is Unlike a Banana
tanoku
96
10k
KATA
mclloyd
16
12k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
275
13k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
How to train your dragon (web standard)
notwaldorf
74
5.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
32
46k
The MySQL Ecosystem @ GitHub 2015
samlambert
244
12k
The Cost Of JavaScript in 2023
addyosmani
20
3.9k
A Modern Web Designer's Workflow
chriscoyier
689
190k
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