<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 27 February 2019 03:27 Ben Burke via dovecot <
<a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Hi,
</div>
<div>
<br>
</div>
<div>
I'm running dovecot 2.2.x and I'm having an issue where I see many
</div>
<div>
dovecot processes use all the available IO on a server. According to
</div>
<div>
iotop the worst offenders seem to be in this state (NOTE: I swapped in
</div>
<div>
phony username & IP info):
</div>
<div>
<br>
</div>
<div>
dovecot/imap [someusername 123.456.789.012 UID SEARCH]
</div>
<div>
<br>
</div>
<div>
The server in question is running with Maildirs on top of an XFS
</div>
<div>
filesystem. Is there anything I can do to optimize "UID SEARCH" or find
</div>
<div>
out why it's being a problem? I've read
</div>
<div>
<a href="https://wiki2.dovecot.org/PerformanceTuning" rel="noopener" target="_blank">https://wiki2.dovecot.org/PerformanceTuning</a> and the linked pages.
</div>
<div>
<br>
</div>
<div>
By "being a problem" I mean iostat -xmt 1 /dev/diskdevice shows 100%
</div>
<div>
utilization for long periods and in some cases io service times are
</div>
<div>
taking many seconds... which causes thunderbird to timeout when doing
</div>
<div>
things like appending messages to user "Sent" mailboxes.
</div>
<div>
<br>
</div>
<div>
Any ideas?
</div>
<div>
<br>
</div>
<div>
Thanks,
</div>
<div>
Ben Burke
</div>
</blockquote>
<div>
<br>
</div>
<div>
Are you using FTS? If not, you should. See https://wiki.dovecot.org/Plugins/FTS
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>