id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,uname,nginx_version 1426,nginx master-worker communication channel problem?,ivanzz1001@…,,"nginx version: nginx1.10.3 In ngx_process.c, function ngx_spawn_process() use the following:
socketpair(AF_UNIX, SOCK_STREAM, 0, ngx_processes[s].channel)
and create two channel, then use fork() to create a new process. In the child process, it close the channel[0] and use channel[1] to receive the master's message . The master process use channel[0] to send message to the worker. And here I found that the master's channel[1] has not closed, is it a bug? ",defect,closed,major,,other,1.10.x,invalid,,,Linux midea-S30 4.4.0-98-generic #121~14.04.1-Ubuntu SMP Wed Oct 11 11:54:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux,"nginx version: nginx/1.10.3 built by gcc 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) built with OpenSSL 1.0.2g 1 Mar 2016 TLS SNI support enabled configure arguments: --sbin-path=/usr/local/nginx/nginx --conf-path=/usr/local/nginx/nginx.conf --pid-path=/usr/local/nginx/nginx.pid --with-http_ssl_module --with-pcre=../pcre-8.40 --with-zlib=../zlib-1.2.11"