![]() | |||||||||||||
Messages in this thread |
John Bradford wrote: >>The way I see the solution is: allocate swap space dynamically, until >>there is no need for more or the disk becomes nearly full. If that >>happens, then start thrashing it, all right. Then when the condition is >>gone and things are back to normal deallocate the additional swap. > > > Very bad idea in my opinion. Most likely quite so, I'm not a guru yet :-) > Over allocating swap space is a BAD practice, but the effects are usually not How about dynamically allocating up to a certain limit. Say, you have 256 MB or even less (to save space), and you allocate when needed up to 1 GB, then stop allocating, thrash disk, let the kernel detect and kill the runaway process. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 13:03 [W:1.304 / U:0.750 seconds] ©2003-2008 Jasper Spaans | |||||||||||||