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
nginx维护手册.pdf
Search
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
78
Intro. to No Man's Land
hydra35
1
73
Other Decks in Technology
See All in Technology
形式手法特論:Hyperproperty とモデル検査 #kernelvm / Kernel VM Study Tokyo 19th
ytaka23
0
790
:syncing_time:
sksat
2
740
ハッカソンで入賞した話 @ Findy LT
asari194617
0
1.5k
1.5時間を無駄にして学んだwsl2におけるaptとsnapの選択と仕組み
yosaka0123
0
440
コーチングの奥義 何もしないテクニック
jinwatanabe
0
160
AIにブラウザを触らせて、E2EテストをPlaywrightで書く
koji_kawamura
0
420
アクセスキーが漏れた日にやるべきこと- 無効化の先にある本当の対応
kazzpapa3
0
320
国家プロジェクトを支える「さくらONE」 大規模LLM開発におけるGPU障害を乗り越えるクラスター運用戦略
gpuunite_official
0
280
Kiro Crew で始める マルチエージェント開発
miu_crescent
PRO
0
180
DDDのエッセンスを取り入れたAIでの開発
ak2ie
1
230
Digital Credentials API × OpenID4VP ブラウザ完結型本人確認の実装知見(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
230
Digitization部 紹介資料
sansan33
PRO
2
7.7k
Featured
See All Featured
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
440
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
670
Automating Front-end Workflow
addyosmani
1369
210k
Optimizing for Happiness
mojombo
378
71k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
30 Presentation Tips
portentint
PRO
1
380
Building an army of robots
kneath
306
46k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.8k
Music & Morning Musume
bryan
47
7.3k
The Cost Of JavaScript in 2023
addyosmani
55
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 ୍ᄅರྒ௹