/srv/irclogs.ubuntu.com/2011/09/14/#upstart.txt

jMCgI'm thinking out loud here, but would it make sense to support something like taskset(1) or sched_setaffinity(2) for that matter, in upstart?02:27
phirox_looks like upstart follows fork or spawned children of a process it's monitoring, any way to turn that behaviour of? it leads to a lot of overhead coming from the init process09:40
jhuntout of interest, have you measured that overhead and found it to be too high for your environment?09:45
phirox_it is the #1 process measured in cputime :)09:49
jhuntUpstart only uses ptrace for "expect fork" and "expect daemon". The overhead of using ptrace is negligible for starting such jobs.09:51
phirox_ah ok, well I made a nagios init. what happens is that everytime nagios spawns a process, somehow init gets triggered09:54
phirox_this is what init does in a strace: http://pastebin.com/JSkKFE7p09:55
jhuntupstart reaps zombie processes (as do all init systems). That is correct behaviour and not something you can (or would want to) turn off.09:58
phirox_ok thanks, I'll look for another way then09:59
jhuntI'm confused. Is there a problem with upstart on your system?09:59
phirox_actually no, I think I just understand what you mean. doesn't matter how I start these 1000's of processes. init still has to check them10:00
phirox_so this isn't really an issue, probally more of a misunderstanding on my part :)10:00
jhuntyes. If init didn't do this, your process table would eventually fill up with zombies, which might eventually kill the system.10:01
phirox_yeah, makes sense. thanks for explaining10:09
jhuntno problem10:09

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