Page 1 of 2

Limit ram usage user Vestapanel

Posted: Tue Sep 06, 2016 7:39 pm
by daansk44
Hey guys :)

First of all, I love vestapanel <3.
Second of all is it possible to set a maximum of the ram an user can use?

For example, an website of an user can use a max of 265 MB.
Cheers

Daan

Image

Re: Limit ram usage user Vestapanel

Posted: Fri Sep 09, 2016 10:45 am
by pamorgos
I second this question.

Re: Limit ram usage user Vestapanel

Posted: Fri Sep 09, 2016 1:21 pm
by skurudo
daansk44 wrote:First of all, I love vestapanel <3.
We too ^_^
daansk44 wrote:Second of all is it possible to set a maximum of the ram an user can use?
From the box - no.
You can limit php memory with hosting template.

Re: Limit ram usage user Vestapanel

Posted: Fri Sep 09, 2016 1:39 pm
by dpeca
skurudo wrote:You can limit php memory with hosting template.
But it's a memory per PHP proccess, not per user.

I think php-fpm can limit memory per user.

Re: Limit ram usage user Vestapanel

Posted: Mon Sep 12, 2016 11:38 am
by skurudo
dpeca wrote:
skurudo wrote:You can limit php memory with hosting template.
But it's a memory per PHP proccess, not per user.
I think php-fpm can limit memory per user.
Well it's same with hosting template, but per process, yes.
This thing like limits for users will be in future, we plan do something like this.

Re: Limit ram usage user Vestapanel

Posted: Mon Sep 12, 2016 11:57 am
by dpeca
As I know, php-fpm can limit memory and cpu per user, but it must be manualy configured :)

Re: Limit ram usage user Vestapanel

Posted: Fri Sep 16, 2016 1:12 am
by durjoy
CloudLinux, I am using cloudlinux with cpanel on couple of my servers.
its well worth trying.

Re: Limit ram usage user Vestapanel

Posted: Fri Sep 16, 2016 2:18 am
by huloza
with php-fpm in your site pool config:

Code: Select all

php_admin_value[memory_limit] = 256M
Regards!

Re: Limit ram usage user Vestapanel

Posted: Fri Sep 16, 2016 3:02 pm
by daansk44
durjoy wrote:CloudLinux, I am using cloudlinux with cpanel on couple of my servers.
its well worth trying.
I just want to use VestaCP haha

Re: Limit ram usage user Vestapanel

Posted: Wed Sep 28, 2016 2:21 pm
by skurudo
durjoy wrote:CloudLinux, I am using cloudlinux with cpanel on couple of my servers.
its well worth trying.
We think about this option, but users don't know about it or don't use? Not so popular idea.
https://bugs.vestacp.com/issues/305