Bug #75255 [Asn->Opn]: Request hangs and not finish
| From: | cmb@php.net | Date: | Tue, 26 Sep 2017 11:08:21 +0000 |
| Subject: | Bug #75255 [Asn->Opn]: Request hangs and not finish | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-211357@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75255&edit=1
ID: 75255
Updated by: cmb@php.net
Reported by: hmayak dot tigranyan at gmail dot com
Summary: Request hangs and not finish
-Status: Assigned
+Status: Open
Type: Bug
Package: opcache
Operating System: ubuntu14.04.1
PHP Version: 7.1.9
-Assigned To: cmb
+Assigned To:
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2017-09-26 06:32:14] hmayak dot tigranyan at gmail dot com
Changed package to Opcache
------------------------------------------------------------------------
[2017-09-25 23:03:27] cmb@php.net
> If disable opcode than it work fine.
Do you mean OPcache? If so, please change the status to "open", and the package
to "Opcache".
------------------------------------------------------------------------
[2017-09-25 19:14:20] hmayak dot tigranyan at gmail dot com
Description:
------------
On Ubuntu installed php7.1.9 (PHP Version 7.1.9-1+ubuntu14.04.1+deb.sury.org+1) no special
configuration. Have one file and request to that file not return result, apache version is
Apache/2.4.7 (Ubuntu). If I chnage anything in code it work properly. If disable opcode than it
work fine.
Test script:
---------------
<?php
class PlanService
{
public function generatePlanImage()
{
if ($abc > 5) {
$abc = 5;
}
for ($row = 0; $row < $abc; $row++) {
for ($col = 0; $col < $numCols; $col++) {
$this->getPossibleRatio( $abc);
}
}
}
public function getPossibleRatio( $abc)
{
}
}
var_dump('worked');exit;
Expected result:
----------------
expected to get response
Actual result:
--------------
apache not return any result,CPU is going to 99% and request hangs.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75255&edit=1