hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : How to limit resources ? (cpu, memory usage)
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

How to limit resources ? (cpu, memory usage)

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-06-2007, 06:43 PM
GreenSea GreenSea is offline
New Member
 
Join Date: Aug 2007
Posts: 1

How to limit resources ? (cpu, memory usage)


Hi

How can I limit my dedicated server's resources ? For example, one of reseller provider's limits :

Quote:
Resellers may not use more than 2% CPU daily, 3% memory daily, run more than 10 simultaneous processes per user, allow any process to run for longer than 30 seconds CPU time, run any process that consumes more than 20% of available CPU at any time, or run any process that consumes more than 16 MB of memory. Databases are limited to 16 max user connections with a max query time of 8 seconds. Cron jobs must not execute more than once every 15 minutes and will be niced to 15 or greater.
From where or how can I configure these limits ?

Thanks for helpful replies..

Reply With Quote


Sponsored Links
  #2  
Old 09-06-2007, 10:05 PM
Annex Annex is offline
Web Hosting Evangelist
 
Join Date: Jul 2007
Posts: 522
You can't on a shared server, all you can do is suspend clients that don't follow your ToS and overuse resources.

__________________
Looking for Work level 1-3 Support Tech, Sales/billing tech, Odd management Jobs, and PHP/Mysql small jobs.
PM me or drop me an email at mm(AT)gotannex(dot)com
http://monitor.gotannex.com/

Reply With Quote
  #3  
Old 09-06-2007, 11:34 PM
david510 david510 is offline
Web Hosting Master
 
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,617
GreenSea,

You can configure this. But, will need to write script for this and should run this as a deamon, so that, it checks all user processes and apply the limit. With mere tweaking of the server and configuration changes, this kind of limitations cannot be achieved.

__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
iWebManager | Access WHM from iPhone and Android

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Jelastic Introduces Pricing Model with Autoscaling, Volume Discounts Web Hosting News 2013-03-20 15:50:25
Open Data Center Alliance Adds Frameworks for Software Entitlement, Data Security Web Hosting News 2013-03-14 15:33:01
Web Host ServInt Updates to Jelastic v1.9 Web Hosting News 2013-03-04 14:24:05
CloudLinux Releases New LVE Manager Control Panel Plugin Web Hosting News 2012-09-04 10:36:10
Green Grid, Open Data Center Alliance to Drive Efficient Cloud Standards Web Hosting News 2011-11-09 15:03:49


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?