[Bug 1216817] Re: Using `fastcgi_cache` or `proxy_cache` with nginx-extras causes the push module to throw errors.
Thomas Ward
teward at trekweb.org
Mon Oct 27 17:44:39 UTC 2014
To everyone affected: We need example configurations to use here, so we
can test this getting fixed.
To the SRU team: I am build-testing this now in a ppa, and will let you
know if it builds correctly.
** Description changed:
+ [Impact]
+
+ * The nginx-http-push module generates errors when using fastcgi_cache
+ or proxy_cache arguments in the config.
+
+ * This adds extra errors to the error logs, and causes problems with
+ the cache manager.
+
+ * Caching still works, however, but this causes excessive unnecessary
+ noise in the error logs and the issue is an incompatibility between the
+ module and the nginx cache manager.
+
+ [Test Case]
+
+ * Use the nginx-extras package, and use any configuration with either
+ `fastcgi_cache` or `proxy_cache` arguments. (NOTE: I will attempt to
+ develop a test configuration that you can use to test this)
+
+ [Regression Potential]
+
+ * This fix originated upstream, and should not introduce any
+ regressions.
+
+ [Other Info]
+
+ * The debdiffs here are derived from upstream changes, as detailed at https://github.com/slact/nginx_http_push_module/commit/836e8319c93681386fb00e6bd34d9e37612f3334.diff
+
+ * The only changes to this diff were the indentation, to match what was
+ in the packages.
+
+
+ [Original Description]
+
system : Ubuntu 12.04 LTS
package : nginx-extras 1.4.1-1ppa1~precise
Hello,
if you try to use proxy_cache or fastcgi_cache you got this error in error.log of nginx :
2013/08/26 00:13:10 [info] 15722#0: Using 32KiB of shared memory for push module in /etc/nginx/nginx.conf:137
2013/08/26 00:13:11 [alert] 15756#0: epoll_ctl(1, 0) failed (1: Operation not permitted)
2013/08/26 00:13:11 [alert] 15756#0: failed to register channel handler while initializing push module worker (1: Operation not permitted)
2013/08/26 00:13:11 [alert] 15757#0: epoll_ctl(1, 0) failed (1: Operation not permitted)
2013/08/26 00:13:11 [alert] 15757#0: failed to register channel handler while initializing push module worker (1: Operation not permitted)
2013/08/26 00:13:11 [alert] 15737#0: cache manager process 15756 exited with fatal code 2 and cannot be respawned
-
You can't disable nginx_push_module, to make nginx cache to work.
Everything is fine if you use the "daemon off;" option.
I've seen this issue in many forum/mailing list, i think
nginx_push_module shouldn't be in the extras package anymore.
system : Ubuntu 12.04 LTS
package : nginx-extras 1.4.1-1ppa1~precise
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nginx in Ubuntu.
https://bugs.launchpad.net/bugs/1216817
Title:
Using `fastcgi_cache` or `proxy_cache` with nginx-extras causes the
push module to throw errors.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nginx/+bug/1216817/+subscriptions
More information about the Ubuntu-server-bugs
mailing list