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
nginx维护手册.pdf
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Lei Yang
September 27, 2011
Technology
170
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
nginx维护手册.pdf
Lei Yang
September 27, 2011
More Decks by Lei Yang
See All by Lei Yang
webis chronicle.pdf
hydra35
1
82
Intro. to No Man's Land
hydra35
1
75
Other Decks in Technology
See All in Technology
Local CI × GitHub Actions
gogutan
2
190
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
860
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
430
How to Design Configuration for Rails Applications
willnet
1
770
Classmethod Company Deck
satoshi7
1
680
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
290
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
570
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
AI駆動で「他アプリの音を加工できる」アプリを作った
satomasahiro2005
0
150
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.2k
しろおびから始める!ログ活用の第一歩
shumei_ito
0
950
大型犬好きによるPugの紹介
yamanoku
1
160
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
480
Building a Scalable Design System with Sketch
lauravandoore
464
34k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
820
Designing Experiences People Love
moore
143
24k
Darren the Foodie - Storyboard
khoart
PRO
4
4k
Why Our Code Smells
bkeepers
PRO
340
58k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Docker and Python
trallard
47
4.2k
Making the Leap to Tech Lead
cromwellryan
135
10k
Transcript
nginxົ൭Ҩ Lei Yang <
[email protected]
> ୍ᄅರྒ௹
nginxശࠩ ۵ෛnginx stable release ֒stable releaseശࠩުđᄝ1ᇛଽശࠩ֞ቋྍb ҂ေ৫ࠧശࠩđٝᆸstableԛགྷᇗ໙ี щၲҕඔЌӻ໗קđૄՑטᆜႯࡱಞቆଽ൙ ᆩ֡ğ/opt/app/nginx/sbin/nginx -V
୍ᄅರྒ௹
ֻٚଆॶശࠩ щၲൈႨ--add-module֥൞ֻٚଆॶ ҰଆॶაྍϱЧnginx֥࡙ಸྟbೂݔીႵཌྷ ܱඪૼđᆰࢤemailଆॶቔᆀ࿘໙ githubഈ֥ଆॶႨDownloads֥tarЇ ୍ᄅರྒ௹
ֻٚଆॶശࠩ ୍ᄅರྒ௹
nginx debugč1) ֒ಒಪ൞nginxႵ໙ีҌቓđն҆ٳൈީnginx ી໙ีbປӮުcore dumpေЌ netscaler> disable server nginx_ip nginx>
gdb attach nginx_pid gdb> gcore nginx> gdb /opt/app/nginx/sbin/nginx core.pid gdb> backtrace nginx> /etc/init.d/nginx restart netscaler> enable server nginx_ip ୍ᄅರྒ௹
20485 20485 20485 ? Ss 0:00 nginx: master process /opt/app/nginx/sbin/nginx
-c /opt/conf/ nginx/nginx.conf 20486 20485 20485 ? S 19:55 \_ nginx: worker process 20488 20485 20485 ? S 19:58 \_ nginx: worker process 20489 20485 20485 ? S 20:09 \_ nginx: worker process 20490 20485 20485 ? S 20:01 \_ nginx: worker process 20491 20485 20485 ? S 20:04 \_ nginx: worker process 20492 20485 20485 ? S 20:10 \_ nginx: worker process 20493 20485 20485 ? S 20:11 \_ nginx: worker process 20494 20485 20485 ? S 19:55 \_ nginx: worker process 20495 20485 20485 ? S 0:00 \_ nginx: cache manager process nginx debugč2) ഈඍ҄ᇧ҂ֆؓ၂۱nginxࣉӱğ pgrep nginx #ࠆ֤nginxࣉӱݼ master, cache managerࣉӱсቓĠworker processቓᇀഒਆ۱ ୍ᄅರྒ௹
nginx debugč3) backtraceࠆ౼ປުđཿႇ໓Ⴏࡱؿෂ֞
[email protected]
Ⴏࡱਙі Ⴏࡱଽಸğ ༵૭ඍౢԣ໙ีđಖުڸഈbacktraceđቋު۳ ԛҠቔ༢ϱЧđnginxщၲҕඔb Ⴏࡱ২ሰğhttp:/ /forum.nginx.org/read.php?
2,212274 ୍ᄅರྒ௹