help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open bugs on 2.1.14?


From: John Borwick
Subject: Re: open bugs on 2.1.14?
Date: Mon, 02 May 2005 09:58:24 -0400
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.6) Gecko/20050412

address@hidden wrote:
[...]
>
> PS: subversion (http://svn.iu.hio.no/viewcvs) is crapping
> out with a python error right now?  ...something about BerkDB
> couldn't alloc mem.

AFAIK this means you need to increase the number of DB locks and recover
your database.  Here's what I do:

 cd $SVN_ROOT
 # to keep people from using it while you recover:
 chown root:root $REPOSITORY
 cp -rp $REPOSITORY{,-`date +%Y%m%d`}
 cd $REPOSITORY/db
 # increase values for
 #  * set_lk_max_locks
 #  * set_lk_max_lockers
 #  * set_lk_max_objects
 vi DB_CONFIG
 db_recover -v
 chown $SVN_USER:$SVN_GROUP *
 cd ../..
 chown $SVN_USER:$SVN_GROUP $REPOSITORY

...that's the beauty of writing a package whose primary users are system
administrators. ;)

Hopefully this is what others do, too.

Yours,
John
--
           John Borwick      | work              +1 336 758 2507
       System Administrator  | cell              +1 336 391 6623
      Wake Forest University | web  http://www.wfu.edu/~borwicjh
      Winston-Salem, NC, USA | GPG key ID             0x797326D5

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]