[1.8.0 stable] bug when install on old linux version
Jay Caines-Gooby
jaygooby at charanga.com
Tue Aug 18 11:28:23 UTC 2015
> On May 6, 2015, at 8:42 PM, Ruslan Ermilov <ru at nginx.com> wrote:
>
> Could you verify that this patch helps you?
>
> diff --git a/src/event/modules/ngx_epoll_module.c b/src/event/modules/ngx_epoll_module.c
> --- a/src/event/modules/ngx_epoll_module.c
> +++ b/src/event/modules/ngx_epoll_module.c
> @@ -329,7 +329,7 @@ ngx_epoll_init(ngx_cycle_t *cycle, ngx_m
>
> #if (NGX_HAVE_EVENTFD)
> if (ngx_epoll_notify_init(cycle->log) != NGX_OK) {
> - return NGX_ERROR;
> + ngx_epoll_module_ctx.actions.notify = NULL;
> }
> #endif
I had the same problem and this patch also fixes the "eventfd() failed
(38: Function not implemented)" problem for me.
Linux 2.6.16.33-xenU #x86_64 GNU/Linux
./configure --with-debug \
--with-http_stub_status_module \
--with-openssl=/tmp/openssl-1.0.1p \
--with-http_ssl_module \
--with-pcre=/tmp/pcre-8.00
--
Jay Caines-Gooby
http://charanga.com
http://charangamusic.co.uk
jaygooby at charanga.com
01273 823 900
More information about the nginx-devel
mailing list