Hi,

What is the best way to automatically close all the parent socket file
descriptors in a child process after doing fork and exec?

In our application, we fork process at two levels, and we use ZeroMQ
scokets at each level. We notice that socket  file descriptors are being
copied to child process and at some point during stress test, tcp ports are
blocked. May be due to increased number of open socket descriptors.

Regards,
Jithendra
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to