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

**URL:** <https://www.ruby-forum.com/t/nginx-extras-1-4-1-ubuntu-precise-cache-loader-manager-issue/236196>\
**Category:** NGINX\
**Created:** [August 14, 2013, 2:39am UTC](https://www.ruby-forum.com/t/nginx-extras-1-4-1-ubuntu-precise-cache-loader-manager-issue/236196 "2013-08-14T02:39:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [August 14, 2013, 2:39am UTC](https://www.ruby-forum.com/t/nginx-extras-1-4-1-ubuntu-precise-cache-loader-manager-issue/236196/1 "2013-08-14T02:39:38Z")

</div>

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:

> **[nginx-extras (1.4.1 Ubuntu precise) cache loader/manager issue](https://forum.nginx.org/read.php?2,241818,241818#msg-241818)**
>
> 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...

---

<div class="post-metadata">

**Author:** ![nmarques](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/db5fbb/32.png) [@nmarques](https://www.ruby-forum.com/u/nmarques)\
**Post date:** [August 14, 2013, 9:41am UTC](https://www.ruby-forum.com/t/nginx-extras-1-4-1-ubuntu-precise-cache-loader-manager-issue/236196/2 "2013-08-14T09:41:57Z")

</div>

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

> **[Module ngx\_http\_proxy\_module](http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_hide_header)**
>
> The ngx\_http\_proxy\_module module allows passing requests to another server.

> **[Module ngx\_http\_fastcgi\_module](http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_hide_header)**
>
> The ngx\_http\_fastcgi\_module module allows passing requests to a FastCGI server.

[…]

> 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:

> **[nginx: Linux packages](http://nginx.org/en/linux_packages.html)**

wbr, Valentin V. Bartenev

–

> **[nginx: donation](http://nginx.org/en/donation.html)**

---

<div class="post-metadata">

**Author:** ![nmarques](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/db5fbb/32.png) [@nmarques](https://www.ruby-forum.com/u/nmarques)\
**Post date:** [August 14, 2013, 1:09pm UTC](https://www.ruby-forum.com/t/nginx-extras-1-4-1-ubuntu-precise-cache-loader-manager-issue/236196/3 "2013-08-14T13:09:18Z")

</div>

> Why don’t you use “proxy\_hide\_header” (or “fastcgi\_hide\_header” in  
> case if you  
> use fastcgi)?
> 
> [Module ngx\_http\_proxy\_module](http://nginx.org/r/proxy_hide_header)  
> [Module ngx\_http\_fastcgi\_module](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:  
> [nginx: Linux 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](http://forum.nginx.org/read.php?2,241818,241838#msg-241838)
