Recent changes

The WMF Cloud/Tools Lab side is currently experiencing hardware issues

Interaction

--> -->
 
 
<class 'oursql.ProgrammingError'>
Python 2.7.6:
Mon Feb 18 17:11:58 2019

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/dispenser/public_html/cgi-bin/rcput.py in ()
    549 }
    550 </style>''')
=>  551                 main()
    552         except toolsql.Error as (errno, strerror, extra):
    553                 if errno in (1040, 1226, 1317, 2006, 2013):
main = <function main>
 /home/dispenser/public_html/cgi-bin/rcput.py in main()
    115 #                               namespaces.append((ns_id, ns_name))
    116 #               wikipedia.logtime("Got namespaces")
=>  117         cursor = toolsql.getConn('u2815__p', host='tools.labsdb', raise_on_warnings=False).cursor()
    118         curs = toolsql.getConn(site.dbName()).cursor()
    119         wikipedia.logtime("Got database connection")
cursor undefined, global toolsql = <module 'toolsql' from '/home/dispenser/public_html/cgi-bin/toolsql.pyc'>, toolsql.getConn = <function getConn>, host undefined, raise_on_warnings undefined, builtin False = False, ).cursor undefined
 /home/dispenser/public_html/cgi-bin/toolsql.py in getConn(dbname='u2815__p', host='tools.labsdb', read_default_file=None, local_infile=True, charset='utf8mb4', use_unicode=False, default_cursor=<class 'toolsql.UnicodeCursor'>, cluster='web', reconnect=False, *args=(), **kwargs={'compress': True, 'raise_on_warnings': False})
    316                         default_cursor=default_cursor,
    317                         *args,
=>  318                         **kwargs
    319                 )
    320         return connections[host,dbname]
kwargs = {'compress': True, 'raise_on_warnings': False}
 /home/dispenser/public_html/cgi-bin/connection.pyx in oursql.Connection.__cinit__ (oursqlx/oursql.c:5482)()
 /home/dispenser/public_html/cgi-bin/connection.pyx in oursql.Connection._raise_error (oursqlx/oursql.c:5885)()

<class 'oursql.ProgrammingError'>: (1203, "User u2815 already has more than 'max_user_connections' active connections", None)
      args = (1203, "User u2815 already has more than 'max_user_connections' active connections", None)
      errno = 1203
      extra = None
      message = ''

/home/dispenser/public_html/cgi-bin/tracebacks/rcput_ProgrammingError_551_w_Keqa.html contains the description of this error.