php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57637 100% fragmentation make apache run verrrry slow
Submitted: 2007-04-26 17:43 UTC Modified: 2009-03-02 03:15 UTC
From: roberto at spadim dot com dot br Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5.2.1 OS: LINUX ARCHLINUX 0.8 64bits
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: roberto at spadim dot com dot br
New email:
PHP Version: OS:

 

 [2007-04-26 17:43 UTC] roberto at spadim dot com dot br
Description:
------------
i was running my apache 2.2.4 with php 5.2.1, it's with 30mb of shared memory, after some ttl user variables cache, my fragmentation got 100%, apache start running very slow CPU usage go to 100% in each apache process (2 processor, 2 100% cpu usage)


Reproduce code:
---------------
make fragmentation very big (100%) using ttl user variables more some files

Expected result:
----------------
stop apc and make a cleanup of all memory

Actual result:
--------------
don't flush memory and apache get crasy because my programs don't check if the apc_set work ok

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-04-26 17:50 UTC] wiesemann@php.net
(package selection corrected)
 [2007-05-03 09:03 UTC] gopalv82 at yahoo dot com
I suppose bug 10852 is related to this too ?
 [2009-03-02 03:15 UTC] shire@php.net
Marking this as closed, as high fragmentation shouldn't be the performance hit it used to be, please try the latest CVS version and report any success/issues.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 15:01:34 2025 UTC