Nice observation Darryl!  I bet a lot of us are guilty of using the /tmp
directory when we should be using /var/tmp.  

Lance

-----Original Message-----
From: Darryl Bond [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 10, 2000 3:28 PM
To: Foxboro DCS Mail List
Subject: Re: How do I turn off swap



Yes, Under Solaris /tmp is a tmpfs which means it is a RAM disk.
Anything file copied to /tmp will consume RAM/swap by the same size of
the file. I have seen many times commercial applications use /tmp for
logs on Solaris (probably just ported the app from another unix). When
the logs grow the machine groans.

Logs on Solaris should be written to /var/tmp which _is_ disk based.
/tmp should be used for small files that need fast access.

use du -s /tmp/* to find if the space is used on /tmp


-----------------------------------------------------------------------
This list is neither sponsored nor endorsed by the Foxboro Company. All 
postings from this list are the work of list subscribers and no warranty 
is made or implied as to the accuracy of any information disseminated 
through this medium. By subscribing to this list you agree to hold the 
list sponsor(s) blameless for any and all mishaps which might occur due to 
your application of information received from this mailing list.

To be removed from this list, send mail to 
[EMAIL PROTECTED] 
with "unsubscribe foxboro" in the Subject. Or, send any mail to
[EMAIL PROTECTED]

Reply via email to