[Dovecot] Stalled imaptest10 process
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
in order to stress my Dovecot test installation a bit, I compiled imaptest10.c.
Now and then I see:
Logi List Stat Sele Fetc Fet2 Copy Stor Dele Expu Appe Logo 100% 50% 50% 100% 100% 100% 33% 50% 100% 100% 100% 100% 30% 5% 5% 0 0 0 0 0 0 0 0 0 0 0 0 1/ 1 0 0 0 0 0 0 0 0 0 0 0 0 1/ 1 0 0 0 0 0 0 0 0 0 0 0 0 1/ 1 0 0 0 0 0 0 0 0 0 0 0 0 1/ 1
- stalled for 1784 secs in APPEND
- stalled for 1785 secs in APPEND
- stalled for 1786 secs in APPEND
- stalled for 1787 secs in APPEND
- stalled for 1788 secs in APPEND
- stalled for 1789 secs in APPEND
- stalled for 1790 secs in APPEND
(Sometimes SELECT or COPY) The maximum stalled time in APPEND is 1790s; in SELECT and COPY the maximum time is less than 20s until now.
The only IMAP process loops around a poll(): poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=2, events=POLLERR|POLLHUP|POLLNVAL}, {fd=0, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}], 3, 0) = 0 gettimeofday({1174389105, 882286}, {4294967236, 0}) = 0 gettimeofday({1174389105, 882339}, NULL) = 0 poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=2, events=POLLERR|POLLHUP|POLLNVAL}, {fd=0, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}], 3, 999) = 0 gettimeofday({1174389106, 882011}, {4294967236, 0}) = 0 gettimeofday({1174389106, 882123}, NULL) = 0 poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=2, events=POLLERR|POLLHUP|POLLNVAL}, {fd=0, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}], 3, 0) = 0
So does imaptest itself: poll([{fd=3, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=52, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}], 2, 0) = 0 gettimeofday({1174389079, 93585}, {4294967236, 0}) = 0 write(1, " 0 0 0 0 0 0 "..., 68) = 68 write(2, " - 46. stalled for 1698 secs in "..., 39) = 39 gettimeofday({1174389079, 93814}, NULL) = 0 poll([{fd=3, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=52, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}], 2, 999) = 0 gettimeofday({1174389080, 93445}, {4294967236, 0}) = 0 gettimeofday({1174389080, 93497}, NULL) = 0 poll([{fd=3, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=52, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}], 2, 0) = 0 gettimeofday({1174389080, 93607}, {4294967236, 0}) = 0
There are no crashes, nothing. The server is idle then. I first assumed that it is related to an out-of-quota condition, but this time there is no fs quota set for the user. When I played with the quota, I ran imaptest with standard settings and without copybox=.
I used this command: /usr/local/src/imaptest user=dvtest pass=pass clients=115 mbox=test.mbox box=box0 copybox=box1 msgs=200
./configure summary:
Install prefix ...................... : /usr/local/dovecot.rc27 File offsets ........................ : 64bit I/O loop method ..................... : poll File change notification method ..... : dnotify Building with SSL support ........... : yes (OpenSSL) Building with IPv6 support .......... : yes Building with pop3 server ........... : yes Building with mail delivery agent .. : yes Building with GSSAPI support ........ : no Building with user database modules . : static prefetch passwd passwd-file checkpassword ldap sql (modules) Building with password lookup modules : passwd passwd-file shadow pam checkpassword ldap sql (modules) Building with SQL drivers ............: pgsql
# /usr/local/dovecot.rc27/sbin/dovecot -n # /usr/local/dovecot.rc27/etc/dovecot.conf base_dir: /var/run/dovecot/ log_path: /var/log/dovecot/dovecot.log protocols: imap imaps pop3 pop3s ssl_ca_file: /etc/ssl/certs/ca.crt ssl_cert_file(default): /etc/ssl/certs/imap.pem ssl_cert_file(imap): /etc/ssl/certs/imap.pem ssl_cert_file(pop3): /etc/ssl/certs/pop3.pem ssl_key_file(default): /etc/ssl/private/imap.key ssl_key_file(imap): /etc/ssl/private/imap.key ssl_key_file(pop3): /etc/ssl/private/pop3.key disable_plaintext_auth: no verbose_ssl: yes login_dir: /var/run/dovecot//login login_executable(default): /usr/local/dovecot.rc27/libexec/dovecot/imap-login login_executable(imap): /usr/local/dovecot.rc27/libexec/dovecot/imap-login login_executable(pop3): /usr/local/dovecot.rc27/libexec/dovecot/pop3-login login_log_format_elements: %p: user=<%u> method=%m rip=%r lip=%l %c verbose_proctitle: yes first_valid_uid: 1000 mail_location: maildir:%h/MailDir:CONTROL=/var/cache/dovecot/%i/control:INDEX=/var/cache/dovecot/%i/index mail_debug: yes dotlock_use_excl: yes maildir_copy_with_hardlinks: yes maildir_copy_preserve_filename: yes mail_drop_priv_before_exec: yes mail_executable(default): /usr/local/dovecot.rc27/libexec/dovecot/imap mail_executable(imap): /usr/local/dovecot.rc27/libexec/dovecot/imap mail_executable(pop3): /usr/local/dovecot.rc27/libexec/dovecot/pop3 mail_plugins(default): quota imap_quota mail_log zlib mail_plugins(imap): quota imap_quota mail_log zlib mail_plugins(pop3): quota mail_log mail_plugin_dir(default): /usr/local/dovecot.rc27/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/dovecot.rc27/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/dovecot.rc27/lib/dovecot/pop3 mail_log_prefix: %Us(%u) [%p]: mail_log_max_lines_per_sec: 30 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %u pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): oe-ns-eoh namespace: type: private separator: . inbox: yes hidden: yes auth default: mechanisms: plain login cache_size: 10 username_chars: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890 verbose: yes debug: yes passdb: driver: ldap args: /usr/local/dovecot.rc26/etc/dovecot-ldap.conf passdb: driver: shadow userdb: driver: prefetch userdb: driver: ldap args: /usr/local/dovecot.rc26/etc/dovecot-ldap.conf userdb: driver: passwd-file args: /etc/passwd socket: type: listen client: path: /var/run/dovecot/auth-client mode: 432 master: path: /var/run/dovecot/auth-master mode: 432 group: mail plugin: quota: fs
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRf/E3i9SORjhbDpvAQI5oQgAhOYKF9Rw0Ezz8Fn22xLjm/EtXdsRgpPx 6kcBkT+v4gLc15ORtcCrWLmU0bG+an//2wQ33cAiH2X/veZXEdXtwNultq+HPM3/ MYnjvNhL+OkkN9wAGOLTaRFJUDofEiXQzeNiVhYelmUsT4NaLzVQT4tRiYrbIAvK sHlkZJayE3gTIc5SzAviWxPPEkcJO+0HpMrym9USYbFtWNMVEMSYl9pGTVp9YTa0 oMUGpge1H8Qw75VMuf9jHC2SU8Xe889pv9CiButE0cpkQSsQj7Gf4+rX5V3ts3xv vw8oAZdsc3Rzms3JrWRiAsQHomXeAW0VPZSi/DjIOXT/AshXvnLDQw== =FLRG -----END PGP SIGNATURE-----
On 20.3.2007, at 13.26, Steffen Kaiser wrote:
- stalled for 1784 secs in APPEND .. Install prefix ...................... : /usr/local/dovecot.rc27 ..
Hmm. So these hangs are with rc27? Try what happens with this patch:
http://dovecot.org/patches/debug/imap-append-hang-debug.diff
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 20 Mar 2007, Timo Sirainen wrote:
http://dovecot.org/patches/debug/imap-append-hang-debug.diff
The maximum "stalled" time for all three commands is 23 secs now. That's OK, I think.
However, imaptest10 finished after approx. 2 houres. The last log entries of imaptest are plenty of: Error: COPY failed: Some of the requested messages no longer exist.
In this time the following info had been logged 88 times: Info: dvtest: Mailbox is in inconsistent state, please relogin.
There are no core dumps.
The last lines of the dovecot.log file are:
dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3620]: expunged: uid=115951, msgid=(null), box=box0 dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3620]: expunged: uid=115953, msgid=(null), box=box0 dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3620]: expunged: uid=115954, msgid=(null), box=box0 dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3620]: expunged: uid=115959, msgid=(null), box=box0 dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3620]: Disconnected: Mailbox is in inconsistent state, please relogin. dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3504]: expunged: uid=115924, msgid=(null), box=box0 dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3530]: expunged: uid=115986, msgid=(null), box=box0 dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3530]: expunged: uid=115998, msgid=xxxxxxxx.xxxxxxx@xx-xxxx-xxxxx-xxxx.xx, box=box0 dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3530]: expunged: uid=116000, msgid=xxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxx.xxxxxxx@xx-xxxx-xxxxx-xxxx.xx, box=box0
dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3530]: expunged: uid=116004, msgid=xxxxxxxx.xxxxxxx@xx-xxxx-xxxxx-xxxx.xx, box=box0 dovecot: Mar 20 17:55:08 Info: IMAP(dvtest) [3530]: expunged: uid=116008, msgid=xxxxxxxxxxxx.xxxxxxxxxxxxxx@xx-xxxx.xxx.xx-xxxx-xxxxx-xxxx.xx, box=box0 dovecot: Mar 20 17:55:08 Info: IMAP(dvtest) [3530]: expunged: uid=116018, msgid=xxxxxxxx.xxxxxxx@xx-xxxx-xxxxx-xxxx.xx, box=box0 dovecot: Mar 20 17:55:08 Info: IMAP(dvtest) [3530]: Disconnected dovecot: Mar 20 17:55:08 Info: IMAP(dvtest) [3504]: expunged: uid=115926, msgid=(null), box=box0 [[snip 40 identical lines]] dovecot: Mar 20 17:55:08 Info: IMAP(dvtest) [3461]: expunged: uid=115960, msgid=(null), box=box0 dovecot: Mar 20 17:55:08 Info: IMAP(dvtest) [3461]: expunged: uid=115961, msgid=(null), box=box0 dovecot: Mar 20 17:55:08 Info: IMAP(dvtest) [3504]: Disconnected: Too many invalid IMAP commands. dovecot: Mar 20 17:55:08 Info: IMAP(dvtest) [3461]: expunged: uid=115981, msgid=(null), box=box0 dovecot: Mar 20 17:55:08 Info: IMAP(dvtest) [3461]: Disconnected: Mailbox is in inconsistent state, please relogin.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRgDsXi9SORjhbDpvAQJKAwf+NqNFsXb0DWkFm7hMV03dlqONpI9cTbqS gNLCooXiyjLM8E74PjrSzKflYjq94cRwkud+vO0Nf9h8uqtJyIjIOXYT3gSoKCo2 ceRsdmoiQXmYwsywx+uWvTNKgy7wnIRd4zpkKE00R3KzAZ4UMl2Cul+oTzrzTENi rN+JX0giDLPQ73hS1pTDAaJ9fkXT3Or0obr8C8NWlquHiaq/02kpCYUnJvJUx8+h DHmZ60aj2D4sbiyxK7dUOlepuLSsmPnAA/Z/DHnGO0TRvaHVbWTN2YmCAFRJrawF DHk8N7IwWDhQYPPQl8LEohmTIyZwKSHZixGWACsqTu5Jsh7ovVYEAQ== =+8ZV -----END PGP SIGNATURE-----
On Wed, 2007-03-21 at 09:26 +0100, Steffen Kaiser wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 20 Mar 2007, Timo Sirainen wrote:
http://dovecot.org/patches/debug/imap-append-hang-debug.diff
The maximum "stalled" time for all three commands is 23 secs now. That's OK, I think.
Hmm. Wonder if it means that there's a bug in Dovecot. Or that there's a bug in imaptest.. Do you get the hangs (without the patch) without making imaptest do copying?
However, imaptest10 finished after approx. 2 houres. The last log entries of imaptest are plenty of: Error: COPY failed: Some of the requested messages no longer exist.
Well, that's pretty normal. COPY command fails if any of the requested messages had been expunged already by another session.
Info: dvtest: Mailbox is in inconsistent state, please relogin.
This indicates an error.
dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3620]: expunged: uid=115951, msgid=(null), box=box0 dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3620]: expunged: uid=115953, msgid=(null), box=box0 dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3620]: expunged: uid=115954, msgid=(null), box=box0 dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3620]: expunged: uid=115959, msgid=(null), box=box0 dovecot: Mar 20 17:55:07 Info: IMAP(dvtest) [3620]: Disconnected: Mailbox is in inconsistent state, please relogin. ..
But none of these log lines were errors. Try "grep Error|tail -20", what does it show?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 21 Mar 2007, Timo Sirainen wrote:
bug in imaptest.. Do you get the hangs (without the patch) without making imaptest do copying?
Not that I noticed them. Because imaptest is working on the same mailbox simultaneously, it hard to simulate. In normal work I found no stalls at all.
Info: dvtest: Mailbox is in inconsistent state, please relogin.
This indicates an error.
But none of these log lines were errors. Try "grep Error|tail -20", what does it show?
Some "internal errors". nothing else (also without the tail).
In the server log I have this:
In total, during the 2 houres the following errors got logged: 347x Corrupted transaction log file /var/cache/dovecot/31045/index/.box1/dovecot.index.log: Append with UID 83684, but next_uid = 83685 50x Corrupted transaction log file /var/cache/dovecot/31045/index/.box1/dovecot.index.log: invalid new transaction log sequence (291 >= 291) 2x orrupted transaction log file /var/cache/dovecot/31045/index/.box1/dovecot.index.log: start_offset (500)
file size (24) 216x View synchronization from transaction log for index /var/cache/dovecot/31045/index/.box0/dovecot.index failed: Append with UID 116034, but next_uid = 116035 1x broken sync positions in index file /var/cache/dovecot/31045/index/.box1/dovecot.index 1x Fixed index file /var/cache/dovecot/31045/index/.box1/dovecot.index: log file sync pos 185,388 -> 186, 24 21x Unexpected transaction log desync with index /var/cache/dovecot/31045/index/.box1/dovecot.index
I used: "grep Error: dovecot.log" to get the errors and tested with "sort
- -u", that there is no duplicate line.
==============
dovecot: Mar 21 15:37:08 Error: IMAP(dvtest) [10591]: Fixed index file /var/cache/dovecot/31045/index/.Trash/dovecot.index: first_recent_u id_lowwater 121713 -> 121271 dovecot: Mar 21 15:37:08 Error: IMAP(dvtest) [10591]: Corrupted index file /var/cache/dovecot/31045/index/.Trash/dovecot.index: Record fie ld keywords points outside record size (12 < 12+2) dovecot: Mar 21 15:37:08 Error: IMAP(dvtest) [10591]: Corrupted index file /var/cache/dovecot/31045/index/.Trash/dovecot.index: Record fie ld keywords points outside record size (12 < 12+2) dovecot: Mar 21 15:37:11 Error: IMAP(dvtest) [10558]: Corrupted index file /var/cache/dovecot/31045/index/.Trash/dovecot.index: Record fie ld keywords points outside record size (12 < 12+2) dovecot: Mar 21 15:37:11 Error: IMAP(dvtest) [10558]: Corrupted index file /var/cache/dovecot/31045/index/.Trash/dovecot.index: Record fie ld keywords points outside record size (12 < 12+2) dovecot: Mar 21 15:37:12 Error: IMAP(dvtest) [10558]: Corrupted index cache file /var/cache/dovecot/31045/index/.Trash/dovecot.index.cache : indexid changed
dovecot: Mar 20 17:53:12 Error: IMAP(dvtest) [1704]: View synchronization from transaction log for index /var/cache/dovecot/31045/index/.b ox0/dovecot.index failed: Append with UID 115022, but next_uid = 115024 dovecot: Mar 20 17:53:43 Error: IMAP(dvtest) [2332]: View synchronization from transaction log for index /var/cache/dovecot/31045/index/.b ox0/dovecot.index failed: Append with UID 115310, but next_uid = 115311 dovecot: Mar 20 17:53:45 Error: IMAP(dvtest) [2379]: Corrupted transaction log file /var/cache/dovecot/31045/index/.box1/dovecot.index.log : Append with UID 83595, but next_uid = 83596 dovecot: Mar 20 17:53:45 Error: IMAP(dvtest) [2330]: Corrupted transaction log file /var/cache/dovecot/31045/index/.box1/dovecot.index.log : Append with UID 83595, but next_uid = 83596 dovecot: Mar 20 17:54:00 Error: IMAP(dvtest) [2508]: View synchronization from transaction log for index /var/cache/dovecot/31045/index/.b ox0/dovecot.index failed: Append with UID 115458, but next_uid = 115459 dovecot: Mar 20 17:54:04 Error: IMAP(dvtest) [2736]: Corrupted transaction log file /var/cache/dovecot/31045/index/.box1/dovecot.index.log : Append with UID 83684, but next_uid = 83685 dovecot: Mar 20 17:54:04 Error: IMAP(dvtest) [2703]: Corrupted transaction log file /var/cache/dovecot/31045/index/.box1/dovecot.index.log : Append with UID 83684, but next_uid = 83685 dovecot: Mar 20 17:54:05 Error: IMAP(dvtest) [2478]: Corrupted transaction log file /var/cache/dovecot/31045/index/.box1/dovecot.index.log : Append with UID 83684, but next_uid = 83685 dovecot: Mar 20 17:54:06 Error: IMAP(dvtest) [2595]: Corrupted transaction log file /var/cache/dovecot/31045/index/.box1/dovecot.index.log : Append with UID 83684, but next_uid = 83685 dovecot: Mar 20 17:55:05 Error: IMAP(dvtest) [3724]: View synchronization from transaction log for index /var/cache/dovecot/31045/index/.b ox0/dovecot.index failed: Append with UID 116034, but next_uid = 116035
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRgI1ti9SORjhbDpvAQKo4gf+M1RjxtUSmpuZnf6X9m9Dp88K8lR46Dhz IwclcC1H31YazpW5yK5oeT448SRzeSdw5NZZDcFVXLnCJRMAMkcT1bAuy7+1NvpX mvqxgR5dj/vRorA01Hd1JyctwegGCR8phyhcSIJdf6w92r8NGqp+wJ7MiGH6vDBH ch/gjb8YqwU6CHX8gAsy+KkXq7KB9NvnWnySRw6DMWmovqo80yt4/s9XDcFuj+sZ mG5uFvkU4S2qu1RbGN5Ww8N/ogohGnwzzM7eB/Qd1i3wpYaF4D8UoAkXcWR9HJu4 nhcnfuHtZUFnWmteNF9ItNE8t15x4RMNuVyDvjRf8kz3ngBxmp343w== =DTTq -----END PGP SIGNATURE-----
On Thu, 2007-03-22 at 08:52 +0100, Steffen Kaiser wrote:
In total, during the 2 houres the following errors got logged: 347x Corrupted transaction log file
This are probably the real problem causing everything else.
/var/cache/dovecot/31045/index/.box1/dovecot.index.log: Append with UID 83684, but next_uid = 83685 .. 216x View synchronization from transaction log for index /var/cache/dovecot/31045/index/.box0/dovecot.index failed: Append with UID 116034, but next_uid = 116035
Are they all like this? box1 is your destination box, which had the real errors, and box0 had only view sync errors? Were you doing anything else to the box1? Like did any IMAP client have the mailbox open, or anything? Or was it just getting thousands of messages put into it?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 23 Mar 2007, Timo Sirainen wrote:
On Thu, 2007-03-22 at 08:52 +0100, Steffen Kaiser wrote:
In total, during the 2 houres the following errors got logged: 347x Corrupted transaction log file
This are probably the real problem causing everything else.
/var/cache/dovecot/31045/index/.box1/dovecot.index.log: Append with UID 83684, but next_uid = 83685 .. 216x View synchronization from transaction log for index /var/cache/dovecot/31045/index/.box0/dovecot.index failed: Append with UID 116034, but next_uid = 116035
Are they all like this? box1 is your destination box, which had the real errors, and box0 had only view sync errors? Were you doing anything else to the box1? Like did any IMAP client have the mailbox open, or anything? Or was it just getting thousands of messages put into it?
I started the imaptest tool with copybox=box1, there were no MUA active in this time. (I use pine for my daily work and Thunderbird was closed, so I'm pretty sure, that there happened nothing "in the background".)
I didn't thought about separating the messages by mailbox, sorry.
You are right, there is no " View synchronization" in box1, but all in box0. In box0 there are only these "View" errors, nothing else.
The "Corrupted transaction log file" errors are in box1 only, as well as, the other ones.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRgPPOS9SORjhbDpvAQK04Af/QkpRmq0hsOvp2xDhoiFd7pO7dH+LIHy0 sru6DoDFSvfCutjR2aETgAViPQixuCKaHMaKE1T497apDIjefC5eojdg+KGHq1+2 Ji/0QKeHrJMEfCLq8B4R2ZLXLyn33UAkVy2QlrHyX02pwCFgqUueZR+BCj7jw0wD INhL2oCGNvCgzxnXVH4rGPYbgwnfKCsBAshHsj+qkeiuOzlVV/glfKK1Gh8eRdx3 Bq5/NYxPBbrUME6HcUtT+y70AAhzv1MTb3/LcdxDtD1falebguoFVuLpXg3zimdJ cM1jxqNgn7Eyo+nrH4cuwm+7uI4FeX9flwYvsOPqalgld6EldkG4Mg== =kJCl -----END PGP SIGNATURE-----
On 20.3.2007, at 13.26, Steffen Kaiser wrote:
in order to stress my Dovecot test installation a bit, I compiled
imaptest10.c.
Oh, and was imaptest10 also compiled against rc27 sources? Because
rc27 fixed this:
- If mail was sent to client with sendfile() call, we could
have
hanged the connection. This could happen only if mails
were saved
with CR+LF linefeeds.
I noticed that only because imaptest kept hanging when using sendfile ()..
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 20 Mar 2007, Timo Sirainen wrote:
Oh, and was imaptest10 also compiled against rc27 sources? Because rc27 fixed this:
Yes. I compiled imaptest10 within rc27's source dir.
I'll try the patch.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRf/uAi9SORjhbDpvAQKViQgAzBsUO5wcAFiBL4FmPP27Cx7sxCmPuIQG u8lLhY/oUVgz5ge27yJjGril4b2MGBbppPxWXbNtDVVQPtEnsKGGpUPqCarmZwK6 0mCMPOizmoATqhdbZ1kNsrgbu/eY30Fpz2ramluTGuDlOkEbpxDRHMdMvUAEwKiP UGa6BzdnTC/25yKBgZwbw9gAut5bfOr6OWtFBIp5aKpPTdYHl0I5oEBaZ+osnkfw NNYu32WPgAKUm4Qb0OxUM3YtAJvCrsl/UVGMBAO/H4bz8a0/6OT6RuAERzUo9v63 Xsqbd0MJEvPDzByVACAwDxfCQDybeqMtLJOmp49tuMJYog3YvHAApw== =XEtG -----END PGP SIGNATURE-----
On Tue, 2007-03-20 at 12:26 +0100, Steffen Kaiser wrote:
- stalled for 1786 secs in APPEND
I started getting these also after enabling quota and using 100 clients. I guess the Maildir++ counting just slows it down so much that processes start to hang. With 10 clients there were no hangs.
maildir_copy_preserve_filename: yes
This setting also doesn't seem to work that great with stress testing, causing the "Append with UID x but next_uid is y" errors. I'll see if I can get it fixed.
I also found some bugs related to saving mails with maildir when quota plugin is enabled.
participants (2)
-
Steffen Kaiser
-
Timo Sirainen