[K12OSN] Deleting Swap Files

Shahms King shahms at shahms.com
Sat Mar 12 00:01:09 UTC 2005


On Fri, 2005-03-11 at 15:55 -0800, Eric Harrison wrote:

*snip*

> If we use stale data to figure out what is in use, we'll end up skipping
> the very stale files we want to delete. It would only be cleared out
> whenever the server happens to be rebooted.
> 
> Perhaps the best option would be to just automatically "rm -f
> /var/opt/ltsp/swapfiles/*.swap" whenever the server boots....
> 
> -Eric

That seems like a sane thing to do (seeing as none of the clients will
be functional if their swap space just disappeared anyway).  However,
this is a Linux server we're talking about so cleaning out stale data
shouldn't depend on a reboot which may never come ;-P

Cleaning the stale nfs swap data on reboot seems to be "duh" obvious,
but should be in addition to the other methods. 

-- 
Shahms E. King <shahms at shahms.com>
Multnomah ESD

Public Key:
http://shahms.mesd.k12.or.us/~sking/shahms.asc
Fingerprint:
1612 054B CE92 8770 F1EA  AB1B FEAB 3636 45B2 D75B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/k12osn/attachments/20050311/0e05e0df/attachment.sig>


More information about the K12OSN mailing list