CentOS 5 - NGiNX - AIO

Igor Sysoev is at rambler-co.ru
Thu Nov 12 11:31:37 MSK 2009


On Thu, Nov 12, 2009 at 09:14:36AM +0100, Juergen Gotteswinter wrote:

> Strange, i tried to compile it with ./configure --with-file-aio but the 
> error message is the same. did you use the original centos kernel or a 
> self baked one?
> 
> if its the original kernel in you case, are you sure that aio was active?

Sorry, I was wrong. I had two VirtualBox installations: Debian and CentOS 5.2,
both have 2.6.18 kernel. Specially for AIO I had installed openSUSE 11.1
with more modern kernel.

> Greetings
> 
> Juergen
> 
> Igor Sysoev wrote:
> > On Wed, Nov 11, 2009 at 01:44:32PM +0100, Juergen Gotteswinter wrote:
> > 
> >> 2.6.18-164.el5 but redhat does a lot of backporting. i tried to compile 
> >> it on a centos 5 machine with ./configure --with-file-aio and get this
> >>
> >> checking for Linux AIO support ... not found
> >>
> >> ./configure: no supported file AIO was found
> >> Currently file AIO is supported on FreeBSD 4.3+ and Linux 2.6.22+ only
> >>
> >>
> >> seems like centos 5 & redhat enterprise 5 are too old
> >>
> >> but i have the following packages installed, regarding to aio
> >>
> >> libaio-devel-0.3.106-3.2
> >> libaio-0.3.106-3.2
> >> libaio-0.3.106-3.2
> >> libaio-devel-0.3.106-3.2
> > 
> > nginx does not use libaio. nginx requires eventfd() AIO support.
> > I tested AIO on CentOS 5.2.
> > 
> > 

-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list