More on 'group cache is full' problem ...
The Hermit Hacker
scrappy at hub.org
Thu Sep 9 02:16:13 UTC 1999
Not sure what kind of tracing you'd like to see, but the error is
generated at like 609 in ov3.c...I'm here all night, and am willing to try
just about anything to correct this:
STATIC void OV3cleancache(void) {
int i;
CACHEENTRY *ce, *prev;
CACHEENTRY *saved = NULL;
CACHEENTRY *sprev = NULL;
int savedbucket;
while (CACHEentries >= CACHEmaxentries) {
for (i = 0; i < CACHETABLESIZE; i++) {
for (prev = NULL, ce = CACHEdata[i]; ce != NULL; prev = ce, ce = ce->next) {
if (ce->refcount > 0)
continue;
if ((saved == NULL) || (saved->lastused > ce->lastused)) {
saved = ce;
sprev = prev;
savedbucket = i;
}
}
}
if (saved != NULL) {
OV3closegroupfiles(saved->gh);
if (sprev) {
sprev->next = saved->next;
} else {
CACHEdata[savedbucket] = saved->next;
}
DISPOSE(saved);
CACHEentries--;
return;
}
syslog(L_NOTICE, "tradindexed: group cache is full, waiting 10 seconds");
sleep(10);
}
}
On Thu, 9 Sep 1999, Katsuhiro Kondou wrote:
> In article <Pine.BSF.4.10.9909082249170.412-100000 at thelab.hub.org>,
> The Hermit Hacker <scrappy at hub.org> wrote;
>
> } Tried with --enable-tagged-hash to build, appears to get further, but
> } still gives off the 'group cache is full' message and hangs :(
> }
> } I'm trying to run as:
> }
> } makehistory -I -O -T /var/spool/news/tmp
> }
> } am I doing *that* wrong?
>
> Still investigating what's wrong, but it might be faster
> to insert trace code into tradindexed like I did into
> buffindexed.
> --
> Katsuhiro Kondou
>
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy at hub.org secondary: scrappy@{freebsd|postgresql}.org
More information about the inn-workers
mailing list