🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
4 messages
4 total messages Started by Pierre Mathieu Fri, 20 Dec 1991 15:32
nnspew complains about space
#2266
Author: Pierre Mathieu
Date: Fri, 20 Dec 1991 15:32
35 lines
1502 bytes
I keep getting the following message from nnspew. I don't understand why
since there is plenty of space on the disk. Any ideas?


>From daemon Fri Dec 20 15:04:20 1991
>Return-Path: <root>
>Received: by sun470.geod.emr.ca (4.1/SMI-4.1-DNI)
>	id AA29785; Fri, 20 Dec 91 15:04:19 GMT
>Date: Fri, 20 Dec 91 15:04:19 GMT
>From: root (Operator)
>Message-Id: <9112201504.AA29785@sun470.geod.emr.ca>
>To: root
>Subject: Output from "cron" command
>Status: OR
>
>Your "cron" job
>
>/usr/local/lib/nn/nnspew
>
>produced the following output:
>
>sort: write error while sorting: No space left on device


My crontab has the following nnspew entry:

2 3,9,15,21 * * * /usr/local/lib/nn/nnspew


----
Pierre Mathieu
Geodetic Survey of Canada
Ottawa, Canada
mathieu@sun470.geod.emr.ca
Re: nnspew complains about space
#2268
Author: Max Heffler
Date: Sun, 22 Dec 1991 01:14
21 lines
1409 bytes
pierre@sgl (Pierre Mathieu) writes:


>I keep getting the following message from nnspew. I don't understand why
>since there is plenty of space on the disk. Any ideas?


>>/usr/local/lib/nn/nnspew
>>
>>produced the following output:
>>
>>sort: write error while sorting: No space left on device

There is plenty of space when you are looking at it, but when nnspew
kicks off, it creates some very large files which can chew up /tmp
quickly.  Look at the nnspew script...
--
Max Heffler, Senior Software Engineer        internet: max@compaq.com
Compaq Computer Corporation     uucp: ..!uunet!max@compaq.com
P.O. Box 692000 - M050701       phone: (713) 378-8366
Houston, Texas  77269-2000      fax:   (713) 374-7305
Re: nnspew complains about space
#2273
Author: I.Woodrow
Date: Tue, 31 Dec 1991 13:25
17 lines
1400 bytes
>>>/usr/local/lib/nn/nnspew
>>>
>>>produced the following output:
>>>
>>>sort: write error while sorting: No space left on device

I was also getting this message but cured by changing the nnspew script.
Using the -T option in sort, you can get the sort temporary files to hang out
anywhere you want.  Stick them somewhere where there's plenty space.



-- 
W@@DY_______________________________________________________________________
 /Ian Woodrow, Computing Service, Uni of Glasgow, GLASGOW G12 8QQ, Scotland \
*  <Dog 'n' Bone:  041-330-4800         | e-mail: woody@udcf.gla.ac.uk>      *
 \__________ FAX:__041-330-4808_____________________________________________/
Re: nnspew complains about space
#2277
Author: Geoff Clare
Date: Fri, 03 Jan 1992 13:22
39 lines
1784 bytes
woody@udcf.glasgow.ac.uk (I.Woodrow) writes:

>>>>/usr/local/lib/nn/nnspew
>>>>
>>>>produced the following output:
>>>>
>>>>sort: write error while sorting: No space left on device

>I was also getting this message but cured by changing the nnspew script.
>Using the -T option in sort, you can get the sort temporary files to hang out
>anywhere you want.  Stick them somewhere where there's plenty space.

Better still, change nnspew so that it uses a pipe instead of the first
temporary file.  The existing script looks something like:

	if nn -SPEW </dev/null > tmp1
	then
		if sort -u tmp1 > tmp2
		then
			mv tmp2 subjects
			chmod 644 subjects
		fi
	fi

so change this to look like:

	if nn -SPEW </dev/null | sort -u > tmp2
	then
		mv tmp2 subjects
		chmod 644 subjects
	fi

and it will need less than half as much disk space as before.

[ I missed the beginning of this thread, so I apologise if this has been
  suggested already. ]
-- 
Geoff Clare <gwc@root.co.uk>  (USA UUCP-only mailers: ...!uunet!root.co.uk!gwc)
UniSoft Limited, London, England.   Tel: +44 71 729 3773   Fax: +44 71 729 3273
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