Created
September 11, 2015 23:06
-
-
Save gslin/36ac9ae1052163f83bfd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/home/plurk/plurkcore/ext/parts/web/wsgiserver/__init__.py", line 1246, in communicate | |
req.respond() | |
File "/home/plurk/plurkcore/ext/parts/web/wsgiserver/__init__.py", line 758, in respond | |
self.server.gateway(self).respond() | |
File "/home/plurk/plurkcore/ext/parts/web/wsgiserver/__init__.py", line 1949, in respond | |
response = self.req.server.wsgi_app(self.env, self.start_response) | |
File "/home/plurk/plurkcore/ext/werkzeug/utils.py", line 859, in __call__ | |
return self.app(environ, start_response) | |
File "/home/plurk/plurkcore/ext/parts/web/web.py", line 304, in dispatch_request | |
rv = handle_error() | |
File "/home/plurk/plurkcore/ext/parts/web/web.py", line 367, in handle_error | |
result = handler(e) | |
File "plurk/web/error_handler.py", line 70, in error_handler | |
trace_back=t_b) | |
File "plurk/templates.py", line 146, in renderPlurkTemplate | |
html = renderTemplate(templatename, **kwargs) | |
File "plurk/templates.py", line 59, in renderTemplate | |
'session_user': getCurrentUser(), | |
File "plurk/users.py", line 44, in getCurrentUser | |
user = Users().getUserById(uid, full_info=True) | |
File "plurk/models/users.py", line 505, in getUserById | |
self.annotateUser(user) | |
File "plurk/models/users.py", line 549, in annotateUser | |
user['email_confirmed'] = self.isEmailConfirmed(user.id) | |
File "plurk/models/users.py", line 217, in isEmailConfirmed | |
row = main_db().select('users_map', id=uid, cols='is_email_confirmed', as_one=True) | |
File "/home/plurk/plurkcore/ext/parts/db/wrapper.py", line 121, in select | |
with self.cursor(sql) as cursor: | |
File "/home/plurk/plurkcore/ext/parts/db/wrapper.py", line 55, in cursor | |
con = self.connections.getConnection(host) | |
File "/home/plurk/plurkcore/ext/parts/db/wrapper.py", line 579, in getConnection | |
raise Exception('Can\'t connect to MySQL server on %s[%s]\n%s' % (dbinfo.get('server_name'), dbinfo.get('host'), exception)) | |
Exception: Can't connect to MySQL server on main[plurk-cluster.cluster-cn9jcgng1xet.us-east-1.rds.amazonaws.com] | |
Traceback (most recent call last): | |
File "/home/plurk/plurkcore/ext/parts/db/wrapper.py", line 557, in getConnection | |
con = MySQLdb.Connect(**conf) | |
File "build/bdist.linux-x86_64/egg/MySQLdb/__init__.py", line 81, in Connect | |
return Connection(*args, **kwargs) | |
File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 193, in __init__ | |
super(Connection, self).__init__(*args, **kwargs2) | |
OperationalError: (1040, 'Too many connections') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment