Forum: NGINX nginx channel

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2974d09ac2541e892966b762aad84943?d=identicon&s=25 nginxsantos (Guest)
on 2014-06-06 13:41
(Received via mailing list)
Would be  great where channels are used, I am talking about ngx_channel?

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250694,250694#msg-250694
34011bc56457235a2caa5ed1d4a29f3c?d=identicon&s=25 Jonathan Matthews (Guest)
on 2014-06-06 14:03
(Received via mailing list)
On 6 June 2014 12:41, nginxsantos <nginx-forum@nginx.us> wrote:
> Would be  great where channels are used, I am talking about ngx_channel?

Please rearrange your words into a comprehensible sentence and/or
question.

Thank you.
2974d09ac2541e892966b762aad84943?d=identicon&s=25 nginxsantos (Guest)
on 2014-06-06 14:15
(Received via mailing list)
I was not clear about the usage of ngx_channel? When each worker process
is
started, the function "ngx_pass_open_channel" is called. It is not clear
to
me where we do use the channels, I mean for what ?

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250694,250697#msg-250697
A8108a0961c6087c43cda32c8616dcba?d=identicon&s=25 Maxim Dounin (Guest)
on 2014-06-06 14:21
(Received via mailing list)
Hello!

On Fri, Jun 06, 2014 at 08:14:25AM -0400, nginxsantos wrote:

> I was not clear about the usage of ngx_channel? When each worker process is
> started, the function "ngx_pass_open_channel" is called. It is not clear to
> me where we do use the channels, I mean for what ?

Channels are used to pass control messages from master to workers.
In particular, this is how master asks workers to shutdown, reopen
logs and so on.

It is planned that this infrastructure will also allow workers to
pass various notifications from one process to others, though it's
not something currently available.

--
Maxim Dounin
http://nginx.org/
2974d09ac2541e892966b762aad84943?d=identicon&s=25 nginxsantos (Guest)
on 2014-06-06 14:34
(Received via mailing list)
Thanks Maxim. It helps...

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250694,250700#msg-250700
This topic is locked and can not be replied to.