zsh-workers
 help / color / mirror / code / Atom feed
* Bug in ulimit ?
@ 2007-04-17  9:00 David Peer
  2007-04-17  9:30 ` Micah Cowan
  0 siblings, 1 reply; 21+ messages in thread
From: David Peer @ 2007-04-17  9:00 UTC (permalink / raw)
  To: zsh-workers

Hi,


I'm using zsh 4.3.2-25 on debian, and noticed that when any user run: 
ulimit -t 0

from its shell, he manages to disable the cputime limitation if any.


for example:

I have a debian system that has cpu time limitation of 1 minute soft, 
and 2 minutes hard.

If the user run: ulimit -t 0, he can run jobs without any cputime 
limitation:


The soft limit:

<2|0>dib@mafalda:~> limit | grep cputime
cputime      1:00


The hard limit:

<5|0>dib@mafalda:~> ulimit -t unlimited

<6|0>dib@mafalda:~> limit | grep cputime

cputime      2:00


So far so good.

But:


<7|0>dib@mafalda:~> ulimit -t 0

<8|0>dib@mafalda:~> limit | grep cputime

cputime         0:00:00


Now the user can run processes without cpu time limitation.

You can see the output from "top" command, that it ran the job 
"testload" for more then 6 minutes.


4754 dib       30   5  1556  336  276 R 97.0  0.1   6:16.52 testload


Thanks in advanced,

David Peer.




^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2007-04-18 10:11 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-17  9:00 Bug in ulimit ? David Peer
2007-04-17  9:30 ` Micah Cowan
2007-04-17  9:33   ` David Peer
2007-04-17  9:42   ` Stephane Chazelas
2007-04-17 10:04     ` Micah Cowan
2007-04-17 10:43       ` Stephane Chazelas
2007-04-17 10:55         ` Micah Cowan
2007-04-17 12:53           ` Stephane Chazelas
2007-04-17 13:03             ` Stephane Chazelas
2007-04-17 13:24               ` Stephane Chazelas
2007-04-17 13:34                 ` Stephane Chazelas
2007-04-17 13:54                   ` David Peer
2007-04-17 13:57                     ` David Peer
2007-04-17 15:02                   ` [OT] " Stephane Chazelas
2007-04-17 10:49       ` Micah Cowan
2007-04-17 14:15   ` Tom Alsberg
2007-04-17 15:48     ` David Peer
     [not found]     ` <20070417151501.GH4955@sc.homeunix.net>
2007-04-18  7:46       ` (Off-Topic) " Tom Alsberg
2007-04-18  8:22         ` Stephane Chazelas
2007-04-18  9:23           ` (Off-Topic) Bug in ulimit? Tom Alsberg
2007-04-18 10:10             ` Stephane Chazelas

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).