: 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 DB_CONFIG in my DB_HOME.
Let
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
rebuild
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.
:) (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't care ...
--
Stephan
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/ I
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 Stephan A. Rickauer
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 back into db/ my new settings have been
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 have fixed this design
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
have been set properly. How
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
have been set
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
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:
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:
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 error
This is what I see
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
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 plain text
configuration file
. 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/lib/imap/db/DB_CONFIG
set_cachesize
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,
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
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-cyrussearchterm=db_configmsg=19382
But i don't how to tune my cyrus installation to put the good parameter
in the DB_CONFIG.
Has anyone
20 matches
Mail list logo