Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OperationalError: User 's51222' has exceeded the 'max_user_connections' resource #2

Open
simon04 opened this issue Jan 1, 2018 · 0 comments

Comments

@simon04
Copy link

simon04 commented Jan 1, 2018

The query https://tools.wmflabs.org/render/tlgbe/tlgwsgi.py?action=query&flaws=ALL&format=json&lang=commons&query=Axamer+Lizum&querydepth=3 fails with

Error: Traceback (most recent call last):
  File "/mnt/nfs/labstore-secondary-tools-project/render/public_html/tlgbe/tlgbackend.py", line 336, in generateQuery
    self.pagesToTest= self.evalQueryString(queryString, queryDepth)
  File "/mnt/nfs/labstore-secondary-tools-project/render/public_html/tlgbe/tlgbackend.py", line 271, in evalQueryString
    result|= set(self.evalQueryToken(category, depth))
  File "/mnt/nfs/labstore-secondary-tools-project/render/public_html/tlgbe/tlgbackend.py", line 199, in evalQueryToken
    res= self.cg.getPagesInCategory(string.replace(' ', '_'), int(defaultdepth)-1, )
  File "/mnt/nfs/labstore-secondary-tools-project/render/public_html/tlgbe/tlgcatgraph.py", line 22, in getPagesInCategory
    catID= getCategoryID(self.wikiname, category)
  File "/data/project/render/.local/lib/python2.7/site-packages/Beaker-1.6.4-py2.7.egg/beaker/cache.py", line 572, in cached
    return cache[0].get_value(cache_key, createfunc=go)
  File "/data/project/render/.local/lib/python2.7/site-packages/Beaker-1.6.4-py2.7.egg/beaker/cache.py", line 305, in get
    return self._get_value(key, **kw).get_value()
  File "/data/project/render/.local/lib/python2.7/site-packages/Beaker-1.6.4-py2.7.egg/beaker/container.py", line 385, in get_value
    v = self.createfunc()
  File "/data/project/render/.local/lib/python2.7/site-packages/Beaker-1.6.4-py2.7.egg/beaker/cache.py", line 570, in go
    return func(*args)
  File "/mnt/nfs/labstore-secondary-tools-project/render/public_html/tlgbe/utils.py", line 190, in getCategoryID
    page= getPageByTitle(wiki, catTitle, NS_CATEGORY)
  File "/data/project/render/.local/lib/python2.7/site-packages/Beaker-1.6.4-py2.7.egg/beaker/cache.py", line 572, in cached
    return cache[0].get_value(cache_key, createfunc=go)
  File "/data/project/render/.local/lib/python2.7/site-packages/Beaker-1.6.4-py2.7.egg/beaker/cache.py", line 305, in get
    return self._get_value(key, **kw).get_value()
  File "/data/project/render/.local/lib/python2.7/site-packages/Beaker-1.6.4-py2.7.egg/beaker/container.py", line 385, in get_value
    v = self.createfunc()
  File "/data/project/render/.local/lib/python2.7/site-packages/Beaker-1.6.4-py2.7.egg/beaker/cache.py", line 570, in go
    return func(*args)
  File "/mnt/nfs/labstore-secondary-tools-project/render/public_html/tlgbe/utils.py", line 169, in getPageByTitle
    cur= getCursors()[wiki]
  File "/mnt/nfs/labstore-secondary-tools-project/render/public_html/tlgbe/utils.py", line 303, in __missing__
    newvalue= self.createEntry(key)
  File "/mnt/nfs/labstore-secondary-tools-project/render/public_html/tlgbe/utils.py", line 148, in createEntry
    conn= getConnections()[ckey]
  File "/mnt/nfs/labstore-secondary-tools-project/render/public_html/tlgbe/utils.py", line 303, in __missing__
    newvalue= self.createEntry(key)
  File "/mnt/nfs/labstore-secondary-tools-project/render/public_html/tlgbe/utils.py", line 312, in createEntry
    return MySQLdb.connect( read_default_file=GetSQLDefaultFile(), host=key, use_unicode=False, cursorclass=MySQLdb.cursors.DictCursor )
  File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect
    return Connection(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 187, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (1226, "User 's51222' has exceeded the 'max_user_connections' resource (current value: 10)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant