Opened 7 years ago

Closed 7 years ago

#1444 closed defect (worksforme)

Reload it does not refresh the upstrem automatic

Reported by:… Owned by:
Priority: major Milestone:
Component: other Version: 1.13.x
Keywords: Cc:
uname -a: Linux nixy 4.9.20-11.31.amzn1.x86_64 #1 SMP Thu Apr 13 01:53:57 UTC 2017 x86_64 Linux
nginx -V: nginx version: nginx/1.13.0
built by gcc 6.2.1 20160822 (Alpine 6.2.1)
built with OpenSSL 1.0.2k 26 Jan 2017
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/ --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-http_xslt_module=dynamic --with-http_image_filter_module=dynamic --with-http_geoip_module=dynamic --with-threads --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-stream_realip_module --with-stream_geoip_module=dynamic --with-http_slice_module --with-mail --with-mail_ssl_module --with-compat --with-file-aio --with-http_v2_module


Hello, I have a website with many accesses, when I change the address in the upstrem and do a reload, it does not refresh the upstrem, I have to restart and keep my site unavailable for a certain period of time.

Change History (1)

comment:1 by Maxim Dounin, 7 years ago

Resolution: worksforme
Status: newclosed

First of all, check nginx error log. There may be various conditions which may prevent configuration reload from actually happening - for example, nginx won't be able to reload a configuration if there are syntax errors in the configuration files, or there are conflicting listening sockets, or there is not enough memory to load a second copy of the configuration. Details will be available in the error log. Most of the problems will prevent server restarts as well, though some are specific to reloads.

If you have further questions, please use the support options available.

Note: See TracTickets for help on using tickets.