Giter Site home page Giter Site logo

Comments (5)

yaoweibin avatar yaoweibin commented on July 20, 2024

After the reload action, the server's status did not check any more?

In my module, I free the shared memory which stored the status information very time when you reload Nginx. So I clear the status for every backend server.

If you want to mark the server 'up' at the start time, you can use the check directive to set 'default_down=false'.

from nginx_upstream_check_module.

setaou avatar setaou commented on July 20, 2024

That is it: some servers' status are not checked anymore after a reload. It is random: sometimes all 3 backends are not checked, sometimes its only 2/3 or 1/3 which are not checked anymore.

Build options (if it can help) :
./configure
--with-http_stub_status_module
--with-http_ssl_module
--with-http_secure_link_module
--with-http_sub_module
--prefix=/var/lib/nginx
--sbin-path=/usr/sbin/nginx
--conf-path=/etc/nginx/nginx.conf
--pid-path=/var/run/nginx.pid
--lock-path=/var/lock/nginx.lock
--error-log-path=/var/log/nginx/error.log
--http-log-path=/var/log/nginx/access.log
--http-client-body-temp-path=/var/lib/nginx/body
--http-proxy-temp-path=/var/lib/nginx/proxy
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi
--add-module=../yaoweibin-nginx_upstream_check_module-be48121

from nginx_upstream_check_module.

yaoweibin avatar yaoweibin commented on July 20, 2024

Thanks, please try the latest revision, I may fix this bug.

from nginx_upstream_check_module.

setaou avatar setaou commented on July 20, 2024

It seems that your latest commit has eventually fixed the problem. Many thanks for your quick reaction !

from nginx_upstream_check_module.

yaoweibin avatar yaoweibin commented on July 20, 2024

Fine, Thanks for your bug report.

from nginx_upstream_check_module.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.