Profiling nnrpd (was Re: Observation using trn-test76 and INN 2.4.0)
Jeffrey M. Vinocur
jeff at litech.org
Thu Nov 28 16:47:23 UTC 2002
On Thu, 28 Nov 2002, Jeffrey M. Vinocur wrote:
> But I'm running into some very odd behavior. The version built with -pg
> just stops midway through an overview record and starts accepting
> commands. (I think we've seen this before.)
The mind boggles. We get near the end of CMDxover() and it executes
SendIOv(".\r\n", 3);
PushIOv();
and if I query the vector after the first line above, the .CRLF has been
put in the queue successfully.
(gdb) p queued_iov
$5 = 772
(gdb) p iov[771]
$6 = {iov_base = 0x817285f, iov_len = 3}
(gdb) p (char*)iov[771].iov_base
$7 = 0x817285f ".\r\n"
Yet somehow the PushIOv() doesn't result in that being written. (The
return value was positive, by the way, although we don't check it.)
Any thoughts on this?
By the way, are we supposed to free the pointer OVsearch() returns in
&data?
--
Jeffrey M. Vinocur
jeff at litech.org
More information about the inn-workers
mailing list