ulimit (was: getty/login for callback)

T. William Wells bill at twwells.uucp
Tue Apr 18 15:02:51 AEST 1989


In article <628 at eecea.eece.ksu.edu> terry at eecea.eece.ksu.edu (Terry Hull) writes:
: It is designed to keep processes from accidentally filling up file
: systems.  Here is an example:  I write a program that does a few
: calculations and writes the results to a disk file.  The program is
: supposed to terminate after 100 iterations, but I forget to increment
: the counter on the way through the loop.  The program ends up going
: through 1,000,000 iterations.  I do not even notice because I am
: running the process in the background.  With no ulimit, I can fill
: up a file system totally by accident.

This is what I heard, also. But it fails to explain why increasing
ones ulimit is restricted to root. If ulimit is only a safety belt,
there isn't any good reason for preventing one from tightening or
loosening it as needed.

---
Bill                            { uunet | novavax } !twwells!bill
(BTW, I'm may be looking for a new job sometime in the next few
months.  If you know of a good one where I can be based in South
Florida do send me e-mail.)



More information about the Comp.bugs.sys5 mailing list