Emil Kroymann writes:
hm, don't know, what is happening for you? I thought, the child_init function is called at least once with rank <= 0 before the fork and then after the fork in every child process with rank > 0. And if the connection is already openend before the fork, it is not openend again in the child process.
ok, i tested it and your patch worked as you explained. i'll cherry pick the commit to 3.3.
-- juha