I am new to nginx and trying to understand its internals. What does
ngx_cycle_t represent and why does it have ?
Appreciate and pointers.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,220954,220954#msg-220954
I am new to nginx and trying to understand its internals. What does
ngx_cycle_t represent and why does it have ?
Appreciate and pointers.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,220954,220954#msg-220954
I am new to nginx and trying to understand its internals. What does
ngx_cycle_t represent?
Appreciate any pointers.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,220954,220955#msg-220955
Hi Supportnti,
On 09-01-2012 12:29, supportnti wrote:
I am new to nginx and trying to understand its internals. What does
ngx_cycle_t represent and why does it have ?Appreciate and pointers.
http://lxr.evanmiller.org/http/ident?i=ngx_cycle_t
BR
Aleks
Hi Aleks
Thanks for the response. Can you please give me a description of what
ngx_cycle_t and what does it represent? I mean is it a request-response
cycle for each request that comes in? Or is it something else?
Thanks
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,220954,220986#msg-220986
Hello!
On Tue, Jan 10, 2012 at 02:22:08AM -0500, supportnti wrote:
Hi Aleks
Thanks for the response. Can you please give me a description of what
ngx_cycle_t and what does it represent? I mean is it a request-response
cycle for each request that comes in? Or is it something else?
It represents global data and configuration of a event loop (that
is, whole nginx). New cycle is created on a reconfiguration.
Maxim D.
I think it represents the process life cycle.
Hi Maxim,
Thanks for the response. So ngx_cycle_t represents global data and
configuration per event loop. What does ngx_conf_t represent? Is it
related to ngx_conf_t? If so, how?
Thanks
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,220954,220993#msg-220993
Hello!
On Tue, Jan 10, 2012 at 04:13:24AM -0500, supportnti wrote:
Hi Maxim,
Thanks for the response. So ngx_cycle_t represents global data and
configuration per event loop. What does ngx_conf_t represent? Is it
related to ngx_cycle_t? If so, how?
The ngx_conf_t is a structure used during configuration parsing.
It holds various related data, e.g. pointer to a new cycle
structure, current command arguments and so on.
Use the Source, Luke!
Maxim D.
Hi Maxim,
Thanks for the response. So ngx_cycle_t represents global data and
configuration per event loop. What does ngx_conf_t represent? Is it
related to ngx_cycle_t? If so, how?
Thanks
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,220954,220994#msg-220994
Thanks Obi-Wan!
I am going thru the source as we speak and would appreciate a helping
hand!
I can across “NGINX” environment variable in the function
“ngx_add_inherited_sockets”. What does the NGINX variable represent? And
what does the function do?
Appreciate your response.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,220954,221473#msg-221473
Hello!
On Fri, Jan 20, 2012 at 05:54:01AM -0500, supportnti wrote:
Thanks Obi-Wan!
I am going thru the source as we speak and would appreciate a helping
hand!I can across “NGINX” environment variable in the function
“ngx_add_inherited_sockets”. What does the NGINX variable represent? And
what does the function do?
The “NGINX” environment variable is used to pass listening sockets
from an old master process to a new one during binary upgrade
procedure. (Or, more strictly, it holds numbers of file
descriptors. Sockets remain opened across execve() call, but
new process needs to know their numbers.)
The ngx_add_inherited_sockets() function parses the environment
variable in question and adds sockets to the list of listening
sockets.
Maxim D.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs