Nginx-extras (1.4.1 Ubuntu precise) cache loader/manager issue

Dear people,

I used for a while the nginx-extras 1.4.1 for Ubuntu 12.04 LTS
(precise); I
used this package since it supported ‘more_clear_headers’ which was
useful
to hide some headers (LifeRay headers). As you have guessed, I’m using
nginx
for reverse proxying and from a while for caching (as an alternative to
varnish).

I’ve run into a strange problem; If I use nginx-full I have no problems
what-so-ever and the cache manager/loader do run properly and it works
like
I charm (but I can’t hide the headers! any alternative method is most
welcome); If I use the nginx-extras the cache manager/loader is utterly
broken and I get this output:

2013/08/14 01:14:18 [info] 30478#0: Using 32768KiB of shared memory for
push
module in /etc/nginx/nginx.conf:52
2013/08/14 01:14:19 [alert] 30500#0: epoll_ctl(1, 0) failed (1:
Operation
not permitted)
2013/08/14 01:14:19 [alert] 30500#0: failed to register channel handler
while initializing push module worker (1: Operation not permitted)
2013/08/14 01:14:19 [alert] 30499#0: epoll_ctl(1, 0) failed (1:
Operation
not permitted)
2013/08/14 01:14:19 [alert] 30499#0: failed to register channel handler
while initializing push module worker (1: Operation not permitted)
2013/08/14 01:14:19 [alert] 30490#0: cache manager process 30499 exited
with
fatal code 2 and cannot be respawned

Now, either this build has some addon which breaks nginx (?) or the
build
somehow is broken in some weird way…

Can someone please test this and checkout if everything is OK with those
binaries? Any feedback is most welcomed.

NM

PS: By the way, awesome cache performance (over a ramdrive)!

Posted at Nginx Forum:

On Wednesday 14 August 2013 04:39:04 nmarques wrote:

I charm (but I can’t hide the headers! any alternative method is most
welcome); If I use the nginx-extras the cache manager/loader is utterly
broken and I get this output:
[…]

Why don’t you use “proxy_hide_header” (or “fastcgi_hide_header” in case
if you
use fastcgi)?

http://nginx.org/r/proxy_hide_header
http://nginx.org/r/fastcgi_hide_header

[…]

Now, either this build has some addon which breaks nginx (?) or the build
somehow is broken in some weird way…

The “nginx-extras” package from debian/ubuntu community repository has
many
3-rd party modules that can break nginx.

We recommend official nginx packages:
http://nginx.org/en/linux_packages.html

wbr, Valentin V. Bartenev


http://nginx.org/en/donation.html

Why don’t you use “proxy_hide_header” (or “fastcgi_hide_header” in
case if you
use fastcgi)?

Module ngx_http_proxy_module
Module ngx_http_fastcgi_module

Worked perfectly for me; Thanks for poiting this.

The “nginx-extras” package from debian/ubuntu community repository has
many
3-rd party modules that can break nginx.

We recommend official nginx packages:
nginx: Linux packages

Worked fine for me; Going to to update for Production soon. All the
funcionality I require is available on your packages. Thank you very
much.

NM

Posted at Nginx Forum: