Skip to content
jagauthier edited this page Apr 26, 2017 · 8 revisions

Q. I am getting "Exceeded maximum connections." File "/usr/local/lib/python2.7/dist-packages/playhouse/pool.py", line 127, in _connect raise ValueError('Exceeded maximum connections.') ValueError: Exceeded maximum connections.

This is a connection limit issue inside peewee. It can be resolved with --db-max_connections

Q. I am getting "Connection already open." File "/home/jgauthier/wh/local/lib/python2.7/site-packages/peewee.py", line 3669, in connect raise OperationalError('Connection already open') peewee.OperationalError: Connection already open

Seems to happen to me when I run inside a virtualenv. I don't know why, and didn't spend any time trying to solve it.

**Q. DB queue is > 50 (xx); try increasing --db-threads
Try increasing --db-threads

Clone this wiki locally