Page 2 of 2

Re: Limit ram usage user Vestapanel

Posted: Thu Sep 29, 2016 2:38 pm
by daansk44
I am using Cloud Linux with Cpanel too, but I love the idea that things are opensource.
Cloud linux isn' t open source (as far as I know).

Beside that, I like Vesta panel more then Cpanel, Direct admin, ISPconfig, EHCP panel, Webmin etc
It has almost everything you need.

It is the question of what you want to offer, Do you want your software to be used more commercial. Then the answer is yes.
If the software is being used for small projects (individuals), do you need it cloud linux then? Or is this a sin of your time.

I will probably not use it, since I mostly host websites of small businesses and voluntary organizations with a small budget.

Re: Limit ram usage user Vestapanel

Posted: Tue Jun 27, 2017 10:19 am
by michacassola
Please open an extra thread if you want to discuss anything about cloudlinux.
Cloudlinux is a paid option and wouldn't make sense with vestacp. If you have 10 bucks a month for an OS you have 10 bucks a month for cpanel or plesk or whatever.

I wanted to ask about the RAM limit for users.
Has anything happened in this regard?
Will something happen?

It would be very cool to be able to limit a user in every apsect so that in a shared environment no resources are "stolen".

Best
Micha

Re: Limit ram usage user Vestapanel

Posted: Fri Jun 30, 2017 6:09 pm
by michacassola
If anybody is interested in this Feature please Vote here for Cgroups which is the Linux Feature that will make RAM or CPU Limits possible: (have to register first):
https://bugs.vestacp.com/issues/84

Re: Limit ram usage user Vestapanel

Posted: Tue Jan 23, 2018 1:30 pm
by vikhyat
This can be achieved with the help of CGroups. You can have a look at this blog post https://blog.flaunt7.com/managing-resources-cgroups/ .
But limiting using CGroups is a bit complex and if proper implementation is not done then it can even cause crashes.

Re: Limit ram usage user Vestapanel

Posted: Tue Jan 23, 2018 1:38 pm
by daansk44
I don't know to be honest. I like vestaCP because it's free

Re: Limit ram usage user Vestapanel

Posted: Tue Jan 23, 2018 2:39 pm
by michacassola
Yes you are right, Cgroups are the preferred mechanism, that is why the idea report under bugs.vestacp.com that I linked referrs to Cgroups.

However, cgroups cannot limit the same mysql server with different users can it?
If it can then please give me a link of a tutorial or something that explains how.

If it cant then would it not be better to switch to docker backends for those services?
Docker lets you very easily run a mysql container with RAM and CPU limits for example.
With docker containers as all the vesta services (php-fpm, nginx, mysql...) the limits would be easy and vesta would not be a legacy app anymore but up to date.
Mailcow did the same and they have docker backends.
I think this should be the way to go!

If you agree then please submit your votes here:
https://bugs.vestacp.com/issues/450

Please sign up to bugs.vestacp.com if you read this and vote for that!
Then the team can see this is something that should be done.

I am convinced that containers/docker is the future!