|
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".
|
|
It's hard to tell what was wrong without looking at some logs. Can you open a ticket, and provide as much information as you have on this issue? The approximate time this happened would be particularly helpful. Thanks! |
|
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".
|