欢迎来到梦飞科技

服务器租用

当前优惠活动:

nginx 1.6.3 平滑升级 1.8

windows 用ab 测试会见nginx ,处事器上滑腻进级,查察日志是否影响用户会见.进级是否乐成.启用vmware虚拟机,用tar  包编译安装nginx并启用即可.

H:\Program Files\Apache2.2\bin>ab.exe  -n 800000 -c 6  -r "http://192.168.160.130/index.html"

[[email protected] sbin]# mv nginx nginx.old

[[email protected] sbin]# mv nginx18 nginx

启用滑腻进级

[[email protected] sbin]# kill -USR2 `cat /opt/soft/nginx/logs/nginx.pid`

[[email protected] sbin]# 

[[email protected] sbin]# 

[[email protected] sbin]# kill -WINCH `cat /opt/soft/nginx/logs/nginx.pid.oldbin`

[[email protected] sbin]# ps aux |grep nginx

root      8649  0.0  0.0  24280   992 ?        Ss   16:20   0:00 nginx: master process ./nginx

root      8675  0.0  0.2  26900  2220 ?        S    16:21   0:00 nginx: master process ./nginx

nobody    8676  2.5  0.1  27344  1752 ?        S    16:21   0:01 nginx: worker process

nobody    8677  0.9  0.1  27344  1752 ?        S    16:21   0:00 nginx: worker process

nobody    8678  2.5  0.1  27344  1752 ?        S    16:21   0:01 nginx: worker process

nobody    8679  1.1  0.1  27344  1752 ?        S    16:21   0:00 nginx: worker process

nobody    8680  0.7  0.1  27344  1752 ?        S    16:21   0:00 nginx: worker process

nobody    8681  1.8  0.1  27344  1752 ?        S    16:21   0:01 nginx: worker process

nobody    8682  1.1  0.1  27344  1752 ?        S    16:21   0:00 nginx: worker process

nobody    8683  1.2  0.1  27344  1752 ?        S    16:21   0:00 nginx: worker process

nobody    8684  1.8  0.1  27344  1752 ?        S    16:21   0:01 nginx: worker process

nobody    8685  1.3  0.1  27344  1752 ?        S    16:21   0:00 nginx: worker process

nobody    8686  1.2  0.1  27344  1752 ?        S    16:21   0:00 nginx: worker process

nobody    8687  0.7  0.1  27344  1752 ?        S    16:21   0:00 nginx: worker process

nobody    8688  0.9  0.1  27344  1752 ?        S    16:21   0:00 nginx: worker process

梦飞科技 - 全球数据中心基础服务领先供应商

Copyright © 2003-2019 MFISP.COM. 国外服务器租用 IDC公司 版权所有 粤ICP备11019662号