7 messages in ru.sysoev.nginxRe: about "connection_pool_size" and ...
FromSent OnAttachments
焦胜强Dec 24, 2007 10:14 pm 
Changliang ChenDec 25, 2007 12:37 am 
Igor SysoevDec 25, 2007 2:25 am 
arlene chenDec 26, 2007 7:36 am 
Igor SysoevDec 26, 2007 8:51 am 
arlene chenDec 26, 2007 7:14 pm 
Igor SysoevDec 26, 2007 11:14 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: about "connection_pool_size" and "request_pool_size"Actions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Dec 26, 2007 8:51:32 am
List:ru.sysoev.nginx

On Wed, Dec 26, 2007 at 11:36:47PM +0800, arlene chen wrote:

who know the exact mean of "connection_pool_size" and "request_pool_size",I try to find it in nginx document but it it not listed in module reference ,and I can not search it in nginx wiki too. Finally I search it from nginx's source code, only two xx.c used these parameter , but I can not find out the exact mean of these two parameters, so I need to know how these two parameters are defined and the most thing is they are used for what?

The pools are used to allocate memory per connection and request. The pools are used for small allocations. If a block is bigger than pool size or bigger than page size, then it is allocted outside the pool. If there is not enough memory for small allocation inside pool, then a new block of the same pool size is allocated.