[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: Persistent DBI connections and PerlFreshRestart
From:       Michael Smith <mjs () iii ! co ! uk>
Date:       1999-05-28 12:32:24
[Download RAW message or body]

I too have

PerlFreshRestart on

and I find that connections are persistent, until I send the server a restart
signal (USR/HUP), whereupon the connections cease to be persistent.

Is this the same as you see?

Mike


Lai Zit Seng wrote:

> Hi,
>
> I am observing a strangeness on my Apache/modperl setup in that DBI
> connections don't remain persistent if I have 'PerlFreshRestart On' set. I
> have made sure that Apache::DBI is loaded ahead of other modules, and
> followed all the instructions I could find... even following the examples.
> But the mysqladmin processlist command (I'm using MySQL) shows that Apache
> is not holding on to connections.
>
> However, the persistent DBI connections work with 'PerlFreshRestart Off'
> --- that's the only one change I made. I don't know why... I read the
> instructions about PerlFreshRestart and I do not see why it should have
> any effect (as long as Apache is not restarted, modules are not changed,
> etc).
>
> Am I making sense? Perhaps I am missing something, or maybe there is a
> problem. I have Apache 1.3.6, modperl 1.19 and also using modssl 2.2.8.
>
> Regards,
>
> .lzs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic