[Dovecot] 2.0, hourly performance stats

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Mon Nov 8 09:34:08 EET 2010


I'm getting constantly high numbers of page reclaims & involuntary
context switches for dovecot/auth.

page reclaims = minor faults = cpu switching back to system-mode, But
why is the auth process doing that so excessively? Same for the large
number of involuntary context switches...

Attached is my "dovecot -n" output.

Date: Sun, 07 Nov 2010 20:40:34 +0100

type	        real	user	sys	reclaim	faults	swaps	bin	bout	signals	volcs	involcs
auth	        205.93	1.32	2.76	25280	0	0	0	0	0	261	1425
ssl-params	288.71	0.40	0.48	468	0	0	8	0	0	8	1
pop3	        0.59	0.80	0.20	651	0	0	48	16	0	12	13
managesieve	0.51	0.00	0.28	576	0	0	416	0	0	13	7
imap	        4677.82	0.19	0.89	1480	0	0	488	16	0	23550	136
pop3-login	181.77	0.32	0.28	780	0	0	8	0	0	46	9

Date: Sun, 07 Nov 2010 21:00:02 +0100

type	        real	user	sys	reclaim	faults	swaps	bin	bout	signals	volcs	involcs
auth	        303.62	1.10	2.20	26208	0	0	0	0	0	235	1362
ssl-params	301.12	0.00	0.12	467	0	0	8	0	0	7	1
pop3	        0.26	0.40	0.36	618	0	0	0	8	0	5	18
managesieve	0.53	0.00	0.28	576	0	0	352	0	0	13	7
imap	        2856.91	0.12	0.46	655	0	0	0	0	0	13465	105
pop3-login	228.84	0.76	0.24	779	0	0	0	0	0	90	14

Date: Sun, 07 Nov 2010 22:00:02 +0100

type	        real	user	sys	reclaim	faults	swaps	bin	bout	signals	volcs	involcs
auth	        243.12	0.99	4.56	23762	0	0	0	0	0	222	1419
ssl-params	301.25	0.40	0.80	471	0	0	8	0	0	6	4
pop3	        0.43	0.40	0.80	623	0	0	0	8	0	6	4
managesieve	0.43	0.00	0.20	577	0	0	536	0	0	14	7
imap	        3.63	0.16	0.36	669	1	0	856	0	0	63	93
pop3-login	181.81	0.60	0.40	782	0	0	0	0	0	52	53

Date: Sun, 07 Nov 2010 23:00:02 +0100

type	        real	user	sys	reclaim	faults	swaps	bin	bout	signals	volcs	involcs
auth	        232.83	1.72	2.26	25613	0	0	0	0	0	254	1175
ssl-params	149.63	0.00	0.16	469	0	0	40	0	0	10	1
pop3	        25.68	0.28	0.12	741	0	0	9696	16	0	109	14
managesieve	0.25	0.40	0.28	576	0	0	8	0	0	11	2
imap	        0.32	0.00	0.16	625	0	0	0	0	0	11	11
pop3-login	69.88	0.48	0.24	779	0	0	0	0	0	27	6

Date: Mon, 08 Nov 2010 00:00:02 +0100

type	        real	user	sys	reclaim	faults	swaps	bin	bout	signals	volcs	involcs
managesieve	0.29	0.00	0.36	576	0	0	8	0	0	7	16
imap	        0.58	0.80	0.36	637	0	0	0	0	0	10	9

Date: Mon, 08 Nov 2010 01:00:01 +0100

type	        real	user	sys	reclaim	faults	swaps	bin	bout	signals	volcs	involcs
auth	        421.98	1.32	1.66	24216	0	0	0	0	0	267	723
ssl-params	538.47	0.00	0.16	470	0	0	8	0	0	7	1
pop3	        0.19	0.80	0.96	671	1	0	760	8	0	22	221
managesieve	0.63	0.40	0.13	578	0	0	192	0	0	9	11
managesieve-lo	18616.9	86.77	32.49	319768	1	0	168	0	0	63448	48838
imap	        42.28	0.00	0.52	676	0	0	0	0	0	182	63
pop3-login	361.68	0.76	0.40	780	0	0	0	0	0	52	2

Date: Mon, 08 Nov 2010 02:00:02 +0100

type	        real	user	sys	reclaim	faults	swaps	bin	bout	signals	volcs	involcs
auth	        592.76	0.97	1.40	23640	8	0	8272	0	0	307	321
ssl-params	676.93	0.00	0.24	468	0	0	136	0	0	18	10
pop3	        6.10	0.24	0.44	672	1	0	1688	8	0	35	40
managesieve	0.71	0.12	0.14	572	5	0	1632	0	0	17	38
managesieve-lo	1023.50	1.45	0.46	6066	1	0	184	0	0	1104	317
imap	        0.87	0.80	0.44	674	1	0	640	0	0	18	25
pop3-login	361.79	0.72	0.32	780	0	0	112	0	0	56	11

Date: Mon, 08 Nov 2010 03:00:02 +0100

type	        real	user	sys	reclaim	faults	swaps	bin	bout	signals	volcs	involcs
auth	        600.71	0.96	1.18	22902	0	0	56	0	0	235	212
ssl-params	242.66	0.00	0.16	471	0	0	136	0	0	15	6
pop3	        0.20	0.16	0.28	675	1	0	1312	8	0	32	15
managesieve	0.46	0.00	0.36	580	1	0	480	0	0	11	12
managesieve-lo	286.21	0.60	0.44	1048	1	0	184	0	0	50	88
imap	        0.34	0.80	0.28	675	0	0	0	0	0	9	20
pop3-login	361.43	0.84	0.32	780	0	0	112	0	0	55	13

Date: Mon, 08 Nov 2010 04:00:01 +0100

type	        real	user	sys	reclaim	faults	swaps	bin	bout	signals	volcs	involcs
auth	        587.34	0.90	1.52	22075	14	0	14288	0	0	443	375
ssl-params	275.27	0.00	0.12	469	0	0	136	0	0	14	15
pop3	        23.90	0.37	0.80	2906	5	0	36856	24	0	3885	136
managesieve	0.45	0.12	0.16	577	1	0	472	0	0	10	20
managesieve-lo	357.38	0.14	0.52	1271	1	0	184	0	0	100	28
imap	        0.42	0.00	0.40	671	0	0	0	0	0	9	56
pop3-login	363.16	0.12	0.64	782	0	0	112	0	0	263	23

Date: Mon, 08 Nov 2010 05:00:01 +0100

type	        real	user	sys	reclaim	faults	swaps	bin	bout	signals	volcs	involcs
auth	        1005.53	0.91	1.60	21583	0	0	0	0	0	238	92
ssl-params	172.31	0.40	0.80	469	0	0	0	0	0	6	3
pop3	        0.11	0.16	0.28	667	0	0	0	8	0	11	18
managesieve	0.42	0.80	0.20	577	0	0	520	0	0	13	4
managesieve-lo	84.84	0.80	0.52	1049	0	0	0	0	0	45	11
imap	        0.51	0.12	0.76	664	0	0	0	0	0	10	11
pop3-login	361.78	0.64	0.28	773	0	0	0	0	0	13	2

Date: Mon, 08 Nov 2010 06:00:01 +0100

type	        real	user	sys	reclaim	faults	swaps	bin	bout	signals	volcs	involcs
auth	        467.35	0.16	0.17	797	0	0	0	0	0	8	9
ssl-params	273.33	0.00	0.16	470	0	0	0	0	0	5	3
pop3	        0.14	0.12	0.36	667	0	0	0	8	0	14	1
managesieve	0.20	0.00	0.28	576	0	0	0	0	0	10	1
managesieve-lo	640.83	0.13	0.44	1272	0	0	0	0	0	87	17
imap	        0.33	0.40	0.32	665	0	0	0	0	0	10	47
pop3-login	362.87	0.60	0.24	774	0	0	0	0	0	13	3

Date: Mon, 08 Nov 2010 07:00:02 +0100

type	        real	user	sys	reclaim	faults	swaps	bin	bout	signals	volcs	involcs
auth	        468.95	0.96	1.34	21628	0	0	0	0	0	243	218
ssl-params	83.87	0.00	0.12	469	0	0	0	0	0	7	1
pop3	        0.11	0.16	0.24	667	0	0	0	8	0	11	6
managesieve	0.83	0.00	0.88	577	0	0	536	0	0	9	12
managesieve-lo	231.47	0.18	0.96	1381	0	0	0	0	0	106	17
imap	        0.71	0.12	0.80	665	0	0	0	0	0	10	47
pop3-login	292.13	0.56	0.28	779	0	0	0	0	0	46	7

Date: Mon, 08 Nov 2010 08:00:02 +0100

type	        real	user	sys	reclaim	faults	swaps	bin	bout	signals	volcs	involcs
auth	        452.63	0.83	1.44	20188	0	0	16	0	0	286	121
ssl-params	289.68	0.00	0.80	470	0	0	136	0	0	14	6
pop3	        1.37	0.80	0.17	681	1	0	1936	16	0	55	28
managesieve	0.24	0.40	0.20	580	0	0	256	0	0	14	5
managesieve-lo	1952.41	4.93	1.58	18647	0	0	8	0	0	3673	1339
imap	        0.17	0.40	0.19	665	0	0	0	0	0	6	48
pop3-login	96.75	0.60	0.28	777	0	0	112	0	0	41	14

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt at charite.de | http://www.charite.de
	    
-------------- next part --------------
# 1.2.15: /usr/local/etc/dovecot.conf
# OS: Linux 2.6.32-23-generic-pae i686 Debian squeeze/sid 
protocols: imap imaps pop3s managesieve
listen(default): *
listen(imap): *
listen(pop3): *
listen(managesieve): *:4190
ssl_ca_file: /etc/ssl/certs/ca-certificates.crt
ssl_cert_file: /etc/ssl/certs/cert-188235905-postamt.charite.de-g02.pem
ssl_key_file: /etc/ssl/private/postamt.key
disable_plaintext_auth: no
version_ignore: yes
login_dir: /usr/local/var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login -D
login_executable(imap): /usr/local/libexec/dovecot/imap-login -D
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login -D
login_executable(managesieve): /usr/local/libexec/dovecot/managesieve-login
login_process_per_connection: no
login_processes_count: 4
login_max_processes_count: 64
max_mail_processes: 2048
mail_max_userip_connections: 1024
verbose_proctitle: yes
mail_location: maildir:~/Maildir
fsync_disable(default): yes
fsync_disable(imap): yes
fsync_disable(pop3): yes
fsync_disable(managesieve): no
maildir_copy_preserve_filename: yes
maildir_very_dirty_syncs: yes
mail_drop_priv_before_exec: yes
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_executable(managesieve): /usr/local/libexec/dovecot/managesieve
mail_plugins(default): quota imap_quota trash mail_log fts fts_squat zlib autocreate
mail_plugins(imap): quota imap_quota trash mail_log fts fts_squat zlib autocreate
mail_plugins(pop3): quota mail_log
mail_plugins(managesieve): 
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
mail_plugin_dir(managesieve): /usr/local/lib/dovecot/managesieve
mail_log_max_lines_per_sec: 0
imap_client_workarounds(default): outlook-idle netscape-eoh
imap_client_workarounds(imap): outlook-idle netscape-eoh
imap_client_workarounds(pop3): 
imap_client_workarounds(managesieve): 
pop3_lock_session(default): no
pop3_lock_session(imap): no
pop3_lock_session(pop3): yes
pop3_lock_session(managesieve): no
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): %v-%u
pop3_uidl_format(managesieve): %08Xu%08Xv
pop3_client_workarounds(default): 
pop3_client_workarounds(imap): 
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_client_workarounds(managesieve): 
namespace:
  type: private
  separator: .
  prefix: INBOX.
  inbox: yes
  list: yes
  subscriptions: yes
lda:
  fsync_disable: yes
  postmaster_address: postmaster at charite.de
  mail_plugins: sieve quota trash mail_log fts fts_squat
  quota_full_tempfail: yes
  syslog_facility: local4
auth default:
  mechanisms: plain login
  cache_size: 2048
  master_user_separator: *
  debug: yes
  debug_passwords: yes
  passdb:
    driver: passwd-file
    args: /usr/local/etc/dovecot.masterusers
    pass: yes
    master: yes
  passdb:
    driver: shadow
  passdb:
    driver: pam
    args: cache_key=%u dovecot
  userdb:
    driver: passwd
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
plugin:
  fts: squat
  quota: maildir
  quota_rule: Trash:storage=2048M
  quota_warning: storage=99%% /usr/local/scripts/quota-warning 99
  quota_warning2: storage=95%% /usr/local/scripts/quota-warning 95
  quota_warning3: storage=90%% /usr/local/scripts/quota-warning 90
  quota_warning4: storage=85%% /usr/local/scripts/quota-warning 85
  trash: /usr/local/etc/dovecot-trash.conf
  autocreate: Trash
  autocreate2: spam
  autocreate3: Sent
  autocreate4: Drafts
  autosubscribe: Trash
  autosubscribe2: spam
  autosubscribe3: Sent
  autosubscribe4: Drafts
  sieve: ~/.dovecot.sieve
  sieve_dir: ~/sieve


More information about the dovecot mailing list