Re: [systemd-devel] cgroup use case for preventing a system lock up if say a browser exhausts memory

2012-11-13 Thread Thomas Bächler
Am 13.11.2012 07:53, schrieb Kai Hendry: > I'm interested in a general systemd framework example of a system > process resource limited. Do you have one you can point me to? http://0pointer.de/blog/projects/resources.html signature.asc Description: OpenPGP digital signature ___

Re: [systemd-devel] cgroup use case for preventing a system lock up if say a browser exhausts memory

2012-11-13 Thread Peter Sztan
On Tue, Nov 13, 2012 at 7:53 AM, Kai Hendry wrote: > On 12 November 2012 19:35, Colin Guthrie wrote: >> When launching firefox becomes a "user unit", then it will be contained >> within it's own cgroup and can have resource limits imposed with >> relative ease. > > Thanks Colin for your reply. >

Re: [systemd-devel] PATCH: Integration with Python logging framework

2012-11-13 Thread Zbigniew Jędrzejewski-Szmek
Hi, On Mon, Oct 15, 2012 at 11:30:09PM +0300, Marti Raudsepp wrote: > systemd fields and concluded that the approach I've taken with the > patch is too simplistic. I'd like to arrive at an API that makes it > easy to use journal, but is generic enough to be useful for other use > cases too. These

Re: [systemd-devel] PATCH: Integration with Python logging framework

2012-11-13 Thread Zbigniew Jędrzejewski-Szmek
Hi, I went ahead and merged the patch with some small changes, please have a look. JournalHandler is already useful right now, but the question how to log fields other than MESSAGE_ID remains open. Might be worthwhile to take the subject to python-dev for ideas. Zbyszek _

Re: [systemd-devel] cgroup use case for preventing a system lock up if say a browser exhausts memory

2012-11-13 Thread Kai Hendry
On 12 November 2012 19:35, Colin Guthrie wrote: > When launching firefox becomes a "user unit", then it will be contained > within it's own cgroup and can have resource limits imposed with > relative ease. Thanks Colin for your reply. I'm interested in a general systemd framework example of a sy