On 2015-04-20 16:01, François Schiettecatte wrote: > I did a little research on this and found cpulimit, you can also > use nice and renice,
Yes, nice/renice and their I/O friend ionice (in my Debian installation, it's part of the "util-linux" package) work quite nicely. It's the memory-limiting that I wish would work. > and (on fedora core 21 at least) you can do > 'cat /proc/###/status’ where ### is the process ID which will give > you memory stats on a process. Not ideal but you can wrap all of > these in some python to make it easier to manage. Yes, I suppose you could have a watch-dog that will monitor memory usage and then kill the process. I'd rather the process get an out-of-memory error if it tried surpassing a set threshold (what ulimit is *supposed* to do). -tkc -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/20150420160642.62433676%40bigbox.christie.dr. For more options, visit https://groups.google.com/d/optout.