Article View: news.software.nntp
Article #3443Re: INN server on Linux periodically stops responding to input
From: Jerry Aguirre
Date: Wed, 08 Mar 1995 23:46
Date: Wed, 08 Mar 1995 23:46
41 lines
3313 bytes
3313 bytes
In article <3j1v7k$fek@news.sni.de> boening.pad@sni.de (Martin Boening) writes: >as long as you use the standard news.daily setup, this is true. The >previous poster mentioned using delayrm options and the fastrm program >though. This will indeed lead to problems, as is mentioned in the source >for fastrm or the script expirerm (don't remember which, right now). If >you use several spool partitions and symbolic linking, you can still use >the delayrm option: simply change expirerm to use the xargs mechanism >instead of the fastrm program. (Speaking for inn 1.4 sec) Let me first clarify that there are two issues related to symbolic links. The first is symlinking directories. For example if you link /var/spool/news/alt to /news2 then you are linking a directory. This is what is being discussed here. The other issue with symbolic links is cross posting of articles between different file systems. Thus if an article is cross posted to an "alt" group and a "comp" group and those reside on different file systems then a sybolic link is typically used to implement the cross posting. This results in issues related to expire, innwatch, and makehistory but not to fastrm. The problem with fastrm and symlinking directories is one of breaking the "cd .." command. When given the "-u" option fastrm tries to "cd ../group" rather than cd /var/spool/news/group" as it thinks this is faster. If your symlinks break "cd .." then you should run fastrm without the "-u" option. Unfortunately "-u" is the default in the supplied expirerm script. Note that it is just as easy to get rid of the "-u" as it is to make the "xargs" change. (Or you could just mount the filesystem where it belongs in the first place!) The problem that would be caused by using fastrm -u with symlinked directories would most likely be fastrm aborting. Potentially there could be some accidental alignment of directories and the wrong articles could get deleted but that is highly unlikely. I see no reason that fastrm should lock up the system. With all the bashing of fastrm that goes on people seem to ignore that it is just a program that tries to "unlink()" a list of files. It is far more likely that any problems are the result of user mis-configuration than that "chdir()" and "unlink()" don't function correctly.
Technical Details
Message-ID:
<3jlfk6$jcp@olivea.ATC.Olivetti.Com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.admin.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!udel!news.mathworks.com!newshost.marcam.com!charnel.ecst.csuchico.edu!olivea!strobe!jerryReferences:
<3ifm7l$3ku@limper.gsa.gov> <3ikhql$8v0@dns.crocker.com> <3ink6m$69r@deprog9.com> <3j1v7k$fek@news.sni.de>Show Full Headers
Complete Article Headers
Message-ID: <3jlfk6$jcp@olivea.ATC.Olivetti.Com> Subject: Re: INN server on Linux periodically stops responding to input Date: Wed, 08 Mar 1995 23:46:14 +0000 From: jerry@strobe.ATC.Olivetti.Com (Jerry Aguirre) References: <3ifm7l$3ku@limper.gsa.gov> <3ikhql$8v0@dns.crocker.com> <3ink6m$69r@deprog9.com> <3j1v7k$fek@news.sni.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.admin.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!udel!news.mathworks.com!newshost.marcam.com!charnel.ecst.csuchico.edu!olivea!strobe!jerry Newsgroups: news.software.nntp,comp.os.linux.admin Organization: Olivetti ATC; Cupertino, CA; USA Lines: 40 Distribution: inet NNTP-Posting-Host: strobe.atc.olivetti.com Summary: remove -u from expirerm envocation of fastrm