/srv/irclogs.ubuntu.com/2015/06/05/#upstart.txt

=== Cidan is now known as zz_Cidan
l3onHi All.. I'm trying to run bash via upstart and prevent users to have a max num of process children in that session .. is it possible you think ?14:47
xSmurfl3on: sounds like you want cgroups15:34
l3onthat's what I'm looking at right now ... xSmurf 15:37
l3onbut I can't find a max.tasks settings15:37
xSmurfyeah now that I think of it I don't think there is such a setting15:44
xSmurfbecause it could be dangerous as the kernel can't tell whether a process is actually critical or not, CPU limiting is not good enough for you?15:44
l3onSo, since I want prevent forkbomb .. which limits of cpus and memory you think can be used ?15:45
xSmurfI see15:45
xSmurfyou want a per user ulimit I guess15:45
l3onIt's odd .. my users connect to my docker with same username15:46
l3onso I can't have it by user, I have to create a cgroup at each connection15:46
l3onI would like to understand what limits can I use ..15:46
xSmurfif they are all sharing the same user then I don't know15:47
l3onthey are15:47
xSmurfif they had their own accounts then ulimit would work15:47
l3onI know .. just my architectures does not work with ulimit15:48
xSmurfwhy can't they all have their own user and share a group instead?15:48
l3ondunno, not my choice15:48
xSmurfI see15:48
xSmurfin that case I have no idea, sorry15:48
=== zz_Cidan is now known as Cidan
=== Cidan is now known as zz_Cidan
=== zz_Cidan is now known as Cidan
mustmodifyHey, I've been using upstart in trivial ways for a while. I'm looking at using it to manage resque *and* my www service... is there an easy way to have `sudo start app` start both `app-resque` and `app-www` ?21:37
=== Cidan is now known as zz_Cidan
=== zz_Cidan is now known as Cidan

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!