0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Error, dovecot.index.cache: Cannot allocate memory

0
Last updated at Posted at 2026-07-06

dovecot.index.cache: Cannot allocate memory

もしかしたら、役に立つかな? と思い、記録。

Jun 06 04:22:04 host dovecot[1293]: imap(user)<96725><OsOOEuJUW9cAqAQu>: Error: Mailbox Trash: mmap(size=208417588) failed with file /home/user/Maildir/Trash/dovecot.index.cache: Cannot allocate memory

こんな感じのエラーがずっと出っぱなしで、色々試したけど消せなかった。
検索しても確定的な対処法が見つけられなかった。

色々やってしまったので、どれが寄与しているか確定的なことは言えないけれど、

  • /home/user/Maildir/Trash/ の中のファイルをある程度消す
  • /home/user/Maildir/Trash/dovecot.index.cache を削除する

の2つをやったら、
再作成された dovecot.index.cache は十分小さいサイズとなり、どうやらこのエラーは出なくなった。

問題のフォルダには、過去の削除メールが8年分位貯まっていたので、古い方から3年分位消した。

因みに、MUAは Thunderbird / Linux を使い、IMAPs アクセスをしている。

他に試したのは、Thunderbird 側から問題のフォルダの Property を開き、Repair と最大保持期間か最大通数を小さくしたこと。

以上

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?