Comment 16 for bug 1216817

Revision history for this message
Vorobyoff Andrey (avorobyoff) wrote : Re: Using `fastcgi_cache` or `proxy_cache` with nginx-extras causes the push module to throw errors.

Hello!
I'm using Ubuntu Server 14.04.1 in VM

# cat /etc/issue
Ubuntu 14.04.1 LTS \n \l
# uname -a
Linux vm-newsru-fe-02 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

I'm using nginx
# dpkg -l | grep nginx
ii nginx-common 1.4.6-1ubuntu3.1 all small, powerful, scalable web/proxy server - common files
ii nginx-extras 1.4.6-1ubuntu3.1 amd64 nginx web/proxy server (extended version)

I use nginx for proxying with cache.
Cache size set to 1024M but it is growing much more because nginx cache manager do not work:

# tail /var/log/nginx/error.log
2014/10/23 07:47:47 [info] 11822#0: Using 32768KiB of shared memory for push module in /etc/nginx/nginx.conf:109
2014/10/23 07:47:49 [alert] 11840#0: epoll_ctl(1, 0) failed (1: Operation not permitted)
2014/10/23 07:47:49 [alert] 11840#0: failed to register channel handler while initializing push module worker (1: Operation not permitted)
2014/10/23 07:47:49 [alert] 11839#0: epoll_ctl(1, 0) failed (1: Operation not permitted)
2014/10/23 07:47:49 [alert] 11839#0: failed to register channel handler while initializing push module worker (1: Operation not permitted)
2014/10/23 07:47:49 [alert] 11827#0: cache manager process 11839 exited with fatal code 2 and cannot be respawned