Re: Jail limits



Espartano wrote:
Hi folk, sorry for my bat english, i have a question:

there is any initiative to implements limits (like cpu limits, memory
limits....) inside a jail ?

or already exists anything to do it ?

thanks a lot.


You can check sysctl MIB entries for security.jail.*

Using login.conf you can control resource limits and account limits. Take a look at man login.conf maybe it can help you on your situation.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • [SoC] Jail Resource Limits
    ... folks: I've completed the Summer of Code work on the jail resource limits; jails can now have soft-ish limits placed on their memory and CPU usage. ... Briefly, when a jail uses more memory than its limit, pages are clawed back by a new kernel process, jpager. ... When a jail uses more CPU time in proportion to total CPU time used than the number of its CPU usage shares to the total CPU usage shares, its processes are dropped in priority until it's had its fair share of the total CPU time; if there are no other processes that want to run, they'll use up as much CPU time as they otherwise would. ...
    (freebsd-hackers)
  • Re: [RFC][0/3] Virtual address space control for cgroups (v2)
    ... I thought I addressed some of those by adding a separate config option. ... I am not against making it a separate controller. ... Trying to account/control physical memory or swap usage via virtual ... you suggested that VA limits provide a "soft-landing". ...
    (Linux-Kernel)
  • SUMMARY: Out of Memory Message in Huge amount of Files
    ... reads in the directory information, it has to sort it, since it's not in any ... memory to hold the name strings (as well as the node numbers and some other ... Another is to relax the memory limits. ... and data space in shell scripts where I need to use "ls" in directories with ...
    (Tru64-UNIX-Managers)
  • Re: [RFC][0/3] Virtual address space control for cgroups (v2)
    ... Trying to account/control physical memory or swap usage via virtual ... you suggested that VA limits provide a "soft-landing". ... memory controller configured. ... example would work for free if they were two separate subsystems. ...
    (Linux-Kernel)
  • Re: Maximum filesize?
    ... I found some information on Charles Williams's site concerning Memory Limits ... Excel 2003 has a substantially increased memory capacity I have successfully ... to save the backup copy. ...
    (microsoft.public.excel.worksheet.functions)