🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #12175

Re: Using TMPFS for news spool

#12175
From: Don Lewis
Date: Fri, 08 Nov 1996 00:00
32 lines
2059 bytes
In article <55nuik$fs0@lastactionhero.rs.itd.umich.edu>,
Larry J. Blunk <ljb@merit.edu> wrote:
>  Is anyone using a TMPFS file system in production as a
>news spool directory?   I realize the filesystem contents disappear
>after a reboot, but for a feed only server which is very stable (and
>on a UPS), I don't think this is that much of an issue.  Obviously,
>you'll want lots of memory, but that's no longer a cost concern these
>days.  Also, does anyone know if a TMPFS filesystem can exceed 2GB
>on a SunOS 4.1.x system?

I'm pretty sure the limit is 2GB or less, possibly quite a bit less
depending on if the whole thing needs to be mapped into kernel virtual
memory.

As someone else noted, there is also a low limit on the number of files,
df -i on the machine I'm on says there are only 10K inodes.  I don't
know if this is tunable.

If you're running 4.1.x, then tmpfs is backed by swap, so you still
have to buy enough disk to hold everything.

If you fill your tmpfs filesystem, then lots of other bad things will
happen to your machine because lots of processes will start croaking
because they can't fork() or malloc() because the swap space to back
the memory they want to allocate isn't available.
-- 
Don "Truck" Lewis                                       TDK Semiconductor
Internet: Don.Lewis@tsc.tdk.com                         138 New Mohawk Road
Phone: +1 916 478-8284       FAX: +1 916 478-8251       Nevada City, CA  95959

Technical Details
Message-ID: <55v16n$hlm@sunrise.gv.ssi1.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <55nuik$fs0@lastactionhero.rs.itd.umich.edu>

Show Full Headers
Complete Article Headers
Message-ID: <55v16n$hlm@sunrise.gv.ssi1.com>
Subject: Re: Using TMPFS for news spool
Date: Fri, 08 Nov 1996 00:00:00 +0000
From: gdonl@tsc.tdk.com (Don Lewis)
References: <55nuik$fs0@lastactionhero.rs.itd.umich.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 195254745
Distribution: inet
Organization: TDK Semiconductor, Nevada City CA
Newsgroups: news.software.nntp