[Dovecot] 2.0.beta3 imapd running hot

Timo Sirainen tss at iki.fi
Sun Mar 21 16:17:46 EET 2010


On Sun, 2010-03-21 at 01:20 +0000, Bernhard Schmidt wrote:
> strace -p <pid> shows a repeating pattern of
> 
> epoll_wait(8, {{EPOLLOUT, {u32=36560672, u64=36560672}}}, 5, 4872) = 1
> gettimeofday({1269133967, 495298}, NULL) = 0
> gettimeofday({1269133967, 495333}, NULL) = 0
> gettimeofday({1269133967, 495370}, NULL) = 0

So nothing else? It looks like some function is being called over and
over again that "you can write more data to client", but the function
then does nothing.

> Attaching gdb shows the following backtrace:

It would be helpful to find out what the I/O function is that is being
called. For example:

b ioloop-epoll.c:208
p *io
cont
p *io
cont
..etc..

What is the *io output? If it's client_output() or something else as
generic.. Use "step" to get into the function then then:

p *client
p *client.output_lock
p client.command_queue[0]
p client.command_queue[1]
p client.command_queue[2]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20100321/12779b54/attachment.bin 


More information about the dovecot mailing list