Bug #72391 [Com]: Committed memory steadily increasing
Edit report at https://bugs.php.net/bug.php?id=72391&edit=1
ID: 72391
Comment by: maroszek at gmx dot net
Reported by: rob dot vandermei at gmail dot com
Summary: Committed memory steadily increasing
Status: Open
Type: Bug
Package: FPM related
Operating System: CentOS 6.8
PHP Version: 7.0.7
Block user comment: N
Private report: N
New Comment:
I can verify the issue.
7.0.5 is working fine
7.0.6+ is leaking lots of memory
The php script can be empty. (I just added php opening tags <?)
I am using PHP as an embed library. Therefore i cannot restart the process and my application dies
quite quickly.
Previous Comments:
------------------------------------------------------------------------
[2016-06-12 16:43:31] rob dot vandermei at gmail dot com
Description:
------------
Since upgrading to PHP 7.0.7, committed memory keeps increasing until I restart FPM, and then it
begins all over again.
I found one other person ("canique") reporting something similar after upgrading to 7.0.6:
https://www.dotdeb.org/2016/04/29/php-7-0-6-for-jessie/
"Since upgrading to php 7.0.6 I see memory issues. The committed memory in linux is increasing
all the time. Iâm checking this with âcat /proc/meminfo | grep Committed_ASâ
To see this bug, itâs important to not restart php-fpm and to have a high max request count in
your php process pool (pm.max_requests). Each time the php child process is quitting, this memory is
of course released. But if those child processes get multiple thousands of requests the committed
memory is steadily increasing."
PHP 7.0.7 (cli) (built: May 25 2016 17:35:28) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
[PHP Modules]
apc
apcu
bz2
calendar
Core
ctype
curl
date
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
readline
Reflection
session
sockets
SPL
sqlite3
standard
tokenizer
Zend OPcache
zlib
[Zend Modules]
Zend OPcache
Installed Packages
php70-php-cli.x86_64 7.0.7-1.el6.remi
@remi
php70-php-common.x86_64 7.0.7-1.el6.remi
@remi
php70-php-fpm.x86_64 7.0.7-1.el6.remi
@remi
php70-php-gd.x86_64 7.0.7-1.el6.remi
@remi
php70-php-json.x86_64 7.0.7-1.el6.remi
@remi
php70-php-mcrypt.x86_64 7.0.7-1.el6.remi
@remi
php70-php-mysqlnd.x86_64 7.0.7-1.el6.remi
@remi
php70-php-opcache.x86_64 7.0.7-1.el6.remi
@remi
php70-php-pdo.x86_64 7.0.7-1.el6.remi
@remi
php70-php-pecl-apcu.x86_64 5.1.5-1.el6.remi
@remi
php70-php-pecl-apcu-bc.x86_64 1.0.3-1.el6.remi
@remi
php70-runtime.x86_64 1.0-5.el6.remi
@remi
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72391&edit=1
Thread (7 messages)