🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83467

Re: [INN] makehistory runs endlessly on small spool

#83467
From: Stephan Windmüller
Date: Fri, 01 Oct 2010 08:23
34 lines
2691 bytes
Thomas Hochstein <thh@inter.net> wrote:

>> % makehistory -b -f history.n -O -T/usr/local/news/tmp -l 600000
>> Unfortunately this runs endlessly, or in this case at least more than 12
>> hours. 
> Could you strace the process to see if it hangs? I had that once with
> a corrupted history (or overview) file ...

Of course. Here is the output:

chdir("/usr/local/news/db")             = 0
open("/usr/local/news/etc/overview.fmt", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=340, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b06eda49000
read(4, "##  $Revision: 1.3 $\n##  overvie"..., 4096) = 340
read(4, "", 4096)                       = 0
lseek(4, 0, SEEK_SET)                   = 0
read(4, "##  $Revision: 1.3 $\n##  overvie"..., 4096) = 340
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x2b06eda49000, 4096)            = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
open("/usr/local/news/spool/overview/group.index", O_RDWR|O_CREAT, 0664) = 4
fstat(4, {st_mode=S_IFREG|0664, st_size=131080, ...}) = 0
mmap(NULL, 131016, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0x2b06edc63000
fcntl(4, F_GETFD)                       = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
open("/usr/local/news/db/active", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0664, st_size=7829, ...}) = 0
read(5, "control 0000000000 0000000001 n\n"..., 4096) = 4096

And here it hangs.

- Stephan
Technical Details
Message-ID: <0T796qlfIbouNv8%windy@speutel.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <0T7943q6I2pjNv8%windy@speutel.de> <nsn.1009301921.3006@thorondor.akallabeth.de>

Show Full Headers
Complete Article Headers
Message-ID: <0T796qlfIbouNv8%windy@speutel.de>
Subject: Re: [INN] makehistory runs endlessly on small spool
Date: Fri, 01 Oct 2010 08:23:49 +0000
From: Stephan Windmüller <usenet-reply-2009@white-hawk.de>
References: <0T7943q6I2pjNv8%windy@speutel.de> <nsn.1009301921.3006@thorondor.akallabeth.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Lines: 34
Sender: Stephan Windmüller <windy@speutel.de>
X-Trace: individual.net RkmEDmyMnm/CfbxqDY3vWwWn4eLBZupC0ArwpdG9c2N/eIiA==
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:nN1RyD/tSG/A2AibZD2RYRYOgu0=
User-Agent: tin/1.9.5-20091224 ("Lochruan") (UNIX) (Linux/2.6.26-2-amd64
 (x86_64))
X-Original-Bytes: 2489