<div dir="ltr"><div>correction.. if i count with </div><div>ss -l -t |grep http | wc -l</div><div>we have around 58340 listening sockets.. at least on that machine.. <br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 30, 2021 at 8:27 AM Charlie Kilo <<a href="mailto:krikkiteer@gmail.com">krikkiteer@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks a lot for the hints so far.. to provide the further info and answer the questions..<br></div><div><pre>getconf ARG_MAX shows 2097152<br>ulimit -s shows 8192<br>setting it to unlimited, doesn't change anything (also not with prlimit)<br>wc -c /proc/<pid>/environ shows 1949<br><br>it seems on a regular machine we have around 1200 listening sockets and do indeed use "reuseport"<br><br>nginx -V shows <br>nginx version: nginx/1.18.0<br>built with OpenSSL 1.1.1j 16 Feb 2021<br>TLS SNI support enabled<br>configure arguments: --with-ipv6 --with-file-aio --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_stub_status_module --with-http_gzip_static_module --with-http_sub_module --without-http_scgi_module --with-stream --with-stream_ssl_module --with-stream_realip_module --with-stream_geoip_module --with-stream_ssl_preread_module --with-http_slice_module --add-module=../lua-nginx-module-0.10.15 --add-module=../headers-more-v0.25 --add-module=../ngx-devel-kit-master --add-module=../dist/nginx-rtmp-module --add-module=../build/nginx_upstream_check_module --conf-path=/etc/nginx.conf --with-mail --with-mail_ssl_module --without-mail_pop3_module --with-cc-opt='-D_FORTIFY_SOURCE=1 -fstack-protector -fstack-clash-protection -pipe -march=westmere -mtune=intel -O3 -I/build/nginx/boringssl/.compat/include -g' --with-ld-opt='-Wl,-z,relro,-z,now,-lgmp -ldl'<br></pre><pre><br></pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 27, 2021 at 12:35 PM Charlie Kilo <<a href="mailto:krikkiteer@gmail.com" target="_blank">krikkiteer@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi everyone, <br></div><div>i'm trying to upgrade an <span>nginx</span>-binary while running.<br></div><div>When i do kill -s USR2 <pid>, i get the following error in the logs.. <br><br></div><div>11:40:38 [alert] 52701#0: execve() failed while executing new binary process "/opt/sbin/<span>nginx</span>" (7: Argument list too long)</div><div><br></div><div>Anybody knows what exactly is in those arguments ? We have ~ 20-55 worker processes if that might be related.. <br></div><div><span>nginx</span>-version is 1.18.0, os: debian buster<br></div><div><br></div><div>thanks everyone in advance!</div><div>chris</div></div></div>
</blockquote></div>
</blockquote></div>