|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2014-04-20 23:25 UTC] stas@php.net
[2014-04-20 23:25 UTC] stas@php.net
-Status: Open
+Status: Closed
[2014-04-20 23:25 UTC] stas@php.net
[2014-04-25 23:25 UTC] ab@php.net
[2014-04-25 23:29 UTC] ab@php.net
[2014-04-25 23:29 UTC] ab@php.net
[2014-05-01 14:59 UTC] tyrael@php.net
[2014-10-07 23:15 UTC] stas@php.net
[2014-10-07 23:26 UTC] stas@php.net
[2016-07-20 11:40 UTC] davey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 12:00:02 2025 UTC |
Description: ------------ (in ubuntu 12.04) Steps to reproduce: $ sudo service php5-fpm reload $ sudo lsof -p (fpm master pid) | wc -l repeat steps above From strace: epoll_wait(103, {}, 1, 1000) = 0 ... // 103 is the fd of the epoll file descriptor returned by epoll_create) ... clone(Process 10668 attached child_stack=0x7f662c16fff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f662c1709d0, tls=0x7f662c170700, child_tidptr=0x7f662c1709d0) = 10668 ... clone(Process 10671 attached child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f664c1509d0) = 10671 [pid 10671] epoll_create(2 <unfinished ...> [pid 10671] <... epoll_create resumed> ) = 104 ... [pid 10671] epoll_wait(104, <unfinished ...> [pid 10671] <... epoll_wait resumed> {}, 1, 1000) = 0 In lsof: php5-fpm 10671 root 103u 0000 0,9 0 9882 anon_inode php5-fpm 10671 root 104u 0000 0,9 0 9882 anon_inode Expected result: ---------------- Number of open file descriptors should not consistently increase after each reload