# Eventfd() failed

**URL:** <https://www.ruby-forum.com/t/eventfd-failed/199120>\
**Category:** NGINX\
**Created:** [November 15, 2010, 10:15am UTC](https://www.ruby-forum.com/t/eventfd-failed/199120 "2010-11-15T10:15:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![okkezSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/85f322/32.png) [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Post date:** [November 15, 2010, 10:15am UTC](https://www.ruby-forum.com/t/eventfd-failed/199120/1 "2010-11-15T10:15:07Z")

</div>

Hi, all

I install nginx on my server listned on port 82 but when try access  
browser just said “Waiting…” and not show dwfault page.

I found follow errors in error.log.

> [@code](#):
>
> 2010/11/15 02:51:10 [emerg] 22474#0: eventfd() failed (38: Function not  
> implemented)  
> 2010/11/15 02:51:10 [alert] 22473#0: worker process 22474 exited with  
> fatal code 2 and can not be respawn  
> 2010/11/15 02:53:09 [emerg] 22535#0: eventfd() failed (38: Function not  
> implemented)  
> 2010/11/15 02:53:09 [alert] 22534#0: worker process 22535 exited with  
> fatal code 2 and can not be respawn

nginx version: 0.8.53

kernel version: 2.6.18

Thank’s for any help

Posted at Nginx Forum:

> **[eventfd() failed](https://forum.nginx.org/read.php?2,150853,150853#msg-150853)**
>
> Hi, all I install nginx on my server listned on port 82 but when try access browser just said "Waiting.." and not show dwfault page. I found follow errors in error.log. \[quote=code\] 2010/11/15 02:51:10 \[emerg\] 2247

---

<div class="post-metadata">

**Author:** ![maar3amt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@maar3amt](https://www.ruby-forum.com/u/maar3amt)\
**Post date:** [November 15, 2010, 10:50am UTC](https://www.ruby-forum.com/t/eventfd-failed/199120/2 "2010-11-15T10:50:17Z")

</div>

Hello!

On Mon, Nov 15, 2010 at 04:13:45AM -0500, maar3amt wrote:

> 2010/11/15 02:53:09 [emerg] 22535#0: eventfd() failed (38: Function not  
> implemented)  
> 2010/11/15 02:53:09 [alert] 22534#0: worker process 22535 exited with  
> fatal code 2 and can not be respawn  
> [/quote]

nginx binary was compiled with file aio support (on another  
host), but your system doesn’t have proper interfaces (lacks  
eventfd() syscall).

Solution is to recompile nginx without file aio support.

Maxim D.

---

<div class="post-metadata">

**Author:** ![maar3amt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@maar3amt](https://www.ruby-forum.com/u/maar3amt)\
**Post date:** [November 16, 2010, 3:26am UTC](https://www.ruby-forum.com/t/eventfd-failed/199120/3 "2010-11-16T03:26:20Z")

</div>

How ca i do it?

–without-file-aio ?

Posted at Nginx Forum:

> **[Re: eventfd() failed](https://forum.nginx.org/read.php?2,150853,151081#msg-151081)**
>
> Hi, all I install nginx on my server listned on port 82 but when try access browser just said "Waiting.." and not show dwfault page. I found follow errors in error.log. \[quote=code\] 2010/11/15 02:51:10 \[emerg\] 2247

---

<div class="post-metadata">

**Author:** ![maar3amt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@maar3amt](https://www.ruby-forum.com/u/maar3amt)\
**Post date:** [November 16, 2010, 1:42pm UTC](https://www.ruby-forum.com/t/eventfd-failed/199120/4 "2010-11-16T13:42:56Z")

</div>

Hello!

On Mon, Nov 15, 2010 at 09:24:59PM -0500, maar3amt wrote:

> How ca i do it?
> 
> –without-file-aio ?

It’s not compiled in by default, so just don’t specify  
–with-file-aio flag to configure.

Maxim D.
