Article View: news.software.nntp
Article #91959Re: inn 2.7.0, expire takes ages and hangs
From: Adam W.
Date: Mon, 04 Nov 2024 22:38
Date: Mon, 04 Nov 2024 22:38
49 lines
2934 bytes
2934 bytes
Matija Nalis <mnalis-news@voyager.hr> wrote: >> It just waits on select, and does nothing else. > > Usually I'd use lsof(8) to see what is on the other side of that socket, and > try to continue debugging there. Good idea, I forgot about this possibility, and I wanted to bring server back up quickly. >> 1. Is it possible that I messed anything up by forcefully killing it? > > Was it regular TERM or KILL (-9) signal? TERM, expire process accepted it. >> 2. Why did it hang / how can I diagnose it / can I diagnose it? > > you can add "-v level" to increase verbosity of expire(8). Nice. I just read the manual (should've done it earlier...), now it's more clear. >> Another question: why does it expire anything if I have expiration >> disabled? > > And how exactly did you have "expiration disabled"? I mean the article expiration, not history. I use CNFS, so articles expire only when buffers roll over, and I don't forcefully expire my timehash (at least for now). So the only expiration I'd expect is cleaning the history (but probably these statistics are also about it). For some reason I was convinced that expire only expires articles, and expireover takes care of the overview AND history. Which doesn't make sense, as overview can be disabled on transit servers, but they still need history... > Or do you have reason to believe otherwise? No, it's clear now. So, it seems I still need expire to trim the history. I think I'll make the copy of the server (I'll just copy the running instance, it might be inconsistent but it won't matter), reconfigure its feeds (so my server feeds the copy), and experiment on a copy. Lots of data to transfer over the Internet, but I don't have a better idea on how else to diagnose it...
Technical Details
Message-ID:
<557684c7-fe8b-4832-bc8e-d185d652dfc9-aw@news.chmurka.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.chmurka.net!.POSTED.172.24.44.20!not-for-mailReferences:
<5dcbedb5-81e3-4ba1-a218-ac52c626cb05-aw@news.chmurka.net> <slrnvickoe.kqb.mnalis-news@eagle102.home.lan>Show Full Headers
Complete Article Headers
Message-ID: <557684c7-fe8b-4832-bc8e-d185d652dfc9-aw@news.chmurka.net>
Subject: Re: inn 2.7.0, expire takes ages and hangs
Date: Mon, 04 Nov 2024 22:38:12 +0000
From: aw@somewhere.invalid (Adam W.)
References: <5dcbedb5-81e3-4ba1-a218-ac52c626cb05-aw@news.chmurka.net> <slrnvickoe.kqb.mnalis-news@eagle102.home.lan>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.chmurka.net!.POSTED.172.24.44.20!not-for-mail
Newsgroups: news.software.nntp
Organization: news.chmurka.net
Injection-Date: Mon, 4 Nov 2024 22:38:12 -0000 (UTC)
Injection-Info: news.chmurka.net; posting-account="arnold"; posting-host="172.24.44.20";
logging-data="26339"; mail-complaints-to="abuse-news.(at).chmurka.net"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/6.1.21-v7+ (armv7l))
Cancel-Lock: sha1:x7u2W9juzBugXXXaQbNwsHrNS+k=