wandenberg / nginx-push-stream-module

A pure stream http push technology for your Nginx setup. Comet made easy and really scalable.
Other
2.22k stars 295 forks source link

nginx-push-stream-module lead to nginx reload error #32

Closed shenzhe closed 12 years ago

shenzhe commented 12 years ago

error log:

2012/05/19 14:16:05 [notice] 2355#0: signal process started 2012/05/19 14:16:05 [alert] 2358#0: epoll_ctl(1, 32531) failed (9: Bad file descriptor) 2012/05/19 14:16:05 [alert] 2358#0: failed to register channel handler while initializing push module worker (9: Bad file descriptor) 2012/05/19 14:16:05 [alert] 2356#0: epoll_ctl(1, 0) failed (1: Operation not permitted) 2012/05/19 14:16:05 [alert] 2357#0: epoll_ctl(1, 0) failed (1: Operation not permitted) 2012/05/19 14:16:05 [alert] 2356#0: failed to register channel handler while initializing push module worker (1: Operation not permitted) 2012/05/19 14:16:05 [alert] 2357#0: failed to register channel handler while initializing push module worker (1: Operation not permitted) 2012/05/19 14:16:05 [alert] 2359#0: epoll_ctl(1, 32531) failed (9: Bad file descriptor) 2012/05/19 14:16:05 [alert] 2359#0: failed to register channel handler while initializing push module worker (9: Bad file descriptor) 2012/05/19 14:16:05 [alert] 2215#0: worker process 2358 exited with fatal code 2 and cannot be respawned 2012/05/19 14:16:05 [alert] 2215#0: worker process 2356 exited with fatal code 2 and cannot be respawned 2012/05/19 14:16:05 [alert] 2215#0: worker process 2357 exited with fatal code 2 and cannot be respawned 2012/05/19 14:16:05 [alert] 2215#0: worker process 2359 exited with fatal code 2 and cannot be respawned

wandenberg commented 12 years ago

Could you send me the results of "nginx -V" and your configuration file? I have an automated test to check reload operation and it is working. May be it is failing only in some conditions.

regards, Wandenberg

On Sat, May 19, 2012 at 5:53 AM, shenzhe < reply@reply.github.com

wrote:

error log:

2012/05/19 14:16:05 [notice] 2355#0: signal process started 2012/05/19 14:16:05 [alert] 2358#0: epoll_ctl(1, 32531) failed (9: Bad file descriptor) 2012/05/19 14:16:05 [alert] 2358#0: failed to register channel handler while initializing push module worker (9: Bad file descriptor) 2012/05/19 14:16:05 [alert] 2356#0: epoll_ctl(1, 0) failed (1: Operation not permitted) 2012/05/19 14:16:05 [alert] 2357#0: epoll_ctl(1, 0) failed (1: Operation not permitted) 2012/05/19 14:16:05 [alert] 2356#0: failed to register channel handler while initializing push module worker (1: Operation not permitted) 2012/05/19 14:16:05 [alert] 2357#0: failed to register channel handler while initializing push module worker (1: Operation not permitted) 2012/05/19 14:16:05 [alert] 2359#0: epoll_ctl(1, 32531) failed (9: Bad file descriptor) 2012/05/19 14:16:05 [alert] 2359#0: failed to register channel handler while initializing push module worker (9: Bad file descriptor) 2012/05/19 14:16:05 [alert] 2215#0: worker process 2358 exited with fatal code 2 and cannot be respawned 2012/05/19 14:16:05 [alert] 2215#0: worker process 2356 exited with fatal code 2 and cannot be respawned 2012/05/19 14:16:05 [alert] 2215#0: worker process 2357 exited with fatal code 2 and cannot be respawned 2012/05/19 14:16:05 [alert] 2215#0: worker process 2359 exited with fatal code 2 and cannot be respawned


Reply to this email directly or view it on GitHub: https://github.com/wandenberg/nginx-push-stream-module/issues/32

shenzhe commented 12 years ago

nginx version: nginx/1.0.14 TLS SNI support enabled configure arguments: --user=www --group=www --prefix=/usr/local/service/nginx --with-http_stub_status_module --with-http_ssl_module --add-module=../nginx-push-stream-module --add-module=../nginx_http_push_module-0.69 --add-module=../memc-nginx-module

wandenberg commented 12 years ago

Hi,

seems you have made some confusion. The message on your log came from nginx_http_push_module, on this line https://github.com/slact/nginx_http_push_module/blob/master/src/ngx_http_push_module_ipc.c#L107

The message on my module (push stream module) is slightly different, check here https://github.com/wandenberg/nginx-push-stream-module/blob/master/src/ngx_http_push_stream_module_ipc.c#L194

You can use only push_stream_module, it has the functionalities present on push_module, and some others.

Regards, Wandenberg

shenzhe commented 12 years ago

sorry , is nginx_http_push_module problem.

now, I use only push_stream_module