Even if you HAD to use files, i can't imagine that writing a script that groks 
the output of the proper sysctl and creates a new swap file on demand would be 
that hard.

for those usable to write simple script - there is /usr/ports/sysutils/swapd

still - in XXI century disk sizes, even some overcommiting swap space doesn't make a problem.

if program needs 10 or more times swap than memory, the program should be changed to use less memory hungry algorithm, or be tunable (like sort with -S)

swap is NOT memory replacement
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to