On 28/09/2015 00:40, Alexander Zubkov wrote:
is I need a tool, to which I will pass number of workers I need and program, then it will spawn given number of identical programs and will keep them alive? I tried to google something, but may be I used bad keywords?
I think "preforking server" is the keyword you want. s6-networking doesn't do preforking. It's hard to do without support from the program itself, because you need a minimal API to declare a new connection assignment, an EOT, etc. I'm not sure whether a generic preforking tool exists. -- Laurent