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)!
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)?