Welcome! Log In Create A New Profile

Advanced

Re: AIO cause memory leak

Tony
December 30, 2009 08:28PM
Thanks!

On 12/30/2009 11:17 PM, Igor Sysoev wrote:
> On Wed, Dec 30, 2009 at 04:09:59PM +0800, Tony wrote:
>
>
>> I got the memory leak error on my linux server when I added 'aio on;' in
>> my nginx.conf,
>> The os is fedora 11(x86-64) and gentoo(x86-64),The kernel is 2.6.29+.
>> I've already set 'directio 2m; sendfile on; ' into nginx.conf.
>> The server is only serving static flv contents, These is 50-100MBytes
>> each flv file.
>>
>> When 'aio on' is setting, the server's 4G memory and 2G swap were
>> consumed by nginx, work_processes just 4.
>> When I disable aio, each nginx processes used 30M memory only.
>>
>> When aio is used, I know it should disable sendfile and use directio,
>> Why it use so many memory?
>>
> It's a known bug. I will fix it in January.
>
>
>


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

AIO cause memory leak

Tony December 30, 2009 03:16AM

Re: AIO cause memory leak

Igor Sysoev December 30, 2009 10:24AM

Re: AIO cause memory leak

Tony December 30, 2009 08:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 318
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready