Possible server resource usage problems when using IMAP
When checking your e-mail account via an IMAP client, you might notice that things seem to hang from time to time. Sometimes 100% CPU usage or high memory usage could occur on your local computer, while it syncs mail from the server, leading to delays and possible freezing because of the intensive activity.
You might have also received a notice from our system administration department, that they've noticed elevated levels of usage on the server side coming from your IMAP activity.
When you check your e-mail on the server, you can think of this the same as having a post office box at your local post office. However unlike your traditional mail box, this post office box resides online so you can access it from anywhere.
How are you checking your email?
When checking e-mail, your e-mail client will present you with two methods or protocols for syncing mail from the server: POP3 or IMAP.
POP3 vs IMAP
When can using IMAP cause problems on the server?
Few messages = easy to sync
Lots of messages = difficult to sync
Imagine for a moment going to your physical post office box to see if you had any new mail. It would be easy to see what mail is new, if you only had a handful there to choose from. However if you had a pile of over 2,000 pieces of mail sitting there, some old, and some new, it would be much more time consuming to figure out what is what and be on your way.
A similar scenario is encountered on the server when you're using IMAP. Each time your mail client checks for new messages on the server, it must first synchronize all of the messages headers of your entire Inbox folder. A message header contains some basic information about that message, so that you don't have to download the full message from the server until you actually click on that specific message in your mail client.
If you have only a few e-mails, the server can sync all message headers relatively quickly with minimal impact on the server's performance. However if you have thousands of e-mails in the Inbox, the server is going to have to do extra work just to let you know what messages are new.
Long term e-mail storage
Over time, you can accumulate a large amount of messages stored on the server in your Inbox or Sent folders when using IMAP. So it’s important to either archive or tidy these up from time to time, since all of the message headers in these folders are synced each time you check for new mail. Keeping these folders with fewer then around 1,000 or so messages at a time can help ensure speedy retrieval of your new messages without affecting the server's performance.
Additionally while we do not impose a disk-space limit on the amount of e-mail stored on the server, if your account size exceeds 10GB on our shared or VPS hosting servers, this does stop our automated backup process on your account. So ensuring that you're only keeping e-mails you need access to, will help make sure your entire account is getting backed up daily. You can always grab messages off of the server to your local computer for long-term storage using local mail folders instead of IMAP folders stored on the server.
What solutions are available?
There are multiple options you have to resolve resource issues caused by IMAP activity, please pick from one below:
|Option 1: Auto Archive||Our System Administration team can setup any of your e-mail accounts to be automatically archived on a weekly basis for you. This can save you lots of time, since you don’t have to manually organize your older messages. This is the most popular and easiest solution most people go with.|
|Option 2: Manual Archive||For full control over how your messages are archived on the server, for example naming your own folders, and controlling which mail goes where. This can be accomplished with server-side IMAP folders. These can be created via your e-mail client or one of the webmail clients available on our servers.|
|Option 3: Local Archive||You can create a local folder on your computer instead of a server-side IMAP one, to archive messages from the server into. This will allow you to reduce the disk-space used by an e-mail account on the server and help it remain as efficient as possible while you’re syncing new messages from that account.|
|Option 4: Switch to POP3||You can switch your e-mail client to use POP3 instead of IMAP to avoid any IMAP resource usage issues. Please note that this would require removing the IMAP account from your mail client, and then re-creating the account, this time selecting POP3 as the server-type.|
2015-03-16 12:43 pm
I have this problem with thunderbird
"Unable to connect to your IMAP server. You may have exceeded the maximum number of connections to this server"
Do you have a solution?
Thank you, regards
2015-03-16 1:29 pm
Sorry to hear about the max number of connections error. I asked a systems person here and he recommended going into the Account Settings>Server Settings> Check for new messages every: option. By default it's set to 10 minutes. Change it to 30 minutes to lessen the number of attempts that Thunderbird is hitting the server.
I hope this helps to answer your question, please let us know if you require any further assistance.