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: [email protected]
          Reporter: [email protected]
       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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to