-----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
- 46. stalled for 1784 secs in APPEND
- 46. stalled for 1785 secs in APPEND
- 46. stalled for 1786 secs in APPEND
- 46. stalled for 1787 secs in APPEND
- 46. stalled for 1788 secs in APPEND
- 46. stalled for 1789 secs in APPEND
- 46. 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-----