Re: Using DB_CONFIG (how?)

2005-02-24 Thread Stephan A. Rickauer
Jukka Salmi wrote: Henrique de Moraes Holschuh --> info-cyrus (2005-02-24 12:25:48 -0300): On Thu, 24 Feb 2005, Stephan A. Rickauer wrote: Great help, thanks! I moved my DB_CONFIG into db/ and tried to restart cyrus _without_ doing "db_recover" first. Guess what, the new parameters

Re: Using DB_CONFIG (how?)

2005-02-24 Thread Jukka Salmi
Henrique de Moraes Holschuh --> info-cyrus (2005-02-24 12:25:48 -0300): > On Thu, 24 Feb 2005, Stephan A. Rickauer wrote: > > Great help, thanks! I moved my DB_CONFIG into db/ and tried to restart > > cyrus _without_ doing "db_recover" first. Guess what, the new p

Re: Using DB_CONFIG (how?)

2005-02-24 Thread Henrique de Moraes Holschuh
On Thu, 24 Feb 2005, Stephan A. Rickauer wrote: > Great help, thanks! I moved my DB_CONFIG into db/ and tried to restart > cyrus _without_ doing "db_recover" first. Guess what, the new parameters > have been set properly. How come? What version of Berkeley DB? They might hav

Re: Using DB_CONFIG (how?)

2005-02-24 Thread Sebastian Hagedorn
p/db/ in your case. sorry, I just noticed I'm wrong ... I should have re-checked that first. /var/lib/imap *is* the DB_HOME. Sorry again. doch :) (No it isn't) ... at least I falsified this by moving DB_CONFIG up again and then the old default settings were restored. After putting it bac

Re: Using DB_CONFIG (how?)

2005-02-24 Thread Stephan A. Rickauer
Great help, thanks! I moved my DB_CONFIG into db/ and tried to restart cyrus _without_ doing "db_recover" first. Guess what, the new parameters have been set properly. How come? Thanks again. Stephan Sebastian Hagedorn wrote: Hi, --On 24. Februar 2005 14:53:04 Uhr +0100 "Step

Re: Using DB_CONFIG (how?)

2005-02-24 Thread Sebastian Hagedorn
Hi, --On 24. Februar 2005 15:37:31 Uhr +0100 Sebastian Hagedorn <[EMAIL PROTECTED]> wrote: --On 24. Februar 2005 14:53:04 Uhr +0100 "Stephan A. Rickauer" <[EMAIL PROTECTED]> wrote: My DB_HOME is nowhere set as an environment variable, but given that my db's are stored in /drbd/system/var/lib/imap

Re: Using DB_CONFIG (how?)

2005-02-24 Thread Stephan A. Rickauer
rry again. doch :) (No it isn't) ... at least I falsified this by moving DB_CONFIG up again and then the old default settings were restored. After putting it back into db/ my new settings have been applied again. Well, maybe there is another reason for that, but at this point I don'

Re: Using DB_CONFIG (how?)

2005-02-24 Thread Sebastian Hagedorn
Hi, --On 24. Februar 2005 14:53:04 Uhr +0100 "Stephan A. Rickauer" <[EMAIL PROTECTED]> wrote: My DB_HOME is nowhere set as an environment variable, but given that my db's are stored in /drbd/system/var/lib/imap/ I assume that this is it. no, it's not. It's db/ subdirectory, i.e. /drbd/system/var/

Re: Using DB_CONFIG (how?)

2005-02-24 Thread Henrique de Moraes Holschuh
On Thu, 24 Feb 2005, Stephan A. Rickauer wrote: > given above. After restarting cyrusd I checked the config with "db_stat > /drbd/system/var/lib/imap/deliver.db -l" ... but neither of the two > parameters have been adjusted. You have to stop everything using that DB, then run a db_recover to reb

Using DB_CONFIG (how?)

2005-02-24 Thread Stephan A. Rickauer
: Cannot allocate memory With the help of this list I found out that this refers to the way DB is configured. I also found out, that I should increase "Log record cache size" and "Log region size" (set_lg_regionmax 131072 and set_lg_bsize 524288) by creating a file called "

Re: DB_CONFIG

2004-12-04 Thread ocl
Igor Brezac wrote on 2004-12-04 18:19: Stop cyrus server, run db_recover -h /var/lib/imap/db and start cyrus server. Igor, Thanks. It worked. Cheers, Ray --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cy

Re: DB_CONFIG

2004-12-04 Thread Igor Brezac
Stop cyrus server, run db_recover -h /var/lib/imap/db and start cyrus server. -Igor On Sat, 4 Dec 2004, ocl wrote: I am sorry, I posted too early. I think I am getting somewhere, but not quite there yet. This is the contents of /var/lib/imap/db/DB_CONFIG set_cachesize2 0 8

Re: DB_CONFIG

2004-12-03 Thread Michael Loftis
;s a 2/2 split. There are patches to produce other splits, but htats the default. --On Saturday, December 04, 2004 05:02 +0200 ocl <[EMAIL PROTECTED]> wrote: I am sorry, I posted too early. I think I am getting somewhere, but not quite there yet. This is the contents of /var/

Re: DB_CONFIG

2004-12-03 Thread Michael Loftis
have a DB environment (aka, those __db* files). Now, I am really confused. What do you mean by 'DB environment'? I keep getting these messages in system log ctl_cyrusdb[5750]: DBERROR db4: /DB_CONFIG: line too long There's your answer. Take a look at DB_CONFIG. It's a plai

Re: DB_CONFIG

2004-12-03 Thread ocl
I am sorry, I posted too early. I think I am getting somewhere, but not quite there yet. This is the contents of /var/lib/imap/db/DB_CONFIG set_cachesize2 0 8 set_lg_regionmax 268435456 set_lg_bsize 67108864 set_flags DB_TXN_WRITE_NOSYNC IOW, I am going for -- cachesize of 2 GB

Re: DB_CONFIG

2004-12-03 Thread ocl
you mean by 'DB environment'? I keep getting these messages in system log ctl_cyrusdb[5750]: DBERROR db4: /DB_CONFIG: line too long ctl_cyrusdb[5750]: DBERROR: dbenv->open '/var/lib/imap/db' failed: Invalid argument ctl_cyrusdb[5750]: DBERROR: init /var/lib/imap/db: cyrusdb e

Re: DB_CONFIG

2004-12-03 Thread Andreas Hasenack
On Fri, Dec 03, 2004 at 12:53:13AM -0500, Igor Brezac wrote: > > You need to run the command from cyrus configdirectory/db or > db_stat -m -h configdirectory/db. And it has to have a DB environment (aka, those __db* files). --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http:/

Re: DB_CONFIG

2004-12-02 Thread Igor Brezac
You need to run the command from cyrus configdirectory/db or db_stat -m -h configdirectory/db. -igor On Fri, 3 Dec 2004, ocl wrote: Hi, I would like to alter cache size and other stuff for BDB, but, when I try this # db_stat -m I get an error message such as this: db_stat: DB_ENV->open: No such

DB_CONFIG

2004-12-02 Thread ocl
Hi, I would like to alter cache size and other stuff for BDB, but, when I try this # db_stat -m I get an error message such as this: db_stat: DB_ENV->open: No such file or directory This is an otherwise working system (on Redhat 9), but every now and then it slows down to crawl. Hardwarewise,

Re: DBERROR and DB_CONFIG

2003-07-02 Thread Igor Brezac
xes.db: cyrusdb error > FATAL: can't read mailboxes file > DBERROR db4: Database handles open during environment close > > DBERROR db4: 1136 lockers > > I saw this problem in the list : > http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&searchterm

DBERROR and DB_CONFIG

2003-07-02 Thread Julien Marchal
R db4: Database handles open during environment close DBERROR db4: 1136 lockers I saw this problem in the list : http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&searchterm=db_config&msg=19382 But i don't how to tune my cyrus installation to put the goo