Re: Running multiple sync_clients

2010-11-20 Thread Bron Gondwana
On Sat, Nov 20, 2010 at 04:56:41PM -0200, Henrique de Moraes Holschuh wrote: > On Sat, 20 Nov 2010, Bron Gondwana wrote: > > More to the point, that's the BDB environment. It gets created even if you > > don't have any BDB files. And every time a sync_client child exists the > > reference count g

Re: Running multiple sync_clients

2010-11-20 Thread Henrique de Moraes Holschuh
On Sat, 20 Nov 2010, Bron Gondwana wrote: > More to the point, that's the BDB environment. It gets created even if you > don't have any BDB files. And every time a sync_client child exists the > reference count gets messed up :( > > (it opens the environment before forking, and closes it in ever

Re: Running multiple sync_clients

2010-11-19 Thread Bron Gondwana
On Fri, Nov 19, 2010 at 12:33:44PM -0500, Michael D. Sofka wrote: > I also noticed that when the child process dies, it tends to take out > the parent. Shouldn't the parent catch the error and fork another > child? This has so far only happened twice, and in both cases appears > to be associat

Re: Running multiple sync_clients

2010-11-19 Thread Bron Gondwana
On Fri, Nov 19, 2010 at 08:11:38PM +0100, Simon Matter wrote: > > Another question I have is what are /var/lib/imap/db/*? File says they > > are Berkeley dbs, but I thought all databases were skiplist in this > > release. I can't find the configuration options associated with this > > That's not

Re: Running multiple sync_clients

2010-11-19 Thread Simon Matter
> Bron Gondwana wrote: >> On Thu, Nov 18, 2010 at 12:58:10PM -0500, Michael D. Sofka wrote: >>> Is it safe to run multiple sync_clients? Is there an advantage to >>> doing so? >>> >>> I had to restart sync_client once. After later restarting cyrus two >>> sync_clients were running, and appeared t

Re: Running multiple sync_clients

2010-11-19 Thread Michael D. Sofka
Michael D. Sofka wrote: > Another question I have is what are /var/lib/imap/db/*? File says they > are Berkeley dbs, but I thought all databases were skiplist in this > release. I can't find the configuration options associated with this > db. I noticed them when looking at files open by syn

Re: Running multiple sync_clients

2010-11-19 Thread Michael D. Sofka
Bron Gondwana wrote: > On Thu, Nov 18, 2010 at 12:58:10PM -0500, Michael D. Sofka wrote: >> Is it safe to run multiple sync_clients? Is there an advantage to doing so? >> >> I had to restart sync_client once. After later restarting cyrus two >> sync_clients were running, and appeared to do well

Re: Running multiple sync_clients

2010-11-18 Thread Bron Gondwana
On Thu, Nov 18, 2010 at 12:58:10PM -0500, Michael D. Sofka wrote: > Is it safe to run multiple sync_clients? Is there an advantage to doing so? > > I had to restart sync_client once. After later restarting cyrus two > sync_clients were running, and appeared to do well together. Still, I > sto