From noyd@u.washington.edu Sat Jun  3 17:34:50 EDT 1995
Article: 11316 of news.software.nntp
Path: news.pop.psu.edu!hudson.lm.com!godot.cc.duq.edu!newsfeed.pitt.edu!gatech!swrinde!cs.utexas.edu!uwm.edu!reuter.cse.ogi.edu!netnews3.nwnet.net!netnews.nwnet.net!news.u.washington.edu!noyd
From: noyd@u.washington.edu (Steven Jones)
Newsgroups: news.software.nntp
Subject: DISK FULL: INN expiration of long message-id failing.
Date: 2 Jun 1995 21:54:36 GMT
Organization: University of Washington, Seattle
Lines: 35
Distribution: inet
Message-ID: <3qo1as$r2@nntp5.u.washington.edu>
NNTP-Posting-Host: nntp1.u.washington.edu

Recent postings to this newsgroup news.software.nntp describe a problem
with expiration processing failing for INN. The expiration processing
fails when attempting to store a long message-id in the new DBZ database.
If left uncorrected, a disk full condition is likely to occur.

A patch for CNEWS expire has been posted, as well as descriptions
of how the long message-ids may be removed from the history file
for INN.

This is an unofficial patch to the INN 1.4 expire.c to discard the long
message-ids.   Considering the severity of the problem on effected sites,
there may be official patches forthcoming from the authors of the
poplular INN and CNEWS programs. (Please!)

*** expire.c.dist       Thu Mar 18 13:03:50 1993
--- expire.c    Fri Jun  2 14:38:48 1995
***************
*** 635,640 ****
--- 635,644 ----
        (void)fprintf(stderr, IGNORING, line);
        return TRUE;
      }
+     if ( strlen(fields[0]) >= (DBZMAXKEY-1) ) { 
+       (void)fprintf(stderr, IGNORING, line);
+       return TRUE;
+     }
  
      /* Split up the time field, robustly. */
      if ((p = strchr(fields[1], HIS_SUBFIELDSEP)) == NULL) {

-- 
--
  Steven Jones
  Computing & Communications JE-30,  University of Washington
  E-mail:  noyd@cac.washington.edu    Phone:  (206) 543-5852


