Memory limits on 7.0

Miroslav Lachman 000.fbsd at
Thu Jul 3 10:01:32 UTC 2008

Christopher Thunes wrote:
> Hey everyone,
>   I spent some time working on getting cdjones' memory limit patches 
> updated for 7.0 and beyond and thought I'd post my progress. I've 
> attached my current patch which implements memory limits on 7.0-RELEASE, 
> but only for the older (and default in -RELEASE) bsd4 scheduler (won't 
> work at all on ULE). I haven't yet started work for ULE or getting CPU 
> sharing working. This patch also includes fixes for problems in the 
> original cdjones patches. If you want to give it a whirl it should apply 
> cleanly to a 7.0-RELEASE source tree and if you run into any issues let 
> me know.

Thanx for you work, I put it on Jails wiki! I hope I'll give it a try in 
next week after I setup new testing machine with ZFS, 4GB of RAM and lot 
of jails for testing :)

Do you plan to work on ULE version? (AFAIK ULE will be default for next 

Miroslav Lachman

More information about the freebsd-jail mailing list