4 ms·
It really does not need much code in C, here is a simple init https://github.com/arachsys/init/blob/master/init.c https://github.com/arachsys/init/blob/master/i
by justincormack 12y ago
It really does not need much code in C, here is a simple init https://github.com/arachsys/init/blob/master/init.c https://github.com/arachsys/init/blob/master/init.c for example.
In particular you want to avoid memory allocation so it cannot fail even in low memory situations, which you cannot guarantee with Python. That means you might die reaping children with low memory which would kill your container.