Mercurial > hg > nginx
diff src/core/ngx_palloc.h @ 1200:ff63527ea29c
limit minimal pool size
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 07 May 2007 09:20:42 +0000 |
parents | 4d203f76b757 |
children | 4d8140271204 |
line wrap: on
line diff
--- a/src/core/ngx_palloc.h +++ b/src/core/ngx_palloc.h @@ -19,7 +19,9 @@ */ #define NGX_MAX_ALLOC_FROM_POOL (ngx_pagesize - 1) -#define NGX_DEFAULT_POOL_SIZE (16 * 1024) +#define NGX_DEFAULT_POOL_SIZE (16 * 1024) +#define NGX_MIN_POOL_SIZE \ + (sizeof(ngx_pool_t) + 2 * sizeof(ngx_pool_large_t)) typedef void (*ngx_pool_cleanup_pt)(void *data);