Description of problem: Cyrus-imapd performace for large folders (5000+ mails) degraded after upgrade from fedora 12 to f13/f14 Version-Release number of selected component (if applicable): How reproducible: Install fresh f13 or f14 or upgrade from f12. Populate mailbox folder (e.g. INBOX) with large number of messages (5000+) Connect from webmail client (tested with squirrelmail). Large delays noticed. Same configuration works fine with f12. CLI top command shows 99%wait during loading messages to squirelmail. Adding more memory doesn't help. No mail proxy used. imapd auth with saslauthd with both PAM and LDAP mech. Same for x686 and 64_x86 Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
that's probably due to http://pkgs.fedoraproject.org/gitweb/?p=cyrus-imapd.git;a=commitdiff;h=24cb0a917604adfb485475ac46ac49b1dce9f44b - if [ $(find $i -maxdepth 0 -printf %%F) = "ext2" ]; then - chattr -R +S $i 2>/dev/null - fi + chattr -R +S $i 2>/dev/null ||:
> - if [ $(find $i -maxdepth 0 -printf %%F) = "ext2" ]; then > - chattr -R +S $i 2>/dev/null > - fi > + chattr -R +S $i 2>/dev/null ||: yes, that's probably the cause. Btw, do you see this issue too? Enrico, Damijan: what filesystem do you use for /var ? Damijan: You can verify this by using: chattr -R -S /var/lib/imap/{user,quota} /var/spool/imap
yes; I saw this issue too (on an ext3 fs).
When looking into documentation, cyrus-imapd recommends sync io only for ext2, so I've corrected spec file. Because this will only "not set" it, but not remove, you will probably have to manually unset it using: chattr -R -S /var/lib/imap/{user,quota} /var/spool/imap
Tried. Works. Thanks!!
cyrus-imapd-2.3.16-7.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/cyrus-imapd-2.3.16-7.fc14
cyrus-imapd-2.3.16-4.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/cyrus-imapd-2.3.16-4.fc13
cyrus-imapd-2.3.16-7.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update cyrus-imapd'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/cyrus-imapd-2.3.16-7.fc14
cyrus-imapd-2.3.16-4.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
cyrus-imapd-2.3.16-7.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.