DB cache is closing databases too frequently

RESOLVED FIXED in Thunderbird 18.0

Status

MailNews Core
Database
--
major
RESOLVED FIXED
5 years ago
2 years ago

People

(Reporter: rkent, Assigned: rkent)

Tracking

(Depends on: 1 bug, {perf, regression})

Trunk
Thunderbird 18.0
perf, regression
Dependency tree / graph
Bug Flags:
in-testsuite -

Thunderbird Tracking Flags

(thunderbird16+ fixed, thunderbird17+ fixed)

Details

(Whiteboard: [regression:TB15])

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
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)

Updated

5 years ago
Assignee: nobody → kent
Status: NEW → ASSIGNED
Duplicate of this bug: 793666
Blocks: 723248
Severity: normal → major
Keywords: perf, regression

Updated

5 years ago
Depends on: 710056

Comment 2

5 years ago
Forwarding tracking requests from bug 793666.
tracking-thunderbird16: --- → ?
tracking-thunderbird17: --- → ?
(Assignee)

Comment 3

5 years ago
Created attachment 664144 [details] [diff] [review]
5 minutes is 300000 milliseconds
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+
(Assignee)

Comment 5

5 years ago
Comment on attachment 664144 [details] [diff] [review]
5 minutes is 300000 milliseconds

Checked in https://hg.mozilla.org/comm-central/rev/246b6dfaf2e7
(Assignee)

Updated

5 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 18.0
tracking-thunderbird16: ? → +
tracking-thunderbird17: ? → +
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.
Checked in:

https://hg.mozilla.org/releases/comm-aurora/rev/b2e9643b349b
https://hg.mozilla.org/releases/comm-beta/rev/753ed57d0fc9
status-thunderbird16: --- → fixed
status-thunderbird17: --- → fixed
Whiteboard: [regression:TB15]

Comment 11

4 years ago
(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.