Solved

limit a user's resource usage

Posted on 2002-04-21
2
208 Views
Last Modified: 2010-03-04
hi,
I am running a linux server (RH) to host some domains, using Apache 1.3.23.


Some of my clients use CGI, and they make my server very high loading at peak hrs.

Do you know any methods to limit the usage of CPU/MEM/resources of a particular user?
(I use SUEXEC for CGI programs.)

0
Comment
Question by:stanleyhuen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
samri earned 100 total points
ID: 6958700
I doesn't seems to find any resources for controlling CPU usage.  The most I can suggest is; mod_throttler which should enable you to controll bandwith usage.
 http://www.snert.com/Software/mod_throttle/

Perhaps, the cpu/mem coould be controlled at the OS level.


0
 
LVL 1

Expert Comment

by:malsoft
ID: 6985881
stanleyhuen,

You might want to look into the use of login classes to restrict the amount of CPU time/memory etc that a particular user/group uses. The only problem with that is that CPU usage is defined as being time-based and not percentage-based, so a process can execute with almost 100% CPU usage, but only for a short time...

More info can be found here:

http://www.freebsd.org/handbook/users-limiting.html

http://www.freebsd.org/cgi/man.cgi?query=login.conf&sektion=5

I know it's not RH specific, but it should give you enough info to make a start.

Regards
Mark
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question