[Resolved] APC Fragmentation: should I care?

Discussion in 'PHP' started by gmichels, Oct 6, 2010.

  1. gmichels

    gmichels Member

    Hi all,

    I've been running APC for the last couple of weeks and it's making wonders for my site (IPB forum v3.1).

    On busy periods I can see cache fragmentation getting on high values such as 30%-40%.

    Here's a sample (non-busy moment) and my config settings:


    I've set low TTL settings as a suggestion I've seen on the web.

    Should I care about high fragmentation on the cache?

    Last edited by a moderator: Oct 14, 2010
  2. NiteWave

    NiteWave Administrator

    to reduce the fragmentation, you may try apc.ttl = 0

    also, try latest APC 3.1.4, to further tune and improve the php's performance.
  3. gmichels

    gmichels Member

    Here's the current status, 2 days uptime:


    I'm going to try with a zero TTL.

    How do I use APC 3.1.4 using the php compiler tool available on the web console?

  4. NiteWave

    NiteWave Administrator

    yes, 4.0.17 use APC 3.1.4
  5. gmichels

    gmichels Member

    Indeed setting the TTL at 0 helped with the fragmentation numbers, I don't see it above 5% anymore.

    When I upgrade to 4.0.17 I'll try the newest APC.

    Thanks for your help!

Share This Page