Last modified: 2014-11-01 07:14:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66991, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64991 - DB connection error: Too many connections
DB connection error: Too many connections
Status: RESOLVED DUPLICATE of bug 62974
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
compat-(1.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-07 07:26 UTC by xqt
Modified: 2014-11-01 07:14 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description xqt 2014-05-07 07:26:36 UTC
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.
Comment 1 John Mark Vandenberg 2014-11-01 07:14:52 UTC
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 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links