nnrpd issue
Russ Allbery
rra at stanford.edu
Sat Dec 7 06:52:02 UTC 2002
Pavel V Knyazev <pasha at surnet.ru> writes:
> 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>
Well, that's just the main loop of NEXT.
If the problem is with the storage API calls, Katsuhiro's patch should
have helped. So I'm not sure what's going on.
> I tried to increase delta and it really helped me.
Well, yeah, that just skips over more articles. It doesn't return the
correct results; it may give you an article several past the next one.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list