>> Documentation available:
>>
>> http://projects.unbit.it/uwsgi/wiki/UseCgroups
>>
>> Thanks for testing (and abusing) it
>
> This is certainly an interesting thing, but maybe in the near future
> we could be using systemd to start uwsgi instances and set the
> cgroups.


Yes, in that case you use systemd. But i do not think that distros like
slackware will move to it :P

Another step forward will be using cgroup data to gather uWSGI statistics
and proactively take decisions. Example:

if memory.failcnt > X : uwsgi.reload()


>
> Anyway, from what I've read on LKML regarding cgroups and systemd, the
> official place for the cgroups filesystem will be under
> /sys/fs/cgroup/ where systemd will create its own hierarchy under
> /sys/fs/cgroup/systemd-<something> so maybe uwsgi should pick that
> scheme too?

For now i prefer letting it "free" as lot of current(/past) distro mount
cgroup fs whatever they want (in the official doc you will se mounting
under /dev/cgroup [oh my god...])


-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to