子进程将会退出,生成新的子进程
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#