php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68836 Memory leaks from pecl-memcache reported by php-fpm
Submitted: 2015-01-15 11:41 UTC Modified: 2021-03-25 16:38 UTC
From: loco at andrews dot lv Assigned: cmb (profile)
Status: Closed Package: memcache (PECL)
PHP Version: 5.6.4 OS: Linux Gentoo Base System release
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: loco at andrews dot lv
New email:
PHP Version: OS:

 

 [2015-01-15 11:41 UTC] loco at andrews dot lv
Description:
------------
I just discovered memory leaks reported for memcache in the php-fpm.log and thought I'd post a bug.

[15-Jan-2015 12:10:57] WARNING: [pool web3508] child 24310 said into stderr: "[Thu Jan 15 12:10:57 2015]  Script:  '-'"
[15-Jan-2015 12:10:57] WARNING: [pool web3508] child 24310 said into stderr: "/var/tmp/portage/dev-php/pecl-memcache-3.0.8-r1/work/php5.6/memcache.c(1566) :  Freeing 0x02DC13C0 (187 bytes), script=-"
[15-Jan-2015 12:10:57] WARNING: [pool web3508] child 24310 said into stderr: "/var/tmp/portage/dev-lang/php-5.6.4/work/sapis-build/fpm/Zend/zend_variables.c(126) : Actual location (location was relayed)"
[15-Jan-2015 12:10:57] WARNING: [pool web3508] child 24310 said into stderr: "Last leak repeated 12 times"
[15-Jan-2015 12:10:57] WARNING: [pool web3508] child 24310 said into stderr: "=== Total 13 memory leaks detected ==="
[15-Jan-2015 12:11:01] WARNING: [pool web3508] child 28863 said into stderr: "[Thu Jan 15 12:11:01 2015]  Script:  '-'"
[15-Jan-2015 12:11:01] WARNING: [pool web3508] child 28863 said into stderr: "/var/tmp/portage/dev-php/pecl-memcache-3.0.8-r1/work/php5.6/memcache.c(1566) :  Freeing 0x02E49E60 (187 bytes), script=-"
[15-Jan-2015 12:11:01] WARNING: [pool web3508] child 28863 said into stderr: "/var/tmp/portage/dev-lang/php-5.6.4/work/sapis-build/fpm/Zend/zend_variables.c(126) : Actual location (location was relayed)"
[15-Jan-2015 12:11:01] WARNING: [pool web3508] child 28863 said into stderr: "Last leak repeated 12 times"
[15-Jan-2015 12:11:01] WARNING: [pool web3508] child 28863 said into stderr: "=== Total 13 memory leaks detected ==="


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-03-25 16:38 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-03-25 16:38 UTC] cmb@php.net
The official bug tracker for PECL/memcache is now at
<https://github.com/websupport-sk/pecl-memcache/issues>.

So, if this is still an issue with either of the current memcache
versions (4 or 8), please file an issue there.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 02:01:36 2025 UTC