login community faq

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

bojanb's gravatar image

bojanb
1


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!

answered Jun 19 '12 at 09:01

todork's gravatar image

todork
10964

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

bojanb's gravatar image

bojanb
1

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×68
×40
×19
×2

Asked: Jun 19 '12 at 02:22

Seen: 884 times

Last updated: Jul 11 '12 at 06:38

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited