login community faq

My Django app recently started throwing "OperationalError: (1040, 'Too many connections')". I don't think a lot has changed in our volume and I haven't made a change to the application, so I'm not sure if there could be another cause for this? I've never gotten this before in an application that has been running for a couple years now. Our volume may have increased slightly so that's all I can think of.

Is there a way to increase this number? If so, how do I go about it?

asked Jul 06 '12 at 15:15

rsp's gravatar image

rsp
612


You can't increase max connections on our shared MySQL service - if you want or need that ability, then you'll need to build your own MySQL from source and run it as a custom app.

However, before you go down that road...

The error you saw was caused by high load, which was caused another customer on your server. When that happens, queries take longer, and available connections become exhausted.

We're working with that customer to resolve this issue, and have already made some progress. I believe that it is unlikely that you'll see this error in the coming days.

Hope that helps!

answered Jul 06 '12 at 18:37

seanf's gravatar image

seanf ♦♦
59891220

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:

×151
×120
×11

Asked: Jul 06 '12 at 15:15

Seen: 929 times

Last updated: Jul 06 '12 at 18:37

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