This morning I'm getting a lot of "OperationalError: (OperationalError) SSL connection has been closed unexpectedly" errors in my CherryPy webapp when it tries to query the PostgreSQL database.
The webapp was working for months without any issues. Any ideas on what might be the problem? Thanks!
This question is marked "community wiki".
asked Jun 19 '12 at 02:22
I've had some problems with leaking connections in my application, so as a temporary fix I increased the connection pool size to 500 connections. It seems this was the problem.
Returning the pool size to 20 seems to have eradicated the OperationalError errors. However, now I'm back to running out of connections pretty quickly, but that's another (and more tractable) problem.
This answer is marked "community wiki".
answered Jul 11 '12 at 06:38