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

From: Date: Wed, 03 Jul 2019 22:21:20 +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-221627@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: hardaqa at gmail dot com 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 does not happen anymore in 7.2.20 for me. Previous Comments: ------------------------------------------------------------------------ [2019-06-19 00:59:50] jbrady at sbccd dot edu 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. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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 (#221627) next »