Forum: NGINX nginx-extras (1.4.1 Ubuntu precise) cache loader/manager issue

2974d09ac2541e892966b762aad84943?d=identicon&s=25 nmarques (Guest)
on 2013-08-14 02:39
(Received via mailing list)
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:
http://forum.nginx.org/read.php?2,241818,241818#msg-241818
40b4c848b8fcd63b0cb60b9d170c3a77?d=identicon&s=25 Valentin V. Bartenev (Guest)
on 2013-08-14 09:41
(Received via mailing list)
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
2974d09ac2541e892966b762aad84943?d=identicon&s=25 nmarques (Guest)
on 2013-08-14 13:09
(Received via mailing list)
> 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

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:
> http://nginx.org/en/linux_packages.html

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:
http://forum.nginx.org/read.php?2,241818,241838#msg-241838
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.