dovecot-2.2: Increased initial memory pool sizes.

dovecot at dovecot.org dovecot at dovecot.org
Mon Jan 21 19:45:19 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/be5ce6c06b08
changeset: 15669:be5ce6c06b08
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jan 21 19:45:13 2013 +0200
description:
Increased initial memory pool sizes.

diffstat:

 src/doveadm/dsync/dsync-ibc-pipe.c   |  2 +-
 src/lib-storage/index/index-status.c |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 583ea6b63c5d -r be5ce6c06b08 src/doveadm/dsync/dsync-ibc-pipe.c
--- a/src/doveadm/dsync/dsync-ibc-pipe.c	Mon Jan 21 19:43:39 2013 +0200
+++ b/src/doveadm/dsync/dsync-ibc-pipe.c	Mon Jan 21 19:45:13 2013 +0200
@@ -60,7 +60,7 @@
 
 	pools = array_get_modifiable(&pipe->pools, &count);
 	if (count == 0)
-		return pool_alloconly_create("pipe item pool", 128);
+		return pool_alloconly_create("pipe item pool", 1024);
 
 	ret = pools[count-1];
 	array_delete(&pipe->pools, count-1, 1);
diff -r 583ea6b63c5d -r be5ce6c06b08 src/lib-storage/index/index-status.c
--- a/src/lib-storage/index/index-status.c	Mon Jan 21 19:43:39 2013 +0200
+++ b/src/lib-storage/index/index-status.c	Mon Jan 21 19:45:13 2013 +0200
@@ -190,7 +190,7 @@
 
 	if (box->metadata_pool == NULL) {
 		box->metadata_pool =
-			pool_alloconly_create("mailbox metadata", 2048);
+			pool_alloconly_create("mailbox metadata", 1024*3);
 	}
 
 	fields = mail_cache_register_get_list(box->cache,


More information about the dovecot-cvs mailing list