[X-Unix] Panthers Virtual Memory

Scott J. Kramer x-unix at sjk.us
Sat Mar 27 15:03:04 PST 2004


--On Saturday, March 27, 2004 15:33 +0000 Adrian Simmons 
<adriman at ntlworld.com> wrote:

> Ok, I set /etc/rc like so (all on one line of course, watch out for the
> wrap):
>
> dynamic_pager -H 40000000 -L 320000000 -S 256000000 -F
> ${swapdir}/swapfile

10.2 used those options with these values:

  dynamic_pager -H 40000000 -L 160000000 -S 80000000 -F ${swapdir}/swapfile

They were removed in 10.3.

> Just to confirm - all the options detailed in the man page still work.

Thanks for testing that.

> Which means all these people having problems with Panther's VM (creating
> large swapfiles and then not deleting them till reboot) can probably fix
> them by playing with how /etc/rc calls dynamic_pager.

Quitting processes or logging out can trigger dynamic_pager to remove one
or more swapfiles.  I do that more often than rebooting since it won't
take long before two or three are recreated on my 640MB iBook anyway.  I
usually have four total, then play the process-quitting game if swapfile4
(and more) persists awhile.

-sjk



More information about the X-Unix mailing list