[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Limit CPU
- Subject: RE: [cobalt-users] Limit CPU
- From: <rpaiz@xxxxxxxxxxxxxx>
- Date: Thu Nov 2 10:09:01 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> Does anyone know of a way to limit how much CPU CGI scripts
> can use? I have heard of a couple people running Linux boxes
> who have done this but I am unaware if this is a standard
> feature of Linux.
Not what you're looking for, but check out the "nice" command,
which allows you to adjust the priority of any process. So if
you call a CGI script and set it at a very low priority, this
will have some effect. At least it will not "take over" the
server, but will cede CPU cycles to other, higher-priority
processes.
--
Rodolfo J. Paiz
rpaiz@xxxxxxxxxxxxxx <mailto:rpaiz@xxxxxxxxxxxxxx>