nginx
Lei Yang <clanherb@gmail.com>
nginx

  nginx stable release

stable release            1
                 stable


    /opt/app/nginx/sbin/nginx -V
--add-module

                nginx
            email

github            Downloads   tar
Nginx维护手册
nginx debug                               1)


         nginx                                   nginx
                  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
nginx debug                                                       2)

                                            nginx
pgrep nginx #                              nginx

master, cache manager                                                          worker
process
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                 3)
backtrace
nginx@nginx.org



                          backtrace
                  nginx

           http://forum.nginx.org/read.php?
2,212274

More Related Content

PDF
Helpful pre commit hooks for Python and Django
ODP
Elastic search
PDF
Keymetrics pm2
PDF
Jsconf asia pm2
PDF
Batteries not included
PPTX
Gestión de la configuración - Jenkins ci
PDF
Installation elasticsearch + kibana
PDF
Depende, ¿de qué depende? - Plain Concepts Dev Day
Helpful pre commit hooks for Python and Django
Elastic search
Keymetrics pm2
Jsconf asia pm2
Batteries not included
Gestión de la configuración - Jenkins ci
Installation elasticsearch + kibana
Depende, ¿de qué depende? - Plain Concepts Dev Day

What's hot (20)

PDF
Building a Django App on Heroku
PDF
DevStack
PDF
bivou.ac
PDF
node.js app deploy to heroku PaaS
PDF
Deploy node.js app with capistrano
PPTX
Contract testing - isolated testing of microservices - Symfony Camp 2018, Evg...
PDF
Varnish Caching
PDF
Keymetrics & PM2 - NodeJS NYC @ Microsoft
PDF
Contract testing symfony camp 2018
PDF
Automating web site deployment
PPTX
Magento & Cloud - Korostelov Avexey
PPTX
Report introduction to_npm_gulp_bower
PDF
Orchestrate Event-Driven Infrastructure with SaltStack
PDF
Node.js x Azure, cli usage, website deployment
PDF
Using the fork_cms deploy gem
PPTX
How to secure nginx server using fail2ban on Centos-7
PDF
Vagrant. Halturin Artem
PPTX
Git, gitHub, Azure and Visual Studio
PPTX
Introduction to Go scheduler
Building a Django App on Heroku
DevStack
bivou.ac
node.js app deploy to heroku PaaS
Deploy node.js app with capistrano
Contract testing - isolated testing of microservices - Symfony Camp 2018, Evg...
Varnish Caching
Keymetrics & PM2 - NodeJS NYC @ Microsoft
Contract testing symfony camp 2018
Automating web site deployment
Magento & Cloud - Korostelov Avexey
Report introduction to_npm_gulp_bower
Orchestrate Event-Driven Infrastructure with SaltStack
Node.js x Azure, cli usage, website deployment
Using the fork_cms deploy gem
How to secure nginx server using fail2ban on Centos-7
Vagrant. Halturin Artem
Git, gitHub, Azure and Visual Studio
Introduction to Go scheduler
Ad

Viewers also liked (20)

PPT
高性能Web服务器Nginx及相关新技术的应用实践
PPT
1.4亿在线背后的故事(1)
PDF
Hdfs comics
PDF
Xldb2011 wed 1415_andrew_lamb-buildingblocks
PDF
浅谈灰度发布在贴吧的应用 支付宝 20130909
KEY
the NML project
PPT
Nginx internals
KEY
Nginx in production
PPTX
5 things you didn't know nginx could do velocity
PPTX
Maximizing PHP Performance with NGINX
PDF
Nginx + PHP
KEY
Nginx - Tips and Tricks.
PPTX
Personal Branding for Developers
PPTX
NGINX Installation and Tuning
PDF
Top 10 things a fresh programmer should know - Dao Ngoc Khanh
PDF
Nginx Internals
PPTX
Your data structures are made of maths!
PPTX
Category theory for beginners
PDF
A Beginners Guide to noSQL
PPTX
Slideshare ppt
高性能Web服务器Nginx及相关新技术的应用实践
1.4亿在线背后的故事(1)
Hdfs comics
Xldb2011 wed 1415_andrew_lamb-buildingblocks
浅谈灰度发布在贴吧的应用 支付宝 20130909
the NML project
Nginx internals
Nginx in production
5 things you didn't know nginx could do velocity
Maximizing PHP Performance with NGINX
Nginx + PHP
Nginx - Tips and Tricks.
Personal Branding for Developers
NGINX Installation and Tuning
Top 10 things a fresh programmer should know - Dao Ngoc Khanh
Nginx Internals
Your data structures are made of maths!
Category theory for beginners
A Beginners Guide to noSQL
Slideshare ppt
Ad

Similar to Nginx维护手册 (20)

PDF
Nagios Conference 2011 - Mike Weber - Training: Reducing Nagios Server Load ...
PDF
Using NGINX as an Effective and Highly Available Content Cache
PDF
Best Practices for Getting Started with NGINX Open Source
PPTX
Scaling Development Environments with Docker
PDF
Как понять, что происходит на сервере? / Александр Крижановский (NatSys Lab.,...
PPT
vBACD - Introduction to Opscode Chef - 2/29
PDF
Badge Poser v3.0 - A DevOps Journey
PDF
ContainerDayVietnam2016: Django Development with Docker
PDF
10 Million hits a day with WordPress using a $15 VPS
PDF
Infrastructure = Code
PDF
JBoss EAP 7 & JDG 7 최신 기술 소개
PDF
2019 January - The Month in PHP
PDF
Quick and Dirty Python Deployments with Heroku
PDF
PostgreSQL and RAM usage
PDF
Sprint 17
PDF
Load Balancing Applications with NGINX in a CoreOS Cluster
PDF
Linux Performance 2018 (PerconaLive keynote)
PPTX
2012 coscup - Build your PHP application on Heroku
PDF
Using Nix and Docker as automated deployment solutions
PDF
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Nagios Conference 2011 - Mike Weber - Training: Reducing Nagios Server Load ...
Using NGINX as an Effective and Highly Available Content Cache
Best Practices for Getting Started with NGINX Open Source
Scaling Development Environments with Docker
Как понять, что происходит на сервере? / Александр Крижановский (NatSys Lab.,...
vBACD - Introduction to Opscode Chef - 2/29
Badge Poser v3.0 - A DevOps Journey
ContainerDayVietnam2016: Django Development with Docker
10 Million hits a day with WordPress using a $15 VPS
Infrastructure = Code
JBoss EAP 7 & JDG 7 최신 기술 소개
2019 January - The Month in PHP
Quick and Dirty Python Deployments with Heroku
PostgreSQL and RAM usage
Sprint 17
Load Balancing Applications with NGINX in a CoreOS Cluster
Linux Performance 2018 (PerconaLive keynote)
2012 coscup - Build your PHP application on Heroku
Using Nix and Docker as automated deployment solutions
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017

Recently uploaded (20)

PDF
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
PDF
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
Human Computer Interaction Miterm Lesson
PDF
Decision Optimization - From Theory to Practice
PDF
Build Real-Time ML Apps with Python, Feast & NoSQL
PPTX
Build automations faster and more reliably with UiPath ScreenPlay
PDF
Connector Corner: Transform Unstructured Documents with Agentic Automation
PDF
CEH Module 2 Footprinting CEH V13, concepts
PPTX
Internet of Everything -Basic concepts details
PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PPTX
Module 1 Introduction to Web Programming .pptx
PDF
Auditboard EB SOX Playbook 2023 edition.
PPTX
Presentation - Principles of Instructional Design.pptx
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
PDF
Examining Bias in AI Generated News Content.pdf
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
Human Computer Interaction Miterm Lesson
Decision Optimization - From Theory to Practice
Build Real-Time ML Apps with Python, Feast & NoSQL
Build automations faster and more reliably with UiPath ScreenPlay
Connector Corner: Transform Unstructured Documents with Agentic Automation
CEH Module 2 Footprinting CEH V13, concepts
Internet of Everything -Basic concepts details
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
Module 1 Introduction to Web Programming .pptx
Auditboard EB SOX Playbook 2023 edition.
Presentation - Principles of Instructional Design.pptx
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
Advancing precision in air quality forecasting through machine learning integ...
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
Examining Bias in AI Generated News Content.pdf
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj

Nginx维护手册

  • 2. nginx nginx stable release stable release 1 stable /opt/app/nginx/sbin/nginx -V
  • 3. --add-module nginx email github Downloads tar
  • 5. nginx debug 1) nginx nginx 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
  • 6. nginx debug 2) nginx pgrep nginx # nginx master, cache manager worker process 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
  • 7. nginx debug 3) backtrace [email protected] backtrace nginx http://forum.nginx.org/read.php? 2,212274