11
DonXoop
Re: Unable to connect to database in file class/database/databasefactory.php line 34

I don't have any calculations for large XOOPS sites but I would say make sure persistent connections is off.
In mainfile.php the line is:
define('XOOPS_DB_PCONNECT', 0);

0 = off, 1 = on

I have yet to see lingering connections from XOOPS even with xoopsgallery.

Could help to install a stand alone phpmyadmin and have a look. Without root access you won't see all the juicy info but you'll see your own.

I have run large and busy PHP/MySQL sites and never saw it crash. But I wasn't sharing the server with unkown users and sites. The host server might have issues.

12
jgrimm73
Re: Unable to connect to database in file class/database/databasefactory.php line 34
  • 2004/7/16 14:17

  • jgrimm73

  • Friend of XOOPS

  • Posts: 6

  • Since: 2003/8/7 4


Wanted to confirm that DonXoop is correct. I finally heard back from my provider and it turns out someone else's php/mysql site was using persistent connections and it exhausted the db connections. I've gone back and made sure all my XOOPS sites have persistent connections turned off. But, as mentioned, on a shared server you're at the mercy of other users, the safest way is still to host it yourself.

Jason

Login

Who's Online

122 user(s) are online (62 user(s) are browsing Support Forums)


Members: 0


Guests: 122


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits