zoukankan      html  css  js  c++  java
  • nginx reload

    子进程将会退出,生成新的子进程
    
    node1:/etc/nginx#ps -ef | grep nginx
    root      6391     1  0 11:44 ?        00:00:00 nginx: master process /usr/local/nginx/sbin/nginx -c /etc/nginx/nginx_http.conf
    nobody    6392  6391  0 11:44 ?        00:00:00 nginx: worker process                                    
    nobody    6393  6391  0 11:44 ?        00:00:00 nginx: worker process                                    
    nobody    6394  6391  0 11:44 ?        00:00:00 nginx: worker process                                    
    nobody    6395  6391  0 11:44 ?        00:00:00 nginx: worker process                                    
    nobody    6396  6391  0 11:44 ?        00:00:00 nginx: worker process                                    
    root      6398  6234  0 11:44 pts/0    00:00:00 grep nginx
    
    node1:/etc/nginx#/usr/local/nginx/sbin/nginx -s reload
    
    node1:/etc/nginx#ps -ef | grep nginx
    root      6391     1  0 11:44 ?        00:00:00 nginx: master process /usr/local/nginx/sbin/nginx -c /etc/nginx/nginx_http.conf
    nobody    6400  6391  0 11:45 ?        00:00:00 nginx: worker process                                    
    nobody    6401  6391  1 11:45 ?        00:00:00 nginx: worker process                                    
    nobody    6402  6391  1 11:45 ?        00:00:00 nginx: worker process                                    
    nobody    6403  6391  4 11:45 ?        00:00:00 nginx: worker process                                    
    nobody    6404  6391  1 11:45 ?        00:00:00 nginx: worker process                                    
    root      6406  6234  0 11:45 pts/0    00:00:00 grep nginx
    node1:/etc/nginx#
    
  • 相关阅读:
    json和xml数据的解析
    block(闭包)
    自定义控件注意点
    字符串使用
    如何用运行时,给系统分类添加属性?
    论代码规范
    常用设计模式
    多控制器管理
    GDI+学习及代码总结之-----画笔 .
    MFC程序添加Web浏览器控件(IE控件)
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13348298.html
Copyright © 2011-2022 走看看