| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Thursday, June 21, 2001, at 10:31 PM, Troy Goodson <Troy.D.Goodson@jpl.
nasa.gov> wrote:
I noticed that my free HD space was lower than usual and found that
the culprit was the existence of several swap files:
-rw------T 1 root wheel 80000000 Jun 20 11:18 swapfile7
-rw------T 1 root wheel 80000000 Jun 19 14:34 swapfile6
-rw------T 1 root wheel 80000000 Jun 19 09:24 swapfile5
-rw------T 1 root wheel 80000000 Jun 18 15:40 swapfile4
-rw------T 1 root wheel 80000000 Jun 18 13:57 swapfile3
-rw------T 1 root wheel 80000000 Jun 18 13:55 swapfile2
-rw------T 1 root wheel 80000000 Jun 18 09:16 swapfile1
-rw------T 1 root wheel 80000000 Jun 16 11:26 swapfile0
Suspecting that I didn't really need all these swap files, I
rebooted. Now, I'm back to one.
-rw------T 1 root wheel 80000000 Jun 20 11:39 swapfile0
Which leads me to these questions:
if Darwin isn't deleting unused swap files that's a bug, right?
VM will delete unused swapfiles. I think you have a leak in one of the user process you are running. Please use top to catch it.
how do I know if a swap file is being used or not?
There is no tool. But if it exists, it's being used.
if I think unused swap files are laying around, is the best recourse to reboot?
Use top to catch the process that is leaking. Killing that process should be sufficient. Of course, reboot will
| References: | |
| >Re: deleting swap files (From: Umesh Vaishampayan <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.