https://bugzilla.wikimedia.org/show_bug.cgi?id=64991
Bug ID: 64991 Summary: DB connection error: Too many connections Product: Pywikibot Version: compat (1.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: info@gno.de Web browser: --- Mobile Platform: ---
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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=64991
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jayvdb@gmail.com Resolution|--- |DUPLICATE
--- Comment #1 from John Mark Vandenberg jayvdb@gmail.com --- 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 ***
pywikipedia-bugs@lists.wikimedia.org