Bug #75255 [Opn->Csd]: Request hangs and not finish
Edit report at https://bugs.php.net/bug.php?id=75255&edit=1
ID: 75255
Updated by: dmitry@php.net
Reported by: hmayak dot tigranyan at gmail dot com
Summary: Request hangs and not finish
-Status: Open
+Status: Closed
Type: Bug
Package: opcache
Operating System: ubuntu14.04.1
PHP Version: 7.1.9
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of dmitry@zend.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=1c68d63f35aecc2aa602ffc429688ed43ffb92b6
Log: Fixed bug #75255 (Request hangs and not finish)
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
Thread (5 messages)