Overview space needs?

George Lindholm George.Lindholm at ubc.ca
Tue Aug 24 21:39:38 UTC 1999


Katsuhiro Kondou wrote:
> 
> In article <37C17E10.A434ED28 at ubc.ca>,
>         George Lindholm <George.Lindholm at ubc.ca> wrote;
> 
> } I was wondering what article/overview ratio people are seeing
> } with 2.3 (both traditional and buffindex)?
> 
> As I wrote before, it's about 800MB for 1.5M arts.  This is
> buffindexed, but I don't think it's so different for
> tradindexed.
> 
> } At the same time, are there any know problems with
> } the overview database? I keep finding overview (traditional)
> } files that are not updated/cleaned up.
> 
> I've seen 'tradindexed: truncated overview results for ...',
> but still I don't know how this comes.

The problem turned out to be caused a bad group entry in group.index
that
caused search->cur to be set to a negative value. The attached patch
allows
expireover to keep on going. I would assume that buffindex would have
the 
same problem (??) but I don't know what the corresponding fix should be.

The question now is how did the entry go bad and what can I do to fix it
up? 

   George

P.S. Did my patches to expire.c and perm.c/ident.c make it out? They
haven't shown
up in the distribution.
-- 
George.Lindholm at ubc.ca       ITServices, UBC
Programmer/Analyst

phone:    604.822.4375       fax:      604.822.5116

-- Attached file included as plaintext by Listar --
-- File: ov3.pa

*** ov3.c	1999/08/24 21:28:29	1.1
--- ov3.c	1999/08/24 21:28:47
***************
*** 1,4 ****
! /*  $Id: ov3.c,v 1.1 1999/08/24 21:28:29 news Exp $
  **
  **  indexed overview method
  */
--- 1,4 ----
! /*  $Id: ov3.c,v 1.9 1999/08/02 15:37:13 kondou Exp $
  **
  **  indexed overview method
  */
***************
*** 866,871 ****
--- 866,877 ----
  	return NULL;
      }
      
+     if (high < base || low < base) { /* Check for corrupted group entry */
+       syslog(L_ERROR, "tradindexed: Group %s has a corrupted group entry", 
+ 	     group);
+       return NULL;
+     }
+ 
      search = NEW(OV3SEARCH, 1);
      search->limit = high - base;
      search->cur = low - base;




More information about the inn-workers mailing list