Bug #77574 [NEW]: FPM failes to responed to apache2
From: martin dot barker at thisisbeacon dot com
Operating system: Ubuntu 16.04.4 LTS
PHP version: 7.2.14
Package: FPM related
Bug Type: Bug
Bug description:FPM failes to responed to apache2
Description:
------------
This is a pain to replicate but spent 2 hours with AWS engineers
(plural) working this one out.
Load Balancer to Apache2 to PHP7.2-FPM
Wordpress 5 - Database Connection error (Firewall / security group
blocking access to Database)
PHP builds response and output and works correctly if you we used curl
to the server curl with the "host:" header we could see the full HTML
response generated by Wordpress.
When going via a Load Balance on AWS (Application Load Balancer) the
underlying apache connection to the server was never closed so the load
balancer just keep waiting for the connection to close before time out.
Test script:
---------------
Wordpress 5
Expected result:
----------------
When Wordpress handle the DB connection error and produces a complete
error output it should close the connection to apache.
Actual result:
--------------
Seems to hang and leave the connection open meaning apache does not
close it's connection correctly
--
Edit bug report at https://bugs.php.net/bug.php?id=77574&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77574&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77574&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77574&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=77574&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=77574&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=77574&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=77574&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=77574&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=77574&r=support
Expected behavior: https://bugs.php.net/fix.php?id=77574&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=77574&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=77574&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=77574&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77574&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=77574&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=77574&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=77574&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77574&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=77574&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=77574&r=mysqlcfg
Thread (11 messages)
- martin dot barker at thisisbeacon dot com
- requinix@php.netBug #77574 [Opn->Nab]: FPM failes to responed to apache2
- martin dot barker at thisisbeacon dot comBug #77574 [Nab]: FPM failes to responed to apache2
- martin dot barker at thissibeacon dot comBug #77574 [Com]: FPM failes to responed to apache2
- martin dot barker at thisisbeacon dot comBug #77574 [Com]: FPM failes to responed to apache2
- requinix@php.netBug #77574 [Nab->ReO]: FPM failes to responed to apache2
- bukka@php.netBug #77574 [ReO]: FPM failes to responed to apache2
- martin dot barker at thisisbeacon dot comBug #77574 [Com]: FPM failes to responed to apache2
- martin dot barker at thisisbeacon dot comBug #77574 [Com]: FPM failes to responed to apache2
- bukka@php.netBug #77574 [ReO->Asn]: FPM failes to responed to apache2
- bukka@php.netBug #77574 [Asn->Nab]: FPM failes to responed to apache2