hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Software and Control Panels : Limit CPU & Memory Cpanel
Reply

Forum Jump

Limit CPU & Memory Cpanel

Reply Post New Thread In Hosting Software and Control Panels Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-02-2009, 10:50 AM
hostcadet hostcadet is offline
Junior Guru Wannabe
 
Join Date: Mar 2008
Posts: 90

Limit CPU & Memory Cpanel


Is there a way to limit one certain accounts cpu and memory useage in Cpanel?



Sponsored Links
  #2  
Old 06-02-2009, 11:30 AM
ServerManagement ServerManagement is offline
Platinum quality
 
Join Date: Jul 2005
Location: New Jersey, US
Posts: 1,351
Unfortunately there is no effective practical way to do this because of the way the services like apache/mysql/exim/etc work. There are some programs that will attempt this but they usually are not too accurate or effective.

You can check into programs like CSF, SIM, PRM, etc. to do tracking/limiting.

__________________
PlatinumServerManagement (also known as PSM)
The OLDEST and LARGEST and MOST TRUSTED server management provider in the USA, with 15+ employees and growing!
Providing quality support for OVER 14 years! Currently supporting over 3,000 servers monthly!

www.PlatinumServerManagement.com Proud member of the NJ BBB & Chamber of Commerce, and Authorized Cpanel Partner.


  #3  
Old 06-02-2009, 11:39 AM
hostcadet hostcadet is offline
Junior Guru Wannabe
 
Join Date: Mar 2008
Posts: 90
Quote:
Originally Posted by ServerManagement View Post
Unfortunately there is no effective practical way to do this because of the way the services like apache/mysql/exim/etc work. There are some programs that will attempt this but they usually are not too accurate or effective.

You can check into programs like CSF, SIM, PRM, etc. to do tracking/limiting.

So I guess the solution would be to put them on a VPS where they would be limited.

Sponsored Links
  #4  
Old 06-02-2009, 11:44 AM
serversignature serversignature is offline
Junior Guru Wannabe
 
Join Date: Mar 2009
Location: Bangalore
Posts: 41
see /etc/security/limits.conf. It would be a good idea to review the default settings of system resource.

ulimit
Provides control over the resources available to the shell and to processes started by it, on systems that allow such control.
-a All current limits are reported

__________________
Serversignature.com - Professional Linux Consulting.

  #5  
Old 06-02-2009, 11:48 AM
hostcadet hostcadet is offline
Junior Guru Wannabe
 
Join Date: Mar 2008
Posts: 90
That seems more for limiting all. But I just want to focus on a certain account. Thanks though.

  #6  
Old 06-02-2009, 01:33 PM
serversignature serversignature is offline
Junior Guru Wannabe
 
Join Date: Mar 2009
Location: Bangalore
Posts: 41
/etc/security/limits.conf can be used in Controlling resource usage for a group or user. You may be able to give each user a larger limit in the /etc/security/limits.conf file. Something like the following will increase the users file limit:

john hard nofile 16384

please check man pages.

limits.conf (5) - configuration file for the pam_limits module

__________________
Serversignature.com - Professional Linux Consulting.

  #7  
Old 06-02-2009, 01:34 PM
hostcadet hostcadet is offline
Junior Guru Wannabe
 
Join Date: Mar 2008
Posts: 90
I don't have that file.

  #8  
Old 06-02-2009, 01:43 PM
serversignature serversignature is offline
Junior Guru Wannabe
 
Join Date: Mar 2009
Location: Bangalore
Posts: 41
libpam-modules is associated with the file /etc/security/limits.conf

__________________
Serversignature.com - Professional Linux Consulting.

  #9  
Old 06-02-2009, 02:06 PM
PCS-Chris PCS-Chris is offline
VPS Guru
 
Join Date: Dec 2005
Location: Berkshire, UK
Posts: 2,986
The best thing to do is implement additional software and enable extended logging on services, so that when you start to see issues it can be tracked / or avoided before it happens.

You can limit the memory usage of particular services but there is nothing really which can do that on the user level. Although I hear bluehost I think? Had a solution for this, something on the kernel level I believe. Sounds interesting

  #10  
Old 06-02-2009, 03:36 PM
hostcadet hostcadet is offline
Junior Guru Wannabe
 
Join Date: Mar 2008
Posts: 90
Ok thanks very much.

  #11  
Old 06-02-2009, 03:57 PM
jrianto jrianto is online now
How Can I Help You Today?
 
Join Date: Oct 2002
Location: Langley, BC
Posts: 1,547
I think CSF will help you out

__________________
Offer Your Own Backup Hosting Service - SiteAutoBackup.Com (Private Label / WHMCS Ready)
We Have Generated Over 5 Million Backups - Are You & Your Clients Covered?
WebHostingBusinessBook.Com | YouTube.com/WebHostingTutorial | NowOpenOnline.Com

  #12  
Old 08-31-2009, 04:44 AM
vidaa vidaa is offline
Newbie
 
Join Date: Aug 2009
Posts: 7
I read your suggestions about limiting cpu usage,but the thing that i exactly want is to limit the percentage of cpu usage for all my users not to limit the number of processes,if anyone had any iadea,please suggest me?thanks alot

  #13  
Old 08-31-2009, 10:10 AM
rustelekom rustelekom is offline
Telecommunication operator
 
Join Date: May 2002
Location: Russia, Moscow
Posts: 1,460
You can't do that without patching O/S kernel and apache and php. It is not so easy work and expected cost for realizing such things is about 2000 USD if not more.

__________________
Robobill.net Dedicated server since 2002, RIPE NCC member, LIR, AS51168

  #14  
Old 09-08-2009, 09:17 AM
ttgt ttgt is offline
Web Hosting Master
 
Join Date: Mar 2009
Posts: 2,117
Quote:
Originally Posted by jrianto View Post
I think CSF will help you out
does csf not only notify ?

it also sopport limit?


thanx

  #15  
Old 09-19-2009, 02:18 PM
mrzippy mrzippy is offline
Mr. Awesome
 
Join Date: Jul 2002
Posts: 5,899
Have a look here:

http://www.mattheaton.com/?p=208

Maybe see if he will sell it to cpanel?

__________________
Want to sell domain names? Sign up today for an eNom.com reseller account from a trusted eNom ETP provider.
* We provide support and service to over 3245 happy eNom domain name and SSL certificate resellers!

Reply

Related posts from TheWhir.com
Title Type Date Posted
CloudLinux Releases New Inode Limits Feature for cPanel Web Hosting News 2013-08-28 16:38:27
Hosting Control Panel cPanel & WHM 11.34 Release Hits Stable Tier Web Hosting News 2012-11-12 17:04:57
cPanel Releases cPanel, WHM 11.34 with New User Interface Web Hosting News 2012-10-16 13:09:49
cPanel Conference 2012: Branding and How to Do it Better with Felipe Gasper Web Hosting News 2012-10-09 18:00:02
Video: cPanel and Attracta Talk About Integrating SEO Tools into the Hosting Control Panel Whir Tv 2013-10-05 05:55:56


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?