Messages in this thread |  | | Date | Wed, 3 Jan 2001 14:12:20 +0100 | From | Ingo Oeser <> | Subject | Re: [PATCH] VM fixes + RSS limits 2.4.0-test13-pre5 |
| |
On Wed, Jan 03, 2001 at 09:43:54AM -0200, Rik van Riel wrote: > On Fri, 28 Dec 2000, Mike Sklar wrote: > > If I wanted to adjust the rlim_cur value of a running > > processes, is there any sort of interface for that? > > Hmmm, I don't think there is an interface to adjust the > per-process ulimit settings on-the-fly ... > > Does anybody know if there's an interface for this ?
If you don't mean "kill -TERM", no there isn't. It would be evil to the process anyway.
Some[1] programs ask their resource limits on startup to scale to a sane amount of memory usage for caching, operation buffers and the like. If your readjust it to sth. smaller, they'll be killed soon and if you readjust to sth, bigger, they wouldn't use it.
Regards
Ingo Oeser
[1] I would like to write "most programs", but most programs assume, that they will never run out of memory and leave it to the administrator/user to care for this issue :-( -- 10.+11.03.2001 - 3. Chemnitzer LinuxTag <http://www.tu-chemnitz.de/linux/tag> <<<<<<<<<<<< come and join the fun >>>>>>>>>>>> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |