Bug #77653 [Asn]: php-fpm, operator displayed instead of the real error message
| From: | bukka@php.net | Date: | Sun, 05 May 2019 15:59:59 +0000 |
| Subject: | Bug #77653 [Asn]: php-fpm, operator displayed instead of the real error message | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-220711@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77653&edit=1
ID: 77653
Updated by: bukka@php.net
Reported by: claudiu_beta at yahoo dot com
Summary: php-fpm, operator displayed instead of the real
error message
Status: Assigned
Type: Bug
Package: FPM related
Operating System: Fedora 29
PHP Version: 7.3.3RC1
Assigned To: bukka
Block user comment: N
Private report: N
New Comment:
Ok thanks again for testing! Indeed it will result in quite a few new open file descriptor -
basically one for each child in the master process which might be quite a lot if you are using
around 1000 pools which means even more children. So this is not probably good idea either.
So it seems like the markers in the output are the only possible solution for flushing. I think
there are some issues in the logic atm. - the whole read loop is a bit messy so I will try to
improve it and see if it addresses the issue. The thing that it definitely goes through that logic
as the message is still decorated by zlog...
Previous Comments:
------------------------------------------------------------------------
[2019-05-05 09:44:20] claudiu_beta at yahoo dot com
With this patch, now I have other bug and sites are completely down until php-fpm restart. A lot of
lines like these. I never had this before. I have ~1000 pools using php7.3.
[05-May-2019 09:05:37] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:05:42] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:05:44] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:05:44] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:05:45] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:05:45] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:05:49] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:05:54] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:05:58] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:02] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:03] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:03] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:18] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:20] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:24] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:24] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:25] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:31] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:35] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:40] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:45] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:49] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:55] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:06:58] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:07:01] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:07:17] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:07:25] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:07:25] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:07:26] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:07:41] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:07:49] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:08:12] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:08:18] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:08:39] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:08:49] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:09:04] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:09:26] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:09:33] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:09:39] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:09:42] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:09:47] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:09:49] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:09:52] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:10:04] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:10:08] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:10:18] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:10:37] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:10:49] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:11:03] ERROR: failed to prepare the stderr pipe: Too many open files (24)
[05-May-2019 09:11:08] ERROR: failed to prepare the stderr pipe: Too many open files (24)
------------------------------------------------------------------------
[2019-05-03 22:53:57] claudiu_beta at yahoo dot com
I have installed "7.3.5-2" from Remi, but I need few days to test it, to be sure the
result is accurate.
------------------------------------------------------------------------
[2019-05-01 09:37:42] remi@php.net
@claudiu_beta as you are using packages from my repository, can you please test "7.3.5-2"
from "remi-test" which includes the proposal fix from @bukka ?
------------------------------------------------------------------------
[2019-04-21 16:44:16] bukka@php.net
I have changed the PR and used its own pipe to signal a log stream flush. I asked Remi to create an
RPM so it can be tested.
------------------------------------------------------------------------
[2019-04-04 18:05:37] bukka@php.net
Thanks for testing! It looks like reusing output pipe for signalling request end is not a really
good solution. I need to address it in a better way.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=77653
--
Edit this bug report at https://bugs.php.net/bug.php?id=77653&edit=1