Sporadic PostgreSQL errors

Bugs » #23

This section on the Community is no longer supported, in favour of Wikidot's Official Feedback Site.

It is retained here for archiving purposes.

Posted by pieterhpieterh on 21 Aug 2008 11:46, last edited on 04 Mar 2009 14:18

This bug has been fixed


This happened on 21 August on a wikidot site. I've seen this now and then, it goes away with a refresh:

"Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: FATAL: connection limit exceeded for non-superusers in /var/www/www.wikidot.com/ozone/ozone/php/core/database/PgConnection.php on line 87
A nasty error has occurred. If the problem repeats, please fill (if possible) a bug report.

exception 'OzoneDatabaseException' with message 'error: ' in
/var/www/www.wikidot.com/ozone/ozone/php/core/database/PgConnection.php:90 Stack trace: #0
/var/www/www.wikidot.com/ozone/ozone/php/core/database/Database.php(48): PgConnection->connect() #1
/var/www/www.wikidot.com/ozone/ozone/php/core/database/Database.php(61): Database::init() #2
/var/www/www.wikidot.com/ozone/ozone/php/core/database/BaseDBPeer.php(67): Database::connection() #3
/var/www/www.wikidot.com/ozone/ozone/php/core/database/BaseDBPeer.php(117): BaseDBPeer->selectByCriteria(Object(Criteria)) #4
/var/www/www.wikidot.com/wikidot/php/screens/wiki/WikiScreen.php(345): BaseDBPeer->select(Object(Criteria)) #5
/var/www/www.wikidot.com/wikidot/php/screens/wiki/WikiScreen.php(14): WikiScreen->handleNotifications(Object(RunData)) #6
/var/www/www.wikidot.com/wikidot/php/utils/WikiFlowController.php(198): WikiScreen->render(Object(RunData)) #7
/var/www/www.wikidot.com/wikidot/web/index.php(89): WikiFlowController->process() #8 {main}"

How to Reproduce

Not directly reproducible.


Refresh usually works but obviously this is not something end users want to be confronted by.


Pieter Hintjens <moc.xitami|hp#moc.xitami|hp>

Rate this Bug

Rate the urgency of this bug. If you think it is more urgent and important than it's current rating suggests, rate it up.

rating: +1+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.