Page MenuHomePhabricator

Database errors using phabricator
Closed, ResolvedPublic

Description

Getting database errors periodically using phabricator:

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).

Event Timeline

I'm getting these all the time too.

Screen Shot 2016-04-27 at 9.34.29 PM.png (260×1 px, 44 KB)

@mmodell is currently importing Gerrit repositories into differential I believe.

I received the same error about 5 minutes ago when trying to login to Phabricator via MediaWiki. I closed the tab and clicked on the MediaWiki login button again and it worked.

@mmodell is currently importing Gerrit repositories into differential I believe.

He actually included a change that allows us to import all refs. We can now view all open gerrit changes. Currently he is importing them and there are so many to process.

The problem will subside when the import is finished.

I've reduced the number of phabricator task queue workers, this should eliminate the db errors at the expense of increasing the time to complete the import.

mmodell claimed this task.

Seems to be stable now.

Still happening from time to time today.