On Jul 13, 2018, at 8:58 PM, Warren Young <war...@etr-usa.com> wrote: > > On Jul 13, 2018, at 7:09 PM, Richard Hipp <d...@sqlite.org> wrote: >> >> So, if you want to use the rate limiting feature on >> Linux, you will need /proc mounted in your chroot jail. I wish there >> were a better way… > > That’s actually one of the older features of cgroups. Maybe take a look?
Reference: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/resource_management_guide/sec-cpu This isn’t quite the same thing as your current system, which cuts off service entirely when the load is high, but I think it’s more useful: allow a single process to use the whole CPU, but when there’s competition for the CPU, limit each one to a specific amount as needed to give each cgroup-controlled process a predetermined minimum slice. This part of cgroups was created specifically for the sorts of purpose you’re interested in: preventing one process from hogging the system when there are many non-cooperating processes running on the same hardware, as with multi-tenant VM hosting. _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users