Skip to content

Commit f506a57

Browse files
committed
re-initialize libevent in order to reopen epoll fd
1 parent 0901af0 commit f506a57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sapi/fpm/fpm/fpm_children.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ int fpm_children_make(struct fpm_worker_pool_s *wp, int in_event_loop, int nb_to
373373
switch (pid) {
374374

375375
case 0 :
376+
event_init(); /* reopen epoll descriptor */
376377
fpm_child_resources_use(child);
377378
fpm_globals.is_child = 1;
378379
if (in_event_loop) {

0 commit comments

Comments
 (0)