On Montag, 2. April 2007, Johann MacDonagh wrote: > I'm running into a strange issue with Trac hooked up to my Subversion > repository. For every page view in Trac's integrated subversion > viewer, apache creates a new file handler to the > /svn/path/locks/db.lock file. Even when the page is done rendering, > the lock is not released. After a few days or running, Apache had > 3,500 open files.
What version of trac are you using? Just a wild guess, but prior to r5145, trac doesn't call close() on a vc repository handle after using it (see http://trac.edgewall.org/ticket/4972), which may be the cause of your problem. Apart from using to fsfs (which is the preferred db format for subversion now anyway), you could try to use your bdb repository together with trac's current head and see whether it still leaves lock files behind. - Thomas
pgpiosTbCDdLM.pgp
Description: PGP signature
