Doveadm fetch slow and 100%CPU with a specific message-id

Alessio Cecchi alessio at skye.it
Mon Oct 25 19:40:50 EEST 2021


Hi,

I'm using doveadm fetch in order to find the mailbox where a messagge is 
stored:

doveadm fetch -u alessio at domain.com "mailbox" HEADER Message-ID 
'1234 at domain.com'

If the messagge-id is ... long more than? ... I don't know, the lookup 
is very very slow, here an example:

with message-id 9c102380c557e7e146a33cb4b49ab802 at cbweb.cecchi.net 
respons time: 3 secs

with message-id 
kZ1ZoAa8QnsfZ64hTe9P3K0OOjL24xTq7vUMB3Qw3E at www.myxmail.com response 
time: 80 secs and java/solr use the 100% CPU

Both messages are in the same folder (Trash)

If I add -D to doveadm it stuck some seconds every time connect to Solr:

Oct 25 18:30:08 doveadm(alessio at domain.com): Debug: http-client: queue 
http://127.0.0.1:8983: Connection to peer 127.0.0.1:8983 claimed request 
[Req1: GET 
http://127.0.0.1:8983/solr/dovecot/select?wt=xml&fl=uid,score&rows=26&sort=uid+asc&q=%7b!lucene+q.op%3dAND%7dhdr:kZ1ZoAa8QnsfZ64hTe9P3K0OOjL24xTq7vUMB3Qw3E@www.myxmail.com&fq=%2Bbox:13c0e32ee6430860201f0000c5b62527+%2Buser:alessio@domain.com] 

Oct 25 18:30:08 doveadm(alessio at domain.com): Debug: http-client: conn 
127.0.0.1:8983 [1]: Claimed request [Req1: GET 
http://127.0.0.1:8983/solr/dovecot/select?wt=xml&fl=uid,score&rows=26&sort=uid+asc&q=%7b!lucene+q.op%3dAND%7dhdr:kZ1ZoAa8QnsfZ64hTe9P3K0OOjL24xTq7vUMB3Qw3E@www.myxmail.com&fq=%2Bbox:13c0e32ee6430860201f0000c5b62527+%2Buser:alessio@domain.com]
Oct 25 18:30:08 doveadm(alessio at domain.com): Debug: http-client: request 
[Req1: GET 
http://127.0.0.1/solr/dovecot/select?wt=xml&fl=uid,score&rows=26&sort=uid+asc&q=%7b!lucene+q.op%3dAND%7dhdr:kZ1ZoAa8QnsfZ64hTe9P3K0OOjL24xTq7vUMB3Qw3E@www.myxmail.com&fq=%2Bbox:13c0e32ee6430860201f0000c5b62527+%2Buser:alessio@domain...: 
Sent header
Oct 25 18:30:08 doveadm(alessio at domain.com): Debug: http-client: peer 
127.0.0.1:8983: No more requests to service for this peer (1 connections 
exist, 0 pending)

[...]

Oct 25 18:30:08 doveadm(alessio at domain.com): Debug: http-client: queue 
http://127.0.0.1:8983

My dovecot version is 2.3.16 and Solr 7.7.

Why?

Thanks

-- 
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20211025/850689c9/attachment.html>


More information about the dovecot mailing list