In my node, Every network namespace has own nginx process.
when i use netstat command to get which nginx process are listening in port 80?
I found that some nginx worker process are listening 80 port. Some nginx master
process are listening port 80. In my understanding ,it should be that nginx
master process will listen port 80? Why happens that worker process listen port
80? Is it about reload?
[root@node2 ~]# for i in `ip netns |grep lbaas| awk '{print $1}'`; do ip
netns exec $i netstat -atnp |grep nginx;done
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
22253/nginx: worker
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
21968/nginx: worker
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
22622/nginx: worker
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
17499/nginx: master
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
15567/nginx: master
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
17568/nginx: master
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
18643/nginx: master
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
18736/nginx: master
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
17328/nginx: master
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
17766/nginx: master
--
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx