Page MenuHomePhabricator

DB connection error: Too many connections
Closed, DuplicatePublic

Description

Sometimes this error occures:

Traceback (most recent call last):

File "C:\pwb\compat\checkimages.py", line 1985, in <module>
  main()
File "C:\pwb\compat\checkimages.py", line 1930, in main
  logFullError=logFullError)
File "C:\pwb\compat\checkimages.py", line 637, in __init__
  self.list_licenses = self.load_licenses()
File "C:\pwb\compat\checkimages.py", line 1315, in load_licenses
  list_licenses = catlib.categoryAllPageObjectsAPI(catName)
File "C:\pwb\compat\catlib.py", line 754, in categoryAllPageObjectsAPI
  site)[0]:
File "C:\pwb\compat\catlib.py", line 723, in categoryAllElementsAPI
  return categoryAllElementsAPI(CatName, cmlimit=500)
File "C:\pwb\compat\catlib.py", line 725, in categoryAllElementsAPI
  raise pywikibot.Error(data)

pywikibot.exceptions.Error: {u'servedby': u'mw1139', u'error': {u'info': u'Excep
tion Caught: DB connection error: Too many connections (10.64.16.34)', u'*': u''
, u'code': u'internal_api_error_DBConnectionError'}}

Maybe that should lead to wait cycle and restart the request.


Version: compat-(1.0)
Severity: normal

Details

Reference
bz64991

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:24 AM
bzimport set Reference to bz64991.
bzimport added a subscriber: Unknown Object (????).

bug 62974 is for the same problem in _getEditPage ; this type of problem needs to be fixed at a lower level, so the fix for that bug should also fix catlib.

  • This bug has been marked as a duplicate of bug 62974 ***