DB Connections

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

DB Connections

Ian Harding
So we have the bug with duplicated shares due to the same item being
shared by multiple group memberships.

We were gritting our teeth trying to get by until the 20th.

Last night, something bad happened and now we start getting these about
half an hour after restarting httpd:

[Fri Sep 16 14:45:29.589127 2016] [:error] [pid 5802] [client
10.1.15.188:55551] PHP Fatal error:  Uncaught exception
'Doctrine\\DBAL\\DBALException' with message 'Failed to connect to the
database: An exception occured in driver: SQLSTATE[08004] [1040] Too
many connections' in
/var/www/html/owncloud/lib/private/DB/Connection.php:58\nStack
trace:\n#0
/var/www/html/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(429):
OC\\DB\\Connection->connect()\n#1
/var/www/html/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(389):
Doctrine\\DBAL\\Connection->getDatabasePlatformVersion()\n#2
/var/www/html/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(328):
Doctrine\\DBAL\\Connection->detectDatabasePlatform()\n#3
/var/www/html/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(621):
Doctrine\\DBAL\\Connection->getDatabasePlatform()\n#4
/var/www/html/owncloud/lib/private/DB/Connection.php(141):
Doctrine\\DBAL\\Connection->setTransactionIsolation(2)\n#5
/var/www/html/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(172):
OC\\DB\\Connection->__construct(Array,  in
/var/www/html/owncloud/lib/private/DB/Connection.php on line 58


There are a handful of httpd processes that are consuming 100% of CPU
but the machine itself is doing OK because I gave it a bunch of
processors and memory.  It had previously been failing due to memory
starvation.

Any ideas?

Also, if I install the 9.1.1 beta, will that preclude me from installing
the package version when it's released?

Thanks!
--
Ian Harding
IT Director
Brown Paper Tickets
1-800-838-3006 ext 7186
http://www.brownpapertickets.com
_______________________________________________
User mailing list
[hidden email]
http://mailman.owncloud.org/mailman/listinfo/user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: DB Connections

Chris-3
CONTENTS DELETED
The author has deleted this message.
Loading...