Page MenuHomePhabricator

Attempt to connect to phuser@m3-master.eqiad.wmnet failed with error #1040: Too many connections.
Closed, DuplicatePublic

Description

Unhandled Exception ("AphrontConnectionQueryException")

Attempt to connect to phuser@m3-master.eqiad.wmnet failed with error #1040: Too many connections.

Event Timeline

Josve05a raised the priority of this task from to Needs Triage.
Josve05a updated the task description. (Show Details)
Josve05a subscribed.
Krenair renamed this task from Unhandled Exception ("AphrontConnectionQueryException") to Attempt to connect to phuser@m3-master.eqiad.wmnet failed with error #1040: Too many connections..Aug 23 2015, 3:53 AM
Krenair set Security to None.

Some discussion/work on the matter at http://bots.wmflabs.org/~wm-bot/logs/%23wikimedia-operations/20150822.txt after [08:14:13] <icinga-wm> PROBLEM - https://phabricator.wikimedia.org on iridium is CRITICAL - Socket timeout after 10 seconds

Merged into T109279. Please reopen that one if it happens again.

Merged into T109279. Please reopen that one if it happens again.

Happening again, so I'm just following this comment and reopeingin this.

Also:

Can Not Connect to MySQL

Unable to connect to MySQL!

Attempt to connect to phuser@m3-master.eqiad.wmnet failed with error #1040: Too many connections.

Make sure Phabricator and MySQL are correctly configured.

The current Phabricator configuration has these values:

mysql.host	"m3-master.eqiad.wmnet"
mysql.port	null
mysql.user	"phuser"
mysql.pass	hidden

To update these 4 value(s), run these command(s) from the command line:

phabricator/ $ ./bin/config set mysql.host value
phabricator/ $ ./bin/config set mysql.port value
phabricator/ $ ./bin/config set mysql.user value
phabricator/ $ ./bin/config set mysql.pass value

I hit this AphrontConnectionQueryException: Attempt to connect to phuser@m3-master.eqiad.wmnet failed with error #2003: Can't connect to MySQL server on 'm3-master.eqiad.wmnet' (99). error a few minutes ago. It seems to be intermittent; refreshing the page a minute or two later worked.

@NiharikaKohli reports in #wikimedia-operations that she's been experiencing this error as well today.

Please reopen T109279, do not use this issue, as it is a duplicate of that one, and problems are centralized there.