Page 1 of 1

Database Memory Issue

Posted: Tue Jul 18, 2006 4:17 pm
by Mudders
Hi All,

My webhosting provider has come to me and said that my site is not closing its DB handles - or something to that effect.
They say it keeps on creating new DB sessions which seems to be crashing my site.
Has anyone else experienced this?
I'm on the 0.13 Canary Version.

Any idea's how to stop this?

Thanks,

Mudders.

Re: Database Memory Issue

Posted: Wed Jul 19, 2006 2:22 am
by Elijah Lofgren
Mudders wrote: Hi All,

My webhosting provider has come to me and said that my site is not closing its DB handles - or something to that effect.
They say it keeps on creating new DB sessions which seems to be crashing my site.
Has anyone else experienced this?
I'm on the 0.13 Canary Version.

Any idea's how to stop this?
I've never run into this problem on any of my sites. Maybe you could try using (or disabling if their already disabled) persistant connections.

In config.php
find:

Code: Select all

$config['persistent_db_conn'] = false;
try changing to:

Code: Select all

$config['persistent_db_conn'] = true;
or if it already is at:

Code: Select all

$config['persistent_db_conn'] = true;
try changing to:

Code: Select all

$config['persistent_db_conn'] = false;
I don't know if this will actually help, worth a try though, I think. :)