[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] Abnormal delay on read
On Tue, Oct 07, 2014 at 12:18:05PM +0200, Viallard Anthony wrote:
> Hi,
>
> I've some times again to try to fix this issue...
It's been awhile, I don't have the whole context.
>
> On 09/04/2014 11:24 AM, Azat Khuzhin wrote:
> >>Do you want a strace output or libevent debug messages ? The two ? I wonder
> >>this because I think the quantity of all these messages will be a quite bit
> >>huge.
> >
> >Not strace, but:
> >$ gdb -p
> >(gdb) thread apply all bt full
> >
>
> Errrr, but... I'm confused. You want to see what kind of backtrace ? I can
> put some breakpoints and take backtrace, but for you, where is the best
> place to do that to be the most relevant ?
AFAIR I interested whether it hit read callback just after the package
recieved or not. IOW I want to know does this delay *before* execution
of read callback or *after*.
Thanks,
Azat.
>
> I could put a breakpoint on my read callback but will be interesting ? We
> won't see the shift in the messages ...
>
> Is there a place where the "packet" can be delayed by the kernel ? Could I
> have some stats somewhere on this point ?
>
> Regards,
> Anthony.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.