Closed Bug 793455 Opened 12 years ago Closed 12 years ago

DB cache is closing databases too frequently

Categories

(MailNews Core :: Database, defect)

defect
Not set
major

Tracking

(thunderbird16+ fixed, thunderbird17+ fixed)

RESOLVED FIXED
Thunderbird 18.0
Tracking Status
thunderbird16 + fixed
thunderbird17 + fixed

People

(Reporter: rkent, Assigned: rkent)

References

Details

(Keywords: perf, regression, Whiteboard: [regression:TB15])

Attachments

(1 file)

See https://bugzilla.mozilla.org/show_bug.cgi?id=710056

--- Comment #151 from David :Bienvenu <mozilla@davidbienvenu.org> 2012-09-22 13:39:47 PDT ---
Kent, I really intended the db's to only get closed after 3 minutes of idle (or
5, I can't remember), not 3 seconds. It was a milliseconds vs. seconds
confusion, so that really should be fixed.
Assignee: nobody → kent
Status: NEW → ASSIGNED
Blocks: 723248
Severity: normal → major
Keywords: perf, regression
Depends on: 710056
Forwarding tracking requests from bug 793666.
Attachment #664144 - Flags: review?(irving)
Comment on attachment 664144 [details] [diff] [review]
5 minutes is 300000 milliseconds

Review of attachment 664144 [details] [diff] [review]:
-----------------------------------------------------------------

I don't think we need to worry about people who have overridden this pref, so just changing the default is fine.
Attachment #664144 - Flags: review?(irving) → review+
Comment on attachment 664144 [details] [diff] [review]
5 minutes is 300000 milliseconds

Checked in https://hg.mozilla.org/comm-central/rev/246b6dfaf2e7
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 18.0
Comment on attachment 664144 [details] [diff] [review]
5 minutes is 300000 milliseconds

[Triage Comment]
We should just take this straight onto aurora and beta as it should be safe.
Attachment #664144 - Flags: approval-comm-beta+
Attachment #664144 - Flags: approval-comm-aurora+
That will affect new installs only right ?
(In reply to Ludovic Hirlimann [:Usul] from comment #7)
> That will affect new installs only right ?

I'm pretty sure everyone who has not changed the pref will get the new default when they update
(In reply to Irving Reid (:irving) from comment #8)
> (In reply to Ludovic Hirlimann [:Usul] from comment #7)
> > That will affect new installs only right ?
> 
> I'm pretty sure everyone who has not changed the pref will get the new
> default when they update

Correct.
Whiteboard: [regression:TB15]
(In reply to Irving Reid (:irving) from comment #8) 
> I'm pretty sure everyone who has not changed the pref will get the new
> default when they update

I've been banging this bug for-ever. I never changed mail.db.idle_limit but just now found it set to 4000. I changed it to 300000 and for the first time in *years* thunderbird has stopped locking up randomly.
Depends on: 929281
You need to log in before you can comment on or make changes to this bug.