Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
From: merrill at oakland dot edu Date: Thu, 13 Apr 2017 20:22:03 +0000 Subject: Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-208535@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70185&edit=1
ID: 70185
Comment by: merrill at oakland dot edu
Reported by: kobenews at cox dot net
Summary: php-fpm restarts master process in a loop when
exec() and using ssh multiplexing
Status: Open
Type: Bug
Package: FPM related
Operating System: CentOS release 6.6 (Final)
PHP Version: 5.4.43
Block user comment: N
Private report: N
New Comment:
We are seeing the same issue, although in our case we aren't doing anything with a socket in
SSH. We are just connecting an issuing a command - in fact I can just do "ssh
sshserver.whatever -i pathtoidentfile \"sleep 10\"" and php-fpm will keep responding
processes, flooding the logs with warnings and causing the machine to bottleneck.
Previous Comments:
------------------------------------------------------------------------
[2017-04-13 08:43:56] php at grindau dot com
I will never report a bug again.
This kind of ignorance is just bullshit.
------------------------------------------------------------------------
[2017-03-24 09:36:17] please at forget dot me dot uk
I have the same problem on php 7.0.17(from 7.0.15) with FreeBSD 11.
restarting php-fpm helps.
however, I am using perl modules inside nginx to look after node CSS - and CSS files produce cut
versions like PHP-fpm so I assume problem is somewhere in the middle of: php-fpm -- nginx -- node ;
with perl I have to restart webserver.
------------------------------------------------------------------------
[2017-03-18 21:35:45] php at grindau dot com
Any news on this?
Is it reproduceable?
While rechering i found some topics about stdin non-blocking behaviour of apps which might cause
that issue.
Hope that helps.
------------------------------------------------------------------------
[2017-03-13 14:31:09] php at grindau dot com
Well, there is no shell-scripts, this code runs inside of my classes.
I was able to narrow it down to all shell functions like
passthru(), exec(), shell_exec(), system(), etc, it happens with every of them.
i tried to run this cli-module on my arch linux:
https://github.com/css/csso
by executing this
/usr/lib/node_modules/csso/bin/csso infile.css --output outfile.css
the same happened with UglifyCSS: https://github.com/fmarcia/UglifyCSS
but not with UglifyJS: https://github.com/mishoo/UglifyJS
I am also running java jars inside those functions for years without any issue.
Like Yuicompressor: http://yui.github.io/yuicompressor/
Hope that helps.
Regards
Sascha
------------------------------------------------------------------------
[2017-03-10 23:14:05] kobenews at cox dot net
php@grindau dot com: I'd love to get a test case script, without requiring lots of setup and
dependencies. Anybody have ideas?
This does seem to indicate a bug though.
------------------------------------------------------------------------
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=70185
--
Edit this bug report at https://bugs.php.net/bug.php?id=70185&edit=1
Thread (28 messages)
- Bug #70185 [Opn]: php-fpm restarts process forever when exec() and using ssh multiplexing
- Bug #70185 [Opn]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Opn]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Com]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
- Bug #70185 [Opn->Dup]: php-fpm restarts master process in a loop when exec() and using ssh multiplexing
| « previous | php.bugs (#208535) | next » |
|---|