[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Limit CPU



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