While submitting scholorship application (https://scholarships.wikimedia.org/apply), server gives a 503 error. Screenshot:
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Remove use of persistent database connections | wikimedia/wikimania-scholarships | master | +0 -1 |
Related Objects
Related Objects
Event Timeline
Comment Actions
I see several errors in the server logs that say:
SQLSTATE[42000] [1226] User 'scholarships_app' has exceeded the 'max_user_connections' resource (current value: 10)
A couple of these occurred near the timestamp show for this bug report being filed.
Comment Actions
@Praveenp Thanks for pointing this problem out. We had configured the backing database server to throttle concurrent connections but apparently set the limit too low. We have raised the limit from 10 to 50 and I'll keep an eye on things to see if that is enough.
Comment Actions
Change 185917 had a related patch set uploaded (by BryanDavis):
Remove use of persistent database connections
Comment Actions
Sean raised the limit for the app and I removed the use of persistent connections. Seems to have fixed things.