[Resolved] APC Fragmentation: should I care?

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

  1. gmichels

    gmichels New 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:

    [​IMG]

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

    Should I care about high fragmentation on the cache?

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

    NiteWave Administrator

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

    http://php.net/manual/en/apc.configuration.php
    also, try latest APC 3.1.4, to further tune and improve the php's performance.
  3. gmichels

    gmichels New Member

    Here's the current status, 2 days uptime:

    [​IMG]

    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?

    Thanks
  4. NiteWave

    NiteWave Administrator

    yes, 4.0.17 use APC 3.1.4
  5. gmichels

    gmichels New 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