Thread View: news.software.nntp
4 messages
4 total messages
Started by Alan Frabutt
Fri, 16 Aug 1996 00:00
News server down
Author: Alan Frabutt
Date: Fri, 16 Aug 1996 00:00
Date: Fri, 16 Aug 1996 00:00
15 lines
1064 bytes
1064 bytes
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 Humble thanks in advance, Alan Frabutt (alanf@izzy.net)
Re: News server down
Author: 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.
Re: News server down
Author: Drew D. Saur
Date: Sat, 17 Aug 1996 00:00
Date: Sat, 17 Aug 1996 00:00
33 lines
1869 bytes
1869 bytes
In article <4v26lq$mf4@izzy4.izzy.net>, alanf@izzy.net (Alan Frabutt) 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 > > Humble thanks in advance, > Alan Frabutt (alanf@izzy.net) Wow. Talk about timely. I'm having the very same problem running INN 1.4unoff3 on my Linux 1.2.1 box. Please let me know what you find out. So far, shutting down innd and cleaning and rebuilding the partitions every few days seems to be the only solution. Obviously, this is a *terrible* solution. Thanks, Drew -- _____________/\/\/\/\/\/\/\/________________________________________________ Come visit The Mac Orchard at http://www.spectra.net/~dsaur/orchard.html _____________\/\/\/\/\/\/\/\________________________________________________
Re: News server down
Author: Tomasz R Surmacz
Date: Wed, 21 Aug 1996 00:00
Date: Wed, 21 Aug 1996 00:00
39 lines
2042 bytes
2042 bytes
Drew D. Saur (dsaur@spectra.net) wrote: | > /var: create/symlink failed, no inodes free | > | Wow. Talk about timely. I'm having the very same problem running INN | 1.4unoff3 on my Linux 1.2.1 box. Please let me know what you find out. | So far, shutting down innd and cleaning and rebuilding the partitions | every few days seems to be the only solution. Obviously, this is a | *terrible* solution. Huh? Every few days??? You should not need to do it more than once! Before you do int next (and hopefully last) time, do 'df -k' and 'df -i' on the news partition BEFORE reformatting it: > df -i /var/spool/news Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/ccd0c 6243436 4257288 1486673 74% 881448 360406 71% /var/spool/news Now, calculate the average file size on the partition. Divide used space in kBs by number of inodes used ( 4257288/881448 = 4.945 kB/inode). Round it up a bit (to 5000 or 5500 in this case) to make sure you won't run aou of inodes again, and use this number to 'newfs -i 5000 /dev/rdsk/.....whatever...' command, making the new file system with optimum disk space/inodes ratio for your news spool. Tomasz -- _________ (_ _' __) Tomasz R. Surmacz *-* E-mail: ts@apk.net, tsurmacz@ict.pwr.wroc.pl | (__ \ http://www.ict.pwr.wroc.pl/~tsurmacz/ *----* Home: ts@wroc.apk.net |__(____/ For PGd key finger tsurmacz@asic.ict.pwr.wroc.pl *---* irc: TomekS
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