Article View: news.software.nntp
Article #10151Re: News server down
From: Jonathan Larmour
Date: Fri, 16 Aug 1996 00:00
Date: Fri, 16 Aug 1996 00:00
74 lines
4041 bytes
4041 bytes
In article <4v26lq$mf4@izzy4.izzy.net>, Alan Frabutt <alanf@izzy.net> wrote: >Our news system (INN) filled up the spool partition and crashed. >I am unsure of the cause; the person who regularly maintains INN >is unavailable. I'm looking thru the FAQ's and man pages now, >but would appreciate any information on what the quickest way to >bring news back online would be, _and_ things to avoid doing that >might make the situation worse. E-mail response please, as news >is down. Expire doesn't seem to free up any space, news.daily eventually >errors: >/var: create/symlink failed, no inodes free This means that when the news partition was initially formatted, it was not defined with enough inodes. The only real solution is to reformat your news spool disk with more inodes (fx: screams from Alan). To do this you will have to either copy your news spool somewhere else, or lose it (obviously), so you may want to decide which, and if the former, arrange to install a new disk in the computer - it doesn't _have_ to be the same size as you could tar and gzip the files - they should compress quite well (2:1?). This is non-trivial and time consuming and you may want to wait until your "expert" gets back (who got you in this fix in the first place!). So instead, to bring you temporarily back on-line, I would recommend the following (with the news server throttled or shut down, preferably the latter). Edit your expire.ctl in /usr/src/inn/site (or whatever), to reduce your expiry times by a few days (do man expire.ctl if you are unsure). Do a make install. Run news.daily (as user news) with the same parameters as in news's crontab. If that helps, rejoice, otherwise... The next bit is quite nasty. Decide for yourself which groups in your spool you least want, and delete them from the spool (!). Delete a sufficient number so that "df -i" shows more inodes free. Do not delete them from your active file or do a "ctlinnd rmgroup". If you have symlinks in your spool, as you appear to, then read "man news-recovery" and run the command at the end that does a "find -type l etc.". This will unfortunately remove all your cross-posts, but that's life. Then, as news, run makehistory -b which will take quite a while (hours for a large spool). After that's done, go to /usr/lib/news or your equivalent, and mv the history.n.* files to history.*. If inn is running but throttled, use makehistory -buv, mv the history files as above, and do a "ctlinnd reload history". If you have NOV threads also do an "expireover -a" as news. Now you can fire up inn in your normal way. You might also want to hassle your news maintainer to ensure that innwatch is configured correctly, as that should in theory prevent this type of thing happening - it checks the number of inodes with "df -i" and throttles the server below a certain limit. If anyone on this newsgroup knows a fault with what I've said, then please remember to e-mail this guy straight away before he does it! Alan: I'm interested to know how you get on. Jonathan L. -- Origin UK, 323 Cambridge Science Park, Cambridge, England. CB4 4WG. -------[ Do not think that every sad-eyed woman has loved and lost... ]------ -----------------------[ she may have got him. -Anon ]----------------------- These opinions are all my own fault.
Technical Details
Message-ID:
<4v2gdf$dki@gatekeeper.origin-at.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<4v26lq$mf4@izzy4.izzy.net>Show Full Headers
Complete Article Headers
Message-ID: <4v2gdf$dki@gatekeeper.origin-at.co.uk> Subject: Re: News server down Date: Fri, 16 Aug 1996 00:00:00 +0000 From: jlarmour@news.origin-at.co.uk (Jonathan Larmour) References: <4v26lq$mf4@izzy4.izzy.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 174712484 Content-type: text/plain; charset=US-ASCII Organization: Origin UK, Cambridge, England. Mime-version: 1.0 Reply-to: jlarmour@origin-at.co.uk Newsgroups: news.software.nntp