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]

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to