about "connection_pool_size" and "request_pool_size"

Igor Sysoev is at rambler-co.ru
Wed Dec 26 19:51:55 MSK 2007


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.


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





More information about the nginx mailing list