Closed
Bug 295640
Opened 20 years ago
Closed 16 years ago
Client keeps open inactive IMAP connections causing server overload
Categories
(MailNews Core :: Networking: IMAP, defect)
MailNews Core
Networking: IMAP
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: andrew, Assigned: Bienvenu)
References
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 We run UW imapd for several hundred users. After new Mozilla and Thunderbird clients were deployed the server load became very high. The problem appears to be that the client now defaults to opening a maximum of 5 IMAP streams, so that if a user browses several folders the number of connects will climb to 5 and stay there until they disconnect - for some users on our internal LAN, perhaps never (modulo power outages/software upgrades/ system crashes). We have a mechanism to zap multi-day idle connects, but idle same-day connects are a problem. We can ask users to change their settings, and we can kill their connections, but it would be preferable if the client were to automatically reduce the number of open connects when it is idle, as each forked imapd process consumes system memory on the server Reproducible: Always Steps to Reproduce: 1.Connect to server 2.Do a lot of mail activity, opening multiple folders 3.Go to lunch leaving client running Actual Results: Client leaves the maximum number IMAP connections open, possibly forever Expected Results: Closed all the connections, possibly leaving one open if automatic checking is enabled every minute. Also in Mozilla Suite 1.7.7
Comment 1•19 years ago
|
||
I can confirm the same behavior on mozilla 1.7.12/mailnews. Even if the user closes the mailnews window, all IMAP connections remain open to all configured accounts. The only way to close them is to file->quit and restart. Cached connections are nice while you're browsing mail, but after enough idle time they need to go away. Especially if there's no action the user can take to get rid of them. It's very rough on mailservers, especially with SSL/TLS. Decrypting all the IDLE/NULL commands from hundreds of clients * 5 cached connections?
| Assignee | ||
Comment 2•19 years ago
|
||
we've always done that - you can reduce the number of connections we cache from 5 to 1, if you want, through the account settings | server | advanced button. We only keep the connections open for 29 minutes - we assume the server will drop them after that. But we don't drop the connections - we leave that up to the server. The user can go offline to kill the connections, by hitting the offline icon at the bottom left of the mail window.
Updated•18 years ago
|
QA Contact: general
Comment 3•16 years ago
|
||
IMAP networking problem.
Assignee: mscott → bienvenu
Component: General → Networking: IMAP
Product: Thunderbird → Core
QA Contact: general → networking.imap
Comment 4•16 years ago
|
||
INVA.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•