On 11/04/2010 03:26 PM, Bryan O'Neal wrote: > Please no debates on why I need to clear swap... > > If I have a box with 20% free ram and 5% free swap but no paging > activity - how do I force linux to release the allocated swap? I have > ~ 2x as much allocated swap as free memory so simply turning swap off > seems like a bad idea. As far I know, you can't. Set up a maintenance window and terminate the process, then make any system adjustments you need.