hello , i’m new with virtualmin pro.
i found edit resource limit
i would try to limit some virtual server,
this is my hardware server 8vcpu 16gb ram 240gb nvme
i see only
Maximum number of processes
Maximum size per process
Maximum CPU time per process
i would limit a virtual server to use 2cpu and 4gb ram, how can do that?
Virtualmin is for virtual hosting aka shared hosting NOT VPS hosting. I know the terminology “virtual servers” can confuse some, but you are not creating VPS’ with Virtualmin.
It is possible using cgroups (on any modern system using systemd, anyway), but Virtualmin doesn’t yet have support for that kind of thing. I’ve talked about how one might use it in a Virtualmin system in the past on the forum if someone wanted to search that up. Server Templates and pre/post modify scripts are very powerful and flexible, but it would need a bit of scripting to make it work.
It’s on our roadmap to add cgroups support for resource management, but I can’t put any remotely firm date on that. It’s pretty far out, I think, probably in Virtualmin 8 in a year or two.