Skip to content

Conversation

@missytake
Copy link
Contributor

fix #644

@missytake
Copy link
Contributor Author

Maybe we can just use https://linuxvox.com/blog/devshm-in-linux/ instead of shipping our own tmpfs.

@missytake missytake changed the title dovecot: add tmpfs for storing dovecot.index.cache in RAM WIP: dovecot: add tmpfs for storing dovecot.index.cache in RAM Dec 8, 2025
Copy link
Contributor

@hpk42 hpk42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dovecot allows to set a separate index directory: https://doc.dovecot.org/2.3/configuration_manual/mail_location/#index-files which is preferable to creating symlinks

how is dovecot handling it when the (tmp) file system gets full?

@missytake missytake changed the title WIP: dovecot: add tmpfs for storing dovecot.index.cache in RAM WIP: dovecot: add tmpfs for storing dovecot INDEX files in /dev/shm Feb 3, 2026
@missytake missytake temporarily deployed to staging-ipv4.testrun.org February 3, 2026 11:07 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging2.testrun.org February 3, 2026 11:07 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging2.testrun.org February 3, 2026 11:37 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging-ipv4.testrun.org February 3, 2026 11:37 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging-ipv4.testrun.org February 3, 2026 11:57 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging2.testrun.org February 3, 2026 11:57 — with GitHub Actions Inactive
@missytake missytake changed the title WIP: dovecot: add tmpfs for storing dovecot INDEX files in /dev/shm dovecot: add tmpfs_index chatmail.ini parameter for storing index files in /dev/shm Feb 3, 2026
@@ -1,3 +1,6 @@
[params]

tmpfs_index = true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is somehow not set for staging*.testrun.org.

@missytake missytake temporarily deployed to staging2.testrun.org February 3, 2026 12:44 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging-ipv4.testrun.org February 3, 2026 12:44 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restore in-memory index

3 participants