🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by David Pisoni Fri, 29 Sep 1995 00:00
Disk full errors
#3857
Author: David Pisoni
Date: Fri, 29 Sep 1995 00:00
31 lines
1614 bytes
Hello,

I am running INN on a BSDI 2.0 system.
Lately our INN has been reporting some strange disk full errors.  From the
daily news report :

Disk usage:
/dev/sd0e      3220914  2431678   467144    84%    /usr/var/spool/news
/dev/sd1a      1388078   164578  1154096    12%    /usr/local/news

Seems like lots of space....

but then later in the report:

sort: No space left on device

Okay.... how about the syslog :

Sep 29 14:15:40 donatello kernel: uid 133 on /: file system full

(uid 133 is user 'news') - this is happening all the time, at least
several times a day.  But the news partitions have plenty of space...

Any ideas?
+--------------------------------------------------------------+
| David Pisoni                             davidp@leonardo.net |
| System Administrator                   david@isaac.biola.edu |
| Leonardo Internet             http://www.ac.biola.edu/~david |
+--------------------------------------------------------------+

Re: Disk full errors
#3860
Author: Michael Giegerich
Date: Sat, 30 Sep 1995 00:00
39 lines
1924 bytes
>I am running INN on a BSDI 2.0 system.
>Lately our INN has been reporting some strange disk full errors.  From the
>daily news report :
>
>Disk usage:
>/dev/sd0e      3220914  2431678   467144    84%    /usr/var/spool/news
>/dev/sd1a      1388078   164578  1154096    12%    /usr/local/news
>
>Seems like lots of space....
>
>but then later in the report:
>
>sort: No space left on device

Your partition where /tmp is, is full (inn sorts its history
file and does other things in /tmp).
You can however invoke news.daily telling it to use different
tmp dirs.

>
>Okay.... how about the syslog :
>
>Sep 29 14:15:40 donatello kernel: uid 133 on /: file system full
>
>(uid 133 is user 'news') - this is happening all the time, at least
>several times a day.  But the news partitions have plenty of space...
>
>Any ideas?
>+--------------------------------------------------------------+
>| David Pisoni                             davidp@leonardo.net |
>| System Administrator                   david@isaac.biola.edu |
>| Leonardo Internet             http://www.ac.biola.edu/~david |
>+--------------------------------------------------------------+


-- 
Michael Giegerich, E-Mail: migieger@luva.lb.bawue.de, Voice: +49 7144 39337

Re: Disk full errors
#3861
Author: Peter da Silva
Date: Sat, 30 Sep 1995 00:00
15 lines
1335 bytes
In article <davidp-2909951437400001@mac219.admin.biola.edu>,
David Pisoni <davidp@leonardo.net> wrote:
> Sep 29 14:15:40 donatello kernel: uid 133 on /: file system full

"sort" is creating a temporary file in "/tmp".

Make "/tmp" a symlink to "/var/tmp" or something like that, so long as
you have plenty of space for scratch files there...
-- 
Peter da Silva    (NIC: PJD2)      `-_-'             1601 Industrial Boulevard
Bailey Network Management           'U`             Sugar Land, TX  77487-5013
+1 713 274 5180         "Har du kramat din varg idag?"                     USA
Bailey pays for my technical expertise.        My opinions probably scare them

Re: Disk full errors
#3862
Author: Geoff Davidson
Date: Sun, 01 Oct 1995 00:00
19 lines
1302 bytes
peter@nmti.com (Peter da Silva) writes:

>In article <davidp-2909951437400001@mac219.admin.biola.edu>,
>David Pisoni <davidp@leonardo.net> wrote:
>> Sep 29 14:15:40 donatello kernel: uid 133 on /: file system full

>"sort" is creating a temporary file in "/tmp".

>Make "/tmp" a symlink to "/var/tmp" or something like that, so long as
>you have plenty of space for scratch files there...

	At first, I was going to skip this, but foolishly changed my
mind...

	...is there nothing at boot time that tries to write to /tmp?
if so...what if /var is mounted on a different partition?


Re: Disk full errors
#3863
Author: Terry Kennedy, Operations Mgr.
Date: Sun, 01 Oct 1995 00:00
28 lines
1969 bytes
In article <davidp-2909951437400001@mac219.admin.biola.edu>, davidp@leonardo.net (David Pisoni) writes:
> Lately our INN has been reporting some strange disk full errors.  From the
> daily news report :
> 
> Disk usage:
> /dev/sd0e      3220914  2431678   467144    84%    /usr/var/spool/news
> /dev/sd1a      1388078   164578  1154096    12%    /usr/local/news
> 
> Seems like lots of space....
> but then later in the report:
> sort: No space left on device
> 
> Okay.... how about the syslog :
> Sep 29 14:15:40 donatello kernel: uid 133 on /: file system full

  Seems pretty clear - your root file system is filling up (that's the "/"
bit). Given that sort is complaining, it would appear you have /tmp or /var
as part of the root filesystem and not on a separate filesystem. I've never
configured a system with less than 64MB of /tmp and 64MB of /var. If you're
doing big sorts, you may need something even larger. I believe sort has an
environment variable called TMPDIR you can use to have it put the temp files
somewhere else until you reorganize your partitions.

	Terry Kennedy		  Operations Manager, Academic Computing
	terry@spcvxa.spc.edu	  St. Peter's College, Jersey City, NJ USA
        +1 201 915 9381 (voice)   +1 201 435-3662 (FAX)

Re: Disk full errors
#3864
Author: Alec H. Peterson
Date: Sun, 01 Oct 1995 00:00
21 lines
1343 bytes
In article <44k8g8$oo7@luva.lb.bawue.de>,
Michael Giegerich <migieger@luva.lb.bawue.de> wrote:
>>
>>sort: No space left on device
>
>Your partition where /tmp is, is full (inn sorts its history
>file and does other things in /tmp).
>You can however invoke news.daily telling it to use different
>tmp dirs.

Or, you can just edit news.daily to pass another option to sort
(specifically, -T <directory name> puts the sort tmp files in said
directory.  Those files can get quite big...)

Alec

-- 
Alec Peterson                           Panix Public Access UNIX and Internet
chuckie@panix.com                       New York City, NY

Re: Disk full errors
#3868
Author: Alan Brown
Date: Sun, 01 Oct 1995 00:00
17 lines
1181 bytes
In article <davidp-2909951437400001@mac219.admin.biola.edu>,
David Pisoni <davidp@leonardo.net> wrote:

>Sep 29 14:15:40 donatello kernel: uid 133 on /: file system full
>
>(uid 133 is user 'news') - this is happening all the time, at least
>several times a day.  But the news partitions have plenty of space...

How much space in the root partition?

looks like you don't have enough space in /tmp


-- 
AB

Re: Disk full errors
#3865
Author: Michael Richardson
Date: Mon, 02 Oct 1995 00:00
19 lines
1697 bytes
In article <44ph0p$hb4@aurora.cs.athabascau.ca>,
Ross Alexander <rwa@cs.athabascau.ca> wrote:
>anything tries to scribble into it.  /tmp's a special case anyhow,
>because about the second thing that happens is that /tmp gets cleaned
>up.  We run /tmp as a link to /var/tmp on several boxes here and it's
>generally safe.

  You get screwed if you are trying to do maintenance that involves
having /var umounted and want to use vi.
  a) make sure that a /var/tmp exists "under" the /var mount.
  b) use loopback mounts so that /tmp is a real directory.

-- 
   :!mcr!:            |     <A HREF="http://www.milkyway.com/">Milkyway Networks Corporation</A>
   Michael Richardson |   Makers of the Black Hole firewall 
 NCF: aa714 || xx714  | +1 613 566-4574 ... mcr@milkyway.com
 Home: <A HREF="http://www.sandelman.ocunix.on.ca/People/Michael_Richardson/Bio.html">mcr@sandelman.ocunix.on.ca</A>. PGP key available.

Re: Disk full errors
#3873
Author: Thom Henderson
Date: Mon, 02 Oct 1995 00:00
16 lines
1102 bytes
On Fri, 29 Sep 1995, David Pisoni wrote:

> Disk usage:
> /dev/sd0e      3220914  2431678   467144    84%    /usr/var/spool/news
> /dev/sd1a      1388078   164578  1154096    12%    /usr/local/news
> 
> Seems like lots of space....
> 
> but then later in the report:
> 
> sort: No space left on device

How much space is left on the root?  It could be running out of space in 
/tmp.

Re: Disk full errors
#3866
Author: Chet Ramey
Date: Tue, 03 Oct 1995 00:00
48 lines
2253 bytes
In article <davidp-2909951437400001@mac219.admin.biola.edu>,
David Pisoni <davidp@leonardo.net> wrote:
>Hello,
>
>I am running INN on a BSDI 2.0 system.
>Lately our INN has been reporting some strange disk full errors.  From the
>daily news report :
>
>Disk usage:
>/dev/sd0e      3220914  2431678   467144    84%    /usr/var/spool/news
>/dev/sd1a      1388078   164578  1154096    12%    /usr/local/news
>
>Seems like lots of space....
>
>but then later in the report:
>
>sort: No space left on device

It doesn't have anything to do with how much spool space you have
available.

/usr/contrib/lib/news/bin/news.daily, when run with the `delayrm'
option, wants to sort the file of articles to be removed
(/var/log/news/expire.rm).  It calls `sort', which uses $TMPDIR to
decide where to put its temp files.  TMPDIR is one of the variables
set in /usr/contrib/lib/news/innshellvars, which sets it to `/tmp'
by default.  The upshot is that `sort' is using /tmp to sort a
(presumably) large file, and running out of space on that filesystem.

You can do several things:

1.  Set TMPDIR to /var/tmp and export it at the top of news.daily, before
    the `.' command that reads innshellvars.

2.  Change /usr/contrib/lib/news/innshellvars so that it unconditionally
    sets TMPDIR to /var/tmp.

3.  Change news.daily to call sort like this:

	TMPDIR=/var/tmp sort -o ${RMFILE} ${RMFILE}


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, Case Western Reserve University	Internet: chet@po.CWRU.Edu

Re: Disk full errors
#3870
Author: Peter da Silva
Date: Tue, 03 Oct 1995 00:00
14 lines
1438 bytes
In article <44lbn5$23t@ionews.io.org>, Geoff Davidson <geoffred@io.org> wrote:
> 	...is there nothing at boot time that tries to write to /tmp?
> if so...what if /var is mounted on a different partition?

Then you create a /var/tmp that'll get covered by the mount point. I remember
I had to do that for System V, but I think the file system mounts in BSD are
early enough it's not an issue.
-- 
Peter da Silva    (NIC: PJD2)      `-_-'             1601 Industrial Boulevard
Bailey Network Management           'U`             Sugar Land, TX  77487-5013
+1 713 274 5180         "Har du kramat din varg idag?"                     USA
Bailey pays for my technical expertise.        My opinions probably scare them

Re: Disk full errors
#3874
Author: Chris Forgeron
Date: Tue, 10 Oct 1995 00:00
29 lines
1654 bytes
In article <Pine.BSD/.3.91.951002105600.15500C-100000@server.esva.net>, 
thom@esva.net says...
>
>On Fri, 29 Sep 1995, David Pisoni wrote:
>
>> Disk usage:
>> /dev/sd0e      3220914  2431678   467144    84%    /usr/var/spool/news
>> /dev/sd1a      1388078   164578  1154096    12%    /usr/local/news
>> 
>> Seems like lots of space....
>> 
>> but then later in the report:
>> 
>> sort: No space left on device
>
>How much space is left on the root?  It could be running out of space in 
>/tmp.

 It sounds like you are running out of space in /tmp. On most BSDI setups 
(which I assume you are running) the /tmp is a mff (ramdisk) setup that 
is way too small for the massive megabytes of info that makehistory 
needs.
 
 When you run your makehistory, make sure to include "-T /usr/tmp" which 
specified makehistory (and sort) to use the specified temp directory, not 
your /tmp. Just don't forget to create /usr/tmp before you try this. :-)


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