Thread View: news.software.nntp
1 messages
1 total messages
Started by Rahul Dhesi
Sat, 16 Aug 1997 00:00
quick fix: finding enough /tmp space
Author: Rahul Dhesi
Date: Sat, 16 Aug 1997 00:00
Date: Sat, 16 Aug 1997 00:00
28 lines
1391 bytes
1391 bytes
I found that sometimes, during inn's expire, various things were running low on temp disk space. Rather than simply wasting a big filesystem on /tmp, I found a quick and effective fix. 1. Make a temp directory on each big filesystem. 2. Before running News expiration: TMPDIR=`/news/bin/mostspace -f /news/lib/sort.dirs` export TMPDIR 'mostspace' is a script that looks in /news/lib/sort.dirs for a list of directories. It does 'df' on each and prints the name of the directory lying on a filesystem with the greatest amount of free space. 3. Make sure that utilities use TMPDIR for temp space. You can get my 'mostspace' perl script from http://www.rahul.net/dhesi/software/ or roll your own. -- Rahul Dhesi <dhesi@spams.r.us.com>
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