Welcome! Log In Create A New Profile

Advanced

NGiNX_HTTP_Push_Module clients not receiving messages

Min Huang
May 21, 2010 07:36PM
Hello,

I'm not sure if this is the right place for this, but I am kindly requesting
help with the http push module. It seems to sporadically not send responses
to long polling JavaScript clients. In the wild, I have clients who start
the long poll, but then never receive messages from the publisher no matter
how many POSTs are sent. Aborting the XMLHttpRequest and then
re-establishing the long poll seems to work.

In my error logs, I can find this:

2010/05/20 23:49:33 [error] 5593#0: push module: worker 5593 intercepted a
message intended for another worker process (913) that probably died

Which I assume may be the problem; perhaps the worker died and then never
closed the connection? I could not reproduce this problem in a controlled
environment, but exhausting the number of workers available in the
worker_connections directive caused the symptoms to re-appear: long polling
clients do not receive messages until they re-establish the long poll.

Here is my relevant information; any help would be appreciated. Thanks in
advance!

nginx 0.7.65
nginx_http_push_module 0.692

events {
worker_connections 1024;
}

http {

keepalive_timeout 1;

server {
listen 0.0.0.0:1321;

location /publish {
push_publisher;
set $push_channel_id $arg_id;

push_store_messages off;
}

}
server {
listen 0.0.0.0:80;

location /subscribe {
push_subscriber;
set $push_channel_id $arg_id;

push_subscriber_concurrency broadcast;
push_authorized_channels_only off;
}
}

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

NGiNX_HTTP_Push_Module clients not receiving messages

Min Huang May 21, 2010 07:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 192
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