Re: [Lxr-dev] DB only opened, never closed?
Brought to you by:
ajlittoz
From: Jan-Benedict G. <jb...@lu...> - 2001-10-17 13:47:32
|
On Wed, 2001-10-17 15:34:48 +0200, Per Kristian Gjermshus <pe...@if...> wrote in message <87s...@ly...>: > * Malcolm Box > | Under mod_perl, do we want to do this? Because mod_perl keeps one > | script going through several invocations, I think that we want to open > | the db connection at initialisation and only close it when the apache > | server thread dies. Thus the cost of the connection will be amortised > | over several connections. > | > | It occurs to me that due to earlier changes this is not what currently > | happens - there is one db connection per instance of $index, rather than > | one for the module, but perhaps it is this that is wrong rather than > | needing cleanup to close everything. > > Another problem, which I do not know how to solve, is that of the > libpath issue. I don't understand why the modules are not found, but I > think it is a rather important problem to fix. Well, give me that DebugPrintF:-) MfG, JBG PS: ...and an example on how to use it... -- Jan-Benedict Glaw . jb...@lu... . +49-172-7608481 |