IMAP Connections don't seem to be closed when a folder with a large amount of mail is opened



13 years ago
10 years ago


(Reporter: Gerard Mears, Assigned: Scott MacGregor)


Firefox Tracking Flags

(Not tracked)




13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

This may be related to Bug 295640.  I use Thunderbird with a wireless LAN
through a Dlink Router.  The router tends to crash when too many connections are
opened on the network.

I am running a mail server on one of the LAN computers and accessing the mail
via IMAP through a wireless router to Thunderbird.  The mail server is 'wired'
to the router.  Thunderbird is Ver 1.06.

I recently noticed Thunderbird causing the Router to crash.  It only happens
when I have a large number of emails in a folder and try to view the folder
contents.  If I log onto the Mail server with a web browser and move some of the
emails to a subdirectory the network remains stable when opening the directory
after the mail has been moved.

Strangely, Outlook does not cause the network to crash regardless of the amount
of mail in the directories.  If you can tell me how to log the connections or
create some sort of trace file for you I would be glad to help.

I have 5 accounts setup to access different mail accounts on the same mail
server.  This may compound the problem.

Reproducible: Always

Steps to Reproduce:
1.  Get an home router with allowing a maximum of 256 simultaneous connections
2.  Run a mail server on network.
3.  Use TB to access more than 256 messages in an IMAP folder on the mail
server, through the router.

Actual Results:  
if the router is a Dlink, it reboots, the network falls over and TB displays a
message that the Mail Server cannot be contacted.

Expected Results:  
Downloaded and displayed all messages

Comment 2

13 years ago
we cache connections to imap folders, up to a limit of five connections per
server. You can change this to any number you want in the advanced imap server
settings, e.g., 1.

Comment 3

13 years ago
Thanks David.  I tried that but it didn't work.

Comment 4

13 years ago
er, you mean it didn't fix your problem. But I think it does cause only one
connection to the imap server to be held open. netstat will tell you for sure.

Comment 5

12 years ago
I also have this Problem with Sm 1.0 under Win and Linux. Under Linux netstat shows me multiple connections opened to the IMAP server.

Comment 6

12 years ago
Yes, but did you change the setting for the number of connections we cache to the imap server? (the setting is per-server, so if you have 5 servers, and we cache 1 connection to each, you'll get 5 connections, not 1)

Comment 7

11 years ago
do you still see the bug??    

based on reporter: "I no longer use the Dlink router, and don't experience the drop outs" the could be marked invalid.
QA Contact: general

Comment 8

10 years ago
original report invalid per reporter
Last Resolved: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.