php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58228 apc with mmap support consume disk space
Submitted: 2008-06-09 02:26 UTC Modified: 2008-06-26 08:00 UTC
From: toro@php.net Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5.2.5 OS: openSUSE 10.3 (X86-64)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: toro@php.net
New email:
PHP Version: OS:

 

 [2008-06-09 02:26 UTC] toro@php.net
Description:
------------
Hello

I configured APC with mmap support and after a few days
my root partition was full. Our Site has about 900000 visits per month.
there are tasks APC would not delete and so the partition where the apc.mmap_file_mask points to gets full.
Only a apache2 restart helps.

When i complie with
./configure --enable-apc --disable-apc-mmap --with-apxs --with-php-config=/usr/bin/php-config  
all works fine.

BR/Torsten

Reproduce code:
---------------
httpd2-pr 26260     wwwrun  DEL       REG                0,9           1470824449 /SYSV00000000
httpd2-pr 26260     wwwrun  DEL       REG                9,1               624348 /tmp/apc.I4KdMO
httpd2-pr 26261     wwwrun  DEL       REG                0,9            109387344 /dev/zero
httpd2-pr 26261     wwwrun  DEL       REG                0,9           1470824449 /SYSV00000000
httpd2-pr 26261     wwwrun  DEL       REG                9,1               624348 /tmp/apc.I4KdMO
httpd2-pr 26283     wwwrun  DEL       REG                0,9            109387344 /dev/zero
httpd2-pr 26283     wwwrun  DEL       REG                0,9           1470824449 /SYSV00000000
httpd2-pr 26283     wwwrun  DEL       REG                9,1               624348 /tmp/apc.I4KdMO
httpd2-pr 26291     wwwrun  DEL       REG                0,9            109387344 /dev/zero
httpd2-pr 26291     wwwrun  DEL       REG                0,9           1470824449 /SYSV00000000
httpd2-pr 26291     wwwrun  DEL       REG                9,1               624348 /tmp/apc.I4KdMO
httpd2-pr 26301     wwwrun  DEL       REG                0,9            109387344 /dev/zero
httpd2-pr 26301     wwwrun  DEL       REG                0,9           1470824449 /SYSV00000000
httpd2-pr 26301     wwwrun  DEL       REG                9,1               624348 /tmp/apc.I4KdMO



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-06-26 08:00 UTC] gopalv82 at yahoo dot com
http://news.php.net/php.pecl.cvs/10923

fixed in 3.1.x branch, please checkout CVS HEAD & test
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 10:01:32 2024 UTC