11 messages in net.sourceforge.lists.courier-usersRe: [courier-users] gdbm on OpenBSD; ...
FromSent OnAttachments
Steve ShockleyApr 12, 2007 9:11 am 
Gordon MessmerApr 12, 2007 11:04 am 
Sam VarshavchikApr 12, 2007 3:26 pm 
Steve ShockleyApr 12, 2007 7:59 pm 
Sam VarshavchikApr 13, 2007 3:48 pm 
Gordon MessmerApr 15, 2007 7:43 pm 
Steve ShockleyApr 30, 2007 8:32 pm 
Gordon MessmerMay 1, 2007 8:22 am 
Gordon MessmerJun 18, 2007 4:45 pm 
Sam VarshavchikJun 18, 2007 5:05 pm 
Gordon MessmerJun 19, 2007 8:06 am 
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: [courier-users] gdbm on OpenBSD; was "Adding a domain to Courier"Actions...
From:Gordon Messmer (yiny@eburg.com)
Date:Jun 19, 2007 8:06:51 am
List:net.sourceforge.lists.courier-users

Sam Varshavchik wrote:

Sounds fine to me. I'll set it to 16384. I'll even set it so that existing systems' configuration will remain untouched, only new installs will get the higher ulimit.

Whatever works. :)

The other possible solution is to specify a block size to gdbm_open in gdbmobj.c:

- if ((obj->dbf=gdbm_open((char *)filename, 0, mode, 0664, 0)) != 0) + if ((obj->dbf=gdbm_open((char *)filename, 4096, mode, 0664, 0)) != 0)

...which should reduce the size of the gdbm bucket cache, at the expense of "optimal" IO.