Bug #76867 [Com]: Extremely slow performance
| From: | spam2 at rhsoft dot net | Date: | Wed, 12 Sep 2018 08:24:26 +0000 |
| Subject: | Bug #76867 [Com]: Extremely slow performance | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-217004@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76867&edit=1
ID: 76867
Comment by: spam2 at rhsoft dot net
Reported by: ivokund at gmail dot com
Summary: Extremely slow performance
Status: Open
Type: Bug
Package: Performance problem
Operating System: Ubuntu 18.04.1 LTS
PHP Version: 7.2.9
Block user comment: N
Private report: N
New Comment:
very unlikely a php problem
look at your system load and check if the machine runs out of random (google for haveged)
Previous Comments:
------------------------------------------------------------------------
[2018-09-12 08:11:51] ivokund at gmail dot com
Description:
------------
Both CLI and web requests are extremely slow. The smallest isolated example I can think of is below.
The slow time varies apparently by random.
Test script:
---------------
No problem here:
___________________________
time php -n --version
PHP 7.2.9-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Aug 19 2018 07:16:54) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
real 0m0,009s
user 0m0,004s
sys 0m0,004s
Second try half a second later takes 8 sec
____________________________
time php -n --version
PHP 7.2.9-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Aug 19 2018 07:16:54) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
real 0m8,440s
user 0m0,001s
sys 0m0,264s
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76867&edit=1