kernel killing processes when out of swap

Mark Hittinger bugs at pu.net
Tue Apr 12 08:00:22 PDT 2005


I've often wondered why swap doesn't have a root-only x% like the file system.

Once the swap used reached 100% user processes would bomb but a root process
could go ahead and use the secret x%.

Another idea would be to have multiple swap files and implement a way to
restrict one swap area to a specific GID (say wheel).

While on the issue we could also reserve a range of process ID's for wheel
group only.

To always be able to log on and un-wedge a system would be most convenient.

Later

Mark Hittinger
bugs at pu.net


More information about the freebsd-hackers mailing list