View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Swap file
PostPosted: Tue Apr 29, 2008 7:24 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,

How does one "purge" the swap file? Over a period of days, I have manage to totally fill my swap file with left over garbage.and would like to clean it with out rebooting.

Thanks
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 29, 2008 7:37 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
man swapoff


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 29, 2008 8:08 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi tjc,

Thanks but that wasn't very helpful. swapoff -a does nothing and top still shows it active and full. Only top even acknowledges it is lurking around somewhere. I can only assume it thinks there is something of value in swap and therefore ignores my swapoff request.

I could simply reboot but that takes the fun away :)
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 30, 2008 9:25 am 
Offline
Joined: Thu Mar 15, 2007 9:26 pm
Posts: 39
why bother?
let the kernel do what it wants and it will be happy, start messing around with stuff and then you cause problems.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 30, 2008 10:45 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,

In the process of diddling with my KM box I managed to fill the swap and when one only has 256 meg of memory, a little extra space is sometimes needed. For some reason unknown to me, it didn't seem to self purge because of the playing I was doing, guess the kernel thought it was still important stuff.

Anyway, a simple restart of the xserver cleaned it out and all is good again :) I hate to reboot! That's M$ way of doing fixes.

Thanks
Mike


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu