Results 1 to 2 of 2

Thread: mmap() failed with index cache file - dovecot

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    1
    cPanel/WHM Access Level

    Root Administrator

    Default mmap() failed with index cache file - dovecot

    Hello,We are using WHM Cpanel 11.28.86 with dovecot as IMAP/POP server. We have a folder in an email account with more than 65000 emails. Now whenever we try to access this email account, through Squirrel Mail or Mail client like Kmail, in /var/log/maillog, we are getting message,

    Nov 13 12:06:37 neoteric01 dovecot: IMAP(support@______.com): mmap() failed with index cache file /home/123abc12/mail/_______.com/support/.Dealt With/dovecot.index.cache: Cannot allocate memoryNov 13 12:06:37 neoteric01 dovecot: IMAP(support@______.com): mmap() failed with index cache file /home/123abc12/mail/_______.com/support/.Dealt With/dovecot.index.cache: Cannot allocate memory
    We are not able to view email accounts and Squirrel mail is throwing


    ERROR:ERROR: Connection dropped by IMAP server.Query: THREAD REFERENCES ISO-8859-1 ALL
    The entry, mail_process_size in /etc/dovecot.conf is comented.Can someone guide me on what to do to fix this issue? Thank you in advance.

    <br>Regards,

    <br>Kurian.
    Last edited by kurian_dsquare; 11-13-2011 at 11:39 AM.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: mmap() failed with index cache file - dovecot

    Hello Kurian,

    It could be the PHP memory limit in the php.ini for cPanel itself for the webmail programs. I'd point out how to do that, but it's highly possible the machine could crash if it uses too much memory.

    The issue here is that no folder should have 65000 emails in it. I highly suggest copying the contents of that folder and zipping them up, then having the user trim down the contents or you trim it down for them.

    I'd also consider updating cPanel to the latest version as you appear to be running a relatively older version. You can do that cPanel update with this command:

    Code:
    /scripts/upcp --force
    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. Replies: 1
    Last Post: 04-03-2010, 03:48 AM
  2. Index.php not recognized as index file in addon domains
    By hubrik in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 10-16-2008, 10:57 AM
  3. generate analoge states from cache file
    By Kailash1 in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 07-24-2007, 10:54 PM
  4. Clear File Usage Cache
    By andrewj in forum New User Questions
    Replies: 5
    Last Post: 05-16-2007, 09:27 AM