🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by James F. Hranicky Mon, 01 Dec 1997 00:00
inn-1.7.insync crashing in dbz code
#23810
Author: James F. Hranicky
Date: Mon, 01 Dec 1997 00:00
60 lines
3339 bytes
I'm running inn-1.7.insync on a 2 processor Sparc20 running Solaris
2.5, and recently it started crashing every 10 minutes or so,
apparently during a history lookup. 

Anyone else seeing this problem?

----------------------------------------------------------------------
| Jim Hranicky, Senior SysAdmin                   UF/CISE Department |
| E314E CSE Building                            Phone (904) 392-1499 |
| jfh@cise.ufl.edu                       http://www.cis.ufl.edu/~jfh |
----------------------------------------------------------------------

-------

(dbx) where
=>[1] search(sp = 0xf6188), line 1478 in "dbz.c"
  [2] fetch(key = RECORD), line 990 in "dbz.c"
  [3] dbzfetch(key = RECORD), line 941 in "dbz.c"
  [4] HIShavearticle(MessageID = 0x75227e "<JMUVJNAL5og0EwJ2@naafit03.demon.co.uk>"), line 251 in "his.c"
  [5] NCcheck(cp = 0xfbf68), line 1601 in "nc.c"
  [6] NCproc(cp = 0xfbf68), line 1071 in "nc.c"
  [7] NCreader(cp = 0xfbf68), line 1395 in "nc.c"
  [8] CHANreadloop(), line 892 in "chan.c"
  [9] main(ac = 0, av = 0xeffffe84), line 952 in "innd.c"

 1460           for (;;) {
 1461                   /* determine location to be examined */
 1462                   place = sp->place;
 1463                   if (sp->seen) {
 1464                           /* go to next location */
 1465                           if (--sp->run <= 0) {
 1466                                   sp->tabno++;
 1467                                   sp->run = MAXRUN;
 1468                           }
 1469                           place = (place+1)%conf.tsize + sp->tabno*conf.tsize;
 1470                           sp->place = place;
 1471                   } else
 1472                           sp->seen = 1;   /* now looking at current location */
 1473                   DEBUG(("search @ %ld\n", place));
 1474   
 1475                   /* get the tagged value */
 1476                   if (corepag != NULL && place < conf.tsize) {
 1477                           DEBUG(("search: in core\n"));
 1478 =>                        value = MAPIN(corepag[place]);
 1479                   } else {
 1480                           /* seek, if necessary */
 1481                           dest = place * SOF;
 1482                           if (pagpos != dest) {
 1483                                   if (fseek(pagf, dest, SEEK_SET) != 0) {
 1484                                           DEBUG(("search: seek failed\n"));
 1485                                           pagpos = -1;
 1486                                           sp->aborted = 1;
 1487                                           return(NOTFOUND);
 1488                                   }
 1489                                   pagpos = dest;
 1490                           }


Re: inn-1.7.insync crashing in dbz code
#23936
Author: James F. Hranicky
Date: Wed, 03 Dec 1997 00:00
18 lines
1345 bytes
>I'm running inn-1.7.insync on a 2 processor Sparc20 running Solaris
>2.5, and recently it started crashing every 10 minutes or so,
>apparently during a history lookup. 

> 1478 =>                        value = MAPIN(corepag[place]);

I took out the -DMMAP directive for dbz in the config.data file, 
recompiled innd, and it seems stable now (up for hours, instead
of crashing every 10 minutes).

----------------------------------------------------------------------
| Jim Hranicky, Senior SysAdmin                   UF/CISE Department |
| E314E CSE Building                            Phone (904) 392-1499 |
| jfh@cise.ufl.edu                       http://www.cis.ufl.edu/~jfh |
----------------------------------------------------------------------

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads