Welcome! Log In Create A New Profile

Advanced

Re: [1.8.0 stable] bug when install on old linux version

Ruslan Ermilov
May 06, 2015 09:44AM
On Wed, May 06, 2015 at 02:35:35PM +0700, hungnv@opensource.com.vn wrote:
> Hello,
>
> I tested new stable version (1.8.0) with simple option: ./configure —add-module=./ngx_enhance_mp4_module (https://github.com/whatvn/ngx_http_enhance_mp4_module https://github.com/whatvn/ngx_http_enhance_mp4_module) , then start nginx and it fail to spawn child process (with error similar to compiling with —with-file-aio on old linux kernel):
>
> 2015/05/06 14:22:28 [emerg] 19004#0: eventfd() failed (38: Function not implemented)
> 2015/05/06 14:22:28 [emerg] 19005#0: eventfd() failed (38: Function not implemented)
> 2015/05/06 14:22:28 [emerg] 19006#0: eventfd() failed (38: Function not implemented)
> 2015/05/06 14:22:28 [alert] 18999#0: worker process 19000 exited with fatal code 2 and cannot be respawned
> 2015/05/06 14:22:28 [alert] 18999#0: worker process 19002 exited with fatal code 2 and cannot be respawned
> 2015/05/06 14:22:28 [alert] 18999#0: worker process 19003 exited with fatal code 2 and cannot be respawned
> 2015/05/06 14:22:28 [alert] 18999#0: worker process 19004 exited with fatal code 2 and cannot be respawned
> 2015/05/06 14:22:28 [alert] 18999#0: worker process 19005 exited with fatal code 2 and cannot be respawned
> 2015/05/06 14:22:28 [alert] 18999#0: worker process 19006 exited with fatal code 2 and cannot be respawned
>
>
>
> with same configure options, nginx stable 1.6.3 work fine. Maybe a bug?
>
> System details:
>
> Centos 5, kernel: 2.6.18-164.el5

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


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[1.8.0 stable] bug when install on old linux version

hungnv@opensource.com.vn 735 May 06, 2015 03:36AM

RE: [1.8.0 stable] bug when install on old linux version

Filipe DA SILVA 356 May 06, 2015 04:54AM

Re: [1.8.0 stable] bug when install on old linux version

Ruslan Ermilov 478 May 06, 2015 09:44AM

Re: [1.8.0 stable] bug when install on old linux version

hungnv@opensource.com.vn 379 May 06, 2015 11:48PM

Re: [1.8.0 stable] bug when install on old linux version

jaygooby 280 August 18, 2015 07:30AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 99
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready