nnrpd issue
Pavel V. Knyazev
pasha at surnet.ru
Thu Dec 5 15:13:47 UTC 2002
Hi.
Sorry for not anwering to this sooner.
Well, i hope i've found that place where it slows down.
Must be, it's right here:
8:02pm image:nnrpd> grep -A7 "ARTopen(ARTnumber)" article.c
while (!ARTopen(ARTnumber)) {
ARTnumber += delta;
if (ARTnumber < ARTlow || ARTnumber > ARThigh) {
Reply("%d No %s article to retrieve.\r\n", errcode, message);
ARTnumber = save;
return;
}
}
8:02pm image:nnrpd>
I tried to increase delta and it really helped me.
8:04pm image:nnrpd> diff -c article.c article.c.patched
*** article.c Thu Dec 5 20:01:10 2002
--- article.c.patched Thu Dec 5 20:01:01 2002
***************
*** 774,780 ****
next = (av[0][0] == 'n' || av[0][0] == 'N');
if (next) {
! delta = 1;
errcode = NNTP_NONEXT_VAL;
message = "next";
}
--- 774,780 ----
next = (av[0][0] == 'n' || av[0][0] == 'N');
if (next) {
! delta = 5;
errcode = NNTP_NONEXT_VAL;
message = "next";
}
8:04pm image:nnrpd>
I'm not sure i've done the right things, but i saw good results.
Please, comment on this.
----- Original Message -----
From: "Katsuhiro Kondou" <Katsuhiro_Kondou at isc.org>
To: <inn-workers at isc.org>
Sent: Tuesday, November 26, 2002 5:27 PM
Subject: Re: nnrpd issue
>
> In article <001701c29493$5e5dbca0$4201800a at surnet.ru>,
> "Pavel V. Knyazev" <pasha at surnet.ru> wrote;
>
> } I have applied this patch to inn-STABLE-20021002.
> } Unfortunately, there's no visible results.
> } Long delay still exists.
> :
> } Tell me if and how may i help you to find that place where does it slow
> } down.
>
> Can you tell me hi/lo of the group and the result of
> 'listgroup group'? And also can you investigate where
> it takes too much time?
> --
> Katsuhiro Kondou
>
--
Pavel
More information about the inn-workers
mailing list