commit | fb8983f21b69f3341fc5a4076ab3c98887d16463 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Jun 03 16:40:44 2007 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jun 03 16:40:44 2007 +0200 |
tree | 7b0d1a4194fc360e95cb650b6aad331e828c28f1 | |
parent | ab3e1d313cc581ffa96530579cfa6580b2248f50 [diff] |
[BUG] the epoll FD must not be shared between processes Recreate the epoll file descriptor after a fork(). It will ensure that all processes will not share their epoll_fd. Some side effects were encountered because of this, such as epoll_wait() returning an FD which was previously deleted, in multi-process mode.