InMotion Hosting Support Center

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.



With POP3 (Post Office Protocol) this would be the same as simply going into the post office, removing everything in your post office box and taking it home with you. You retain the physical copies of all of your mail that has been sent to you, and the post office (server) doesn't have to deal with them further.
With IMAP (Internet Mail Access Protocol) instead of simply taking everything out of your box and home with you every time. You instead grab a copy of each message, and the original stays in the post office box (server). This is convenient if you have multiple devices such as a desktop, laptop, smartphone, and tablet all trying to check mail from the same account.

When can using IMAP cause problems on the server?

Few messages = easy to sync


Lots of messages = difficult to sync


Inbox efficiency

Fast server

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

File 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.
Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

n/a Points
2016-09-12 9:08 am

I got this message today : Your imap server closed the connectionCould someone please explain this to me..? 

13,821 Points
2016-07-13 2:21 pm
So, if I am understanding you correctly you want to limit access to email accounts by device? Just limit which device you set up the email on. OR alternatively set up forwarders to another email only on that device.
n/a Points
2016-07-13 2:13 pm

is it possible to restrict usage for emails to cartain devices?

n/a Points
2015-03-16 12:43 pm

Good morning,

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


42,943 Points
2015-03-16 1:29 pm
Hello Salvatore,

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.

Arnel C.
n/a Points
2016-07-07 12:56 pm

Can you tell me how many users is the IMAP connection limit? The limit is from a single IP or per account?

31,595 Points
2016-07-07 1:21 pm
The limit is per account. Since it differs based on your specific server/account I recommend contacting Live Support with your question. This will allow them to provide account specific assistance.

Thank you,
n/a Points
2016-07-07 1:45 pm

Thanks John-Paul. As I'm looking forward to change my hostings services to your company, I want to know that limitation before-hand. Live Support can assist me in that issue?

31,595 Points
2016-07-07 1:52 pm
In that case, our Sales team is also very technical and can provide this type of information.Just let them know of your specific needs, and they can help select the right hosting plan for you.

Thank you,

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

9 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!