Thread View: news.software.nntp
5 messages
5 total messages
Started by Richard Hesketh
Wed, 28 Aug 1996 00:00
INN gets ENOSPACE even though there is plenty of disk and inodes
Author: Richard Hesketh
Date: Wed, 28 Aug 1996 00:00
Date: Wed, 28 Aug 1996 00:00
28 lines
1461 bytes
1461 bytes
INN (1.4 + some hacks) running on a Solaris 2.5 based SPARC 20 has just started to throttle itself claiming it has run out of disk space writing the article file. df gives me the following: /usr/ucb/df -i /news Filesystem iused ifree %iused Mounted on /dev/dsk/c0t0d0s7 481370 1466662 25% /news /usr/ucb/df /news Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s7 1830821 1687591 51690 98% /news and trussing the process I find that after processing a few incoming articles it gets the following: writev(6, 0xEFFFF178, 5) Err#28 ENOSPC My guess is that my filesystem is sick in some way but it passes fsck, reboots okay and shows no other symptoms. Has anyone else seen this under Solaris? Any remedies? Thanks, Richard
Re: INN gets ENOSPACE even though there is plenty of disk and inodes
Author: Shane Castle
Date: Wed, 28 Aug 1996 00:00
Date: Wed, 28 Aug 1996 00:00
26 lines
1793 bytes
1793 bytes
In news.software.nntp, Richard Hesketh<R.L.Hesketh@ukc.ac.uk> wrote:
>INN (1.4 + some hacks) running on a Solaris 2.5 based SPARC 20
>has just started to throttle itself claiming it has run out
>of disk space writing the article file. df gives me the following:
>/usr/ucb/df -i /news
>Filesystem iused ifree %iused Mounted on
>/dev/dsk/c0t0d0s7 481370 1466662 25% /news
>/usr/ucb/df /news
>Filesystem kbytes used avail capacity Mounted on
>/dev/dsk/c0t0d0s7 1830821 1687591 51690 98% /news
Are you sure that this is the only filesystem that might be
used? Are there any others mounted, such as (e.g.) /news2 ?
How about in /var ? Be sure to check *every* filesystem that
INN might use.
--
Shane Castle | "Perfection, then, is finally achieved, not
Boulder County Info Svcs | when there is nothing left to add, but when
Boulder CO USA | there is nothing left to take away."
| - Antoine de Saint-Exup�ry
Re: INN gets ENOSPACE even though there is plenty of disk and inodes
Author: Dave Barr
Date: Wed, 28 Aug 1996 00:00
Date: Wed, 28 Aug 1996 00:00
22 lines
1301 bytes
1301 bytes
In article <1069@crane.ukc.ac.uk>, Richard Hesketh <R.L.Hesketh@ukc.ac.uk> wrote: >writev(6, 0xEFFFF178, 5) Err#28 ENOSPC > >My guess is that my filesystem is sick in some way but it >passes fsck, reboots okay and shows no other symptoms. > >Has anyone else seen this under Solaris? Any remedies? This is a common problem on lots of OS's besides Solaris. I bet you have run out of full blocks, and that free space you see is consumed entirely by frags. The remedy is to re-newfs with a smaller blocksize (and fragsize) I recommend people use 4K blocks and 512 byte frags. (the default in SunOS/Solaris is 8k/1k) --Dave
Re: INN gets ENOSPACE even though there is plenty of disk and inodes
Author: Jim Prescott
Date: Thu, 29 Aug 1996 00:00
Date: Thu, 29 Aug 1996 00:00
37 lines
2399 bytes
2399 bytes
In article <1069@crane.ukc.ac.uk>,
Richard Hesketh <R.L.Hesketh@ukc.ac.uk> wrote:
>INN (1.4 + some hacks) running on a Solaris 2.5 based SPARC 20
>has just started to throttle itself claiming it has run out
>of disk space writing the article file. df gives me the following:
>Filesystem iused ifree %iused Mounted on
>/dev/dsk/c0t0d0s7 481370 1466662 25% /news
>Filesystem kbytes used avail capacity Mounted on
>/dev/dsk/c0t0d0s7 1830821 1687591 51690 98% /news
>writev(6, 0xEFFFF178, 5) Err#28 ENOSPC
Free disk space comes in two forms, full blocks and fragments (partial
blocks). Full blocks will be fragmented as needed but the reverse can
only happen when files are deleted. If you run out of full blocks you
will start getting "filesystem full" messages even if df says you have
lots of free space (it doesn't mention that it is all fragments).
You can check see if you've run out of full blocks by checking nbfree:
ftyp -v /dev/dsk/c0t0d0s7 | grep nbfree
("ftyp -v" is spelled "dumpfs" in SunOS).
You could also try copying various sized files onto the partition. Files
under 512 bytes will work, files over 8192 bytes will not.
While not really related, running out of free blocks becomes easier the
lower you set minfree.
Deleting files is the only way to get full blocks. If you delete a lot
of them and use tunefs to set optimization to space (which makes the OS
thriftier at creating fragments) you might be ok. If not you may have
to do a dump/newfs/restore to fix things.
--
Jim Prescott - Systems Staff jgp@seas.rochester.edu ur-valhalla!jgp
School of Engineering and Applied Sciences, University of Rochester, NY
Re: INN gets ENOSPACE even though there is plenty of disk and inodes
Author: Gary Mills
Date: Thu, 29 Aug 1996 00:00
Date: Thu, 29 Aug 1996 00:00
20 lines
1573 bytes
1573 bytes
In <501v79$22qd@bcx01.boco.co.gov> swcxt@boco.co.gov (Shane Castle) writes: >In news.software.nntp, Richard Hesketh<R.L.Hesketh@ukc.ac.uk> wrote: >>INN (1.4 + some hacks) running on a Solaris 2.5 based SPARC 20 >>has just started to throttle itself claiming it has run out >>of disk space writing the article file. df gives me the following: I haven't seen the original article yet, but I have had this happen from time to time. In my case, it happened during the expire run when innwatch was unable to throttle the server because expire had it reserved. Incoming news filled the spool, and innd throttled itself. After the expire completed, there was lots of space on the spool, but the server was still throttled. The solution is to `go' the server, and increase the minimum spool space in innwatch.ctl. -- -Gary Mills- -Unix Support- -U of M Academic Computing and Networking-
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