Welcome! Log In Create A New Profile

Advanced

Re: questions about ngx_supervisord

Piotr Sikora
August 11, 2010 12:26AM
Hi,

> I am still unable to have processes started as needed.

This doesn't tell anything useful.
1) Did you follow installation process as described in README?
2) What configuration do you use?
3) What does debug log show (http://wiki.nginx.org/NginxDebugging)?

> Let's say that one process needs 10 seconds to complete and I have one
> backend server in the rotation, processing two requests at the same time
> will take 20 seconds. Is there a way to have nginx / ngx_supervisord
> recognized that another backend server is needed and that the two are
> done in 10 seconds?

Yes and no. ngx_supervisord sends "load" reports once per minute to
ngx_supervisord-aware upstream modules (read: upstream_fair), so this is as
fast as it can react to changes in the load. Also, "load" is reported in
requests per second per active backend and upstream_fair's load threshold is
an integer, which means that you cannot react to such little changes (load
0.1 or less) without modifications in the code.

> Is there a way to add backend server dynamically to the rotation?

Yes, but those backend servers must be in the configuration.

Best regards,
Piotr Sikora < piotr.sikora@frickle.com >



_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Re: questions about ngx_supervisord

Grzegorz Nosek August 10, 2010 03:46AM

Re: questions about ngx_supervisord

JCR August 10, 2010 10:03AM

Re: questions about ngx_supervisord

Grzegorz Nosek August 10, 2010 10:16AM

Re: questions about ngx_supervisord

Piotr Sikora August 11, 2010 12:26AM

Re: questions about ngx_supervisord

JCR August 10, 2010 12:36PM

Re: questions about ngx_supervisord

Piotr Sikora August 11, 2010 12:26AM

Re: questions about ngx_supervisord

JCR August 14, 2010 10:40AM

making supervisord web interface viewable on nginx

Jonathan Vanasco May 31, 2013 09:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 296
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready