Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2017-02-12 10:14:37,716 [ db-cleaner][ models][ ERROR] Exception i
- n clean_db_loop: OperationalError(1040, u'Too many connections')
- Traceback (most recent call last):
- File "C:\RocketMap-develop\RocketMap-develop\pogom\models.py"
- , line 2255, in clean_db_loop
- query.execute()
- File "C:\Python27\lib\site-packages\peewee.py", line 3274, in execute
- return self.database.rows_affected(self._execute())
- File "C:\Python27\lib\site-packages\peewee.py", line 2656, in _execute
- return self.database.execute_sql(sql, params, self.require_commit)
- File "C:\Python27\lib\site-packages\playhouse\shortcuts.py", line 207, in exec
- ute_sql
- cursor = self.get_cursor()
- File "C:\Python27\lib\site-packages\peewee.py", line 3431, in get_cursor
- return self.get_conn().cursor()
- File "C:\Python27\lib\site-packages\peewee.py", line 3424, in get_conn
- self.connect()
- File "C:\Python27\lib\site-packages\peewee.py", line 3404, in connect
- self.initialize_connection(self.__local.conn)
- File "C:\Python27\lib\site-packages\peewee.py", line 3316, in __exit__
- reraise(new_type, new_type(*exc_args), traceback)
- File "C:\Python27\lib\site-packages\peewee.py", line 3402, in connect
- **self.connect_kwargs)
- File "C:\Python27\lib\site-packages\playhouse\pool.py", line 128, in _connect
- conn = super(PooledDatabase, self)._connect(*args, **kwargs)
- File "C:\Python27\lib\site-packages\peewee.py", line 3929, in _connect
- return mysql.connect(db=database, **conn_kwargs)
- File "C:\Python27\lib\site-packages\pymysql\__init__.py", line 88, in Connect
- return Connection(*args, **kwargs)
- File "C:\Python27\lib\site-packages\pymysql\connections.py", line 690, in __in
- it__
- self.connect()
- File "C:\Python27\lib\site-packages\pymysql\connections.py", line 908, in conn
- ect
- self._request_authentication()
- File "C:\Python27\lib\site-packages\pymysql\connections.py", line 1116, in _re
- quest_authentication
- auth_packet = self._read_packet()
- File "C:\Python27\lib\site-packages\pymysql\connections.py", line 983, in _rea
- d_packet
- packet.check_error()
- File "C:\Python27\lib\site-packages\pymysql\connections.py", line 395, in chec
- k_error
- err.raise_mysql_exception(self._data)
- File "C:\Python27\lib\site-packages\pymysql\err.py", line 120, in raise_mysql_
- exception
- _check_mysql_exception(errinfo)
- File "C:\Python27\lib\site-packages\pymysql\err.py", line 112, in _check_mysql
- _exception
- raise errorclass(errno, errorvalue)
- OperationalError: (1040, u'Too many connections')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement