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 the amount of ram memory used by a user

General questions about VestaCP
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
Daimko
Posts: 27
Joined: Sun Mar 26, 2017 9:43 pm

Os: Debian 7x
Web: apache + nginx
Limit the amount of ram memory used by a user
  • Quote

Post by Daimko » Sun Mar 26, 2017 9:46 pm

Hello,
How to limit the amount of ram memory used by a user ?
Thanks in advance for your help.
Top

Daimko
Posts: 27
Joined: Sun Mar 26, 2017 9:43 pm

Os: Debian 7x
Web: apache + nginx
Re: Limit the amount of ram memory used by a user
  • Quote

Post by Daimko » Fri Mar 31, 2017 8:20 am

Nobody has an idea ?
Thank you in advance for your help.
Top

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

Re: Limit the amount of ram memory used by a user
  • Quote

Post by skurudo » Fri Mar 31, 2017 9:31 am

ram memory used by a user for php/apache/mysql? Nope
You can can easyly limit php ram for user account, but if you need more, sorry.
Top

Daimko
Posts: 27
Joined: Sun Mar 26, 2017 9:43 pm

Os: Debian 7x
Web: apache + nginx
Re: Limit the amount of ram memory used by a user
  • Quote

Post by Daimko » Fri Mar 31, 2017 10:01 am

The idea was to dedicate a quantity of RAM per user, a solution ?
Thank you in advance for your help.
Top

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

Re: Limit the amount of ram memory used by a user
  • Quote

Post by skurudo » Mon Apr 03, 2017 9:59 am

Not really, but it's close
You can use hosting template with modifications -> php memory_limit
Top

vikhyat
Posts: 91
Joined: Wed Sep 14, 2016 5:39 pm

Re: Limit the amount of ram memory used by a user
  • Quote

Post by vikhyat » Tue Jan 23, 2018 1:29 pm

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


Post Reply
  • Print view

6 posts • Page 1 of 1

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