<?xml version="1.0"?> <api> <error code="internal_api_error_DBConnectionError" info="Exception Caught: DB connection error: Too many connections (localhost)" xml:space="preserve"> #0 /var/www/a-smil.org/html/includes/db/LoadBalancer.php(754): DatabaseBase->reportConnectionError() #1 /var/www/a-smil.org/html/includes/db/LoadBalancer.php(477): LoadBalancer->reportConnectionError() #2 /var/www/a-smil.org/html/includes/GlobalFunctions.php(3716): LoadBalancer->getConnection() #3 /var/www/a-smil.org/html/includes/filerepo/LocalRepo.php(461): wfGetDB() #4 /var/www/a-smil.org/html/includes/api/ApiQueryAllImages.php(50): LocalRepo->getSlaveDB() #5 /var/www/a-smil.org/html/includes/api/ApiQueryAllImages.php(92): ApiQueryAllImages->getDB() #6 /var/www/a-smil.org/html/includes/api/ApiQueryAllImages.php(74): ApiQueryAllImages->run() #7 /var/www/a-smil.org/html/includes/api/ApiPageSet.php(177): ApiQueryAllImages->executeGenerator() #8 /var/www/a-smil.org/html/includes/api/ApiPageSet.php(133): ApiPageSet->executeInternal() #9 /var/www/a-smil.org/html/includes/api/ApiQuery.php(266): ApiPageSet->execute() #10 /var/www/a-smil.org/html/includes/api/ApiMain.php(948): ApiQuery->execute() #11 /var/www/a-smil.org/html/includes/api/ApiMain.php(396): ApiMain->executeAction() #12 /var/www/a-smil.org/html/includes/api/ApiMain.php(367): ApiMain->executeActionWithErrorHandling() #13 /var/www/a-smil.org/html/api.php(85): ApiMain->execute() #14 {main} </error> </api>