Closed
Bug 307424
Opened 19 years ago
Closed 19 years ago
mysql_connect() error
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rflint, Assigned: morgamic)
References
()
Details
Attachments
(1 file)
|
4.12 KB,
patch
|
mconnor
:
first-review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050907 Firefox/1.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050907 Firefox/1.4 Over the past day or two, I've been intermittently receiving the following SQL error while attempting to view pages on UMO: Warning: mysql_connect(): Too many connections in /opt/update/core/init.php on line 61 Fatal error: MySQL Error 1040: Too many connections in /opt/update/core/init.php on line 61 Reproducible: Sometimes Steps to Reproduce: 1. Browse UMO Actual Results: A MySQL error occured. Expected Results: Normal operation.
Assignee: Bugzilla-alanjstrBugs → justdave
Status: UNCONFIRMED → NEW
Component: Web Site → Server Operations
Ever confirmed: true
Product: Update → mozilla.org
QA Contact: web-ui → myk
Target Milestone: 1.0 → ---
Version: unspecified → other
Comment 1•19 years ago
|
||
We can't bump max_connections up any higher than it is without burying the database server. However, we have multiple database servers, and spreading the load around would easily solve this. Unfortunately, that's an application issue, and the existing addons app doesn't know how to do that. The easiest fix for this is to make the app be able to query a different database than the one it writes to. Then the queries can be load-balanced on multiple servers, while all the writes still go to the master. Writes are pretty infrequent on addons, in the grand scheme of things.
Assignee: justdave → Bugzilla-alanjstrBugs
Component: Server Operations → Web Site
Product: mozilla.org → Update
QA Contact: myk → web-ui
Version: other → 1.0
Comment 2•19 years ago
|
||
Mike said on IRC that he was taking this
Assignee: Bugzilla-alanjstrBugs → morgamic
| Assignee | ||
Comment 3•19 years ago
|
||
Patch fixes "blank RDF" problem in bug 307235 and also separates out
| Assignee | ||
Updated•19 years ago
|
Attachment #195198 -
Flags: first-review?(mconnor)
Updated•19 years ago
|
Attachment #195198 -
Flags: first-review?(mconnor) → first-review+
Second database used for VersionCheck.php reads now.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•