Closed
Bug 281787
Opened 20 years ago
Closed 20 years ago
Sanitycheck times out with sufficiently large attachment table
Categories
(Bugzilla :: Bugzilla-General, defect, P2)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: bugreport, Assigned: bugreport)
Details
Attachments
(1 file, 1 obsolete file)
|
1.17 KB,
patch
|
justdave
:
review+
|
Details | Diff | Splinter Review |
With a sufficiently large attachment table [15000 attachments totalling 12GB on a rather busy Solaris system], sanitycheck will take a long time to process the corss-check for attachments.submitter_id and apache2 will time out after 300 seconds with no output. I suspect this occurs on this specific field because there is no index on attachments.submitter_id Workaround to increase apache2 timeout to 1200 secs works, but it probably pays to fix this at its source.
| Assignee | ||
Comment 1•20 years ago
|
||
Actually, it seems the apache timeout itself is not the only issue.
Severity: normal → major
Priority: -- → P2
Target Milestone: --- → Bugzilla 2.20
| Assignee | ||
Comment 2•20 years ago
|
||
OK, adding an index on submitter_id makes almost no difference in DB size but speeds sanitycheck up to seconds. Justdave's inactive account check also speeds up dramatically.
| Assignee | ||
Updated•20 years ago
|
Attachment #174140 -
Flags: review?(justdave)
| Assignee | ||
Updated•20 years ago
|
Assignee: general → bugreport
Flags: blocking2.20?
Comment 3•20 years ago
|
||
don't suppose we'd be able to sneak an index on bugs_activity.who in here for the same reason, could we? :) That was the other "lack of index" that was slowing down my inactive account check script. It'll also speed up searches on who changed what, I would imagine.
| Assignee | ||
Updated•20 years ago
|
Attachment #174140 -
Flags: review?(justdave)
| Assignee | ||
Comment 4•20 years ago
|
||
OK
Attachment #174140 -
Attachment is obsolete: true
Attachment #174141 -
Flags: review?(justdave)
Updated•20 years ago
|
Attachment #174141 -
Flags: review?(justdave) → review+
Updated•20 years ago
|
Flags: blocking2.20? → approval+
| Assignee | ||
Comment 5•20 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•