Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Limit ram usage user Vestapanel

General questions about VestaCP
Post Reply
  • Print view
Advanced search
16 posts
  • 1
  • 2
  • Next
daansk44
Posts: 56
Joined: Tue Sep 06, 2016 7:21 pm

Os: CentOS 6x
Web: apache + nginx
Limit ram usage user Vestapanel
  • Quote

Post by daansk44 » Tue Sep 06, 2016 7:39 pm

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
Top

pamorgos
Posts: 10
Joined: Fri Sep 09, 2016 9:47 am

Re: Limit ram usage user Vestapanel
  • Quote

Post by pamorgos » Fri Sep 09, 2016 10:45 am

I second this question.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Limit ram usage user Vestapanel
  • Quote

Post by skurudo » Fri Sep 09, 2016 1:21 pm

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.
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Limit ram usage user Vestapanel
  • Quote

Post by dpeca » Fri Sep 09, 2016 1:39 pm

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.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Limit ram usage user Vestapanel
  • Quote

Post by skurudo » Mon Sep 12, 2016 11:38 am

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.
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Limit ram usage user Vestapanel
  • Quote

Post by dpeca » Mon Sep 12, 2016 11:57 am

As I know, php-fpm can limit memory and cpu per user, but it must be manualy configured :)
Top

durjoy
Posts: 66
Joined: Thu Oct 16, 2014 12:56 pm

Re: Limit ram usage user Vestapanel
  • Quote

Post by durjoy » Fri Sep 16, 2016 1:12 am

CloudLinux, I am using cloudlinux with cpanel on couple of my servers.
its well worth trying.
Top

huloza
Posts: 32
Joined: Thu Jul 28, 2016 5:15 am

Re: Limit ram usage user Vestapanel
  • Quote

Post by huloza » Fri Sep 16, 2016 2:18 am

with php-fpm in your site pool config:

Code: Select all

php_admin_value[memory_limit] = 256M
Regards!
Top

daansk44
Posts: 56
Joined: Tue Sep 06, 2016 7:21 pm

Os: CentOS 6x
Web: apache + nginx
Re: Limit ram usage user Vestapanel
  • Quote

Post by daansk44 » Fri Sep 16, 2016 3:02 pm

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
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Limit ram usage user Vestapanel
  • Quote

Post by skurudo » Wed Sep 28, 2016 2:21 pm

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
Top


Post Reply
  • Print view

16 posts
  • 1
  • 2
  • Next

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password