Bug #78103 [Com]: Allocating ~2TB memory after PHP_FCGI_CHILDREN-th request

From: Date: Wed, 19 Jun 2019 00:59:50 +0000
Subject: Bug #78103 [Com]: Allocating ~2TB memory after PHP_FCGI_CHILDREN-th request
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221375@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78103&edit=1 ID: 78103 Comment by: jbrady at sbccd dot edu Reported by: hardaqa at gmail dot com Summary: Allocating ~2TB memory after PHP_FCGI_CHILDREN-th request Status: Open Type: Bug Package: CGI/CLI related Operating System: Windows 10 v1809 64bit PHP Version: 7.2.19 Block user comment: N Private report: N New Comment: This happened for us on IIS using FastCGI with both Windows 2008 R2 & Windows 2012 R2. It can be fixed by going back to 7.2.18 or explicitly disabling opcache (opcache.enabled=0). This was verified in phpinfo and by explicitly changing the php.ini. Previous Comments: ------------------------------------------------------------------------ [2019-06-14 09:57:16] mario dot bandeira at cronobandeira dot com Yes, I have double check with phpinfo() that opcache was disable. As I am not an expert on web systems, here the complete system config for your evaluation: Windows server 2016, IIS, plesk Onyx 17.8.11 update#55, php7.2.19 (with php7.1.30 works ok), testing subdomain. ------------------------------------------------------------------------ [2019-06-13 08:23:18] nikic@php.net I can't reproduce this on Linux, with or without opcache. Possibly Windows-only? ------------------------------------------------------------------------ [2019-06-12 19:53:37] cmb@php.net Have you double-checked (e.g. via phpinfo()) that Opcache is indeed disabled? ------------------------------------------------------------------------ [2019-06-12 15:57:10] mario dot bandeira at cronobandeira dot com Seams somehow related to the bug I am experiencing: https://bugs.php.net/bug.php?id=78147 --- After n-th request (n = PHP_FCGI_CHILDREN) to test.php script, php throws "Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 2052604301400 bytes)" --- Never less, on my case it occurs with or without opcache enable. ------------------------------------------------------------------------ [2019-06-05 20:29:11] davesw dot z dot phpbug at spamgourmet dot com I ran into the same issue, but using IIS with FastCGI. A few requests would work, and then all would fail with trying to allocate 7813304906544536728 bytes! Disabling opcache didn't help, reverting to 7.1.30 did (my ISP didn't offer 7.2.18 as an option to revert to). ------------------------------------------------------------------------ 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=78103 -- Edit this bug report at https://bugs.php.net/bug.php?id=78103&edit=1

« previous php.bugs (#221375) next »