My APC cache has a 100% fragmentation. I'm not quite sure I understand what is going on here. For testing I jacked the available memory up to 512. After a day the total available free memory shows 73% but I still have 100% fragmentation.

Comments

granttoth’s picture

I disabled the user cache and left it just as a opcode cache. I used some filters to target just my includes, misc, modules, and libraries directories and set my system ttl to 0 and now I have a fragmentation of 0%!.

alex72rm’s picture

Hi,

can you write your apc configuration to gain that goal (0% fragmentation)?

I've the same problem.

Thanks,
Alessandro

Alessandro Bonelli

granttoth’s picture

I excluded everything and then only added the Drupal bits that I wanted to the APC cache.

apc.ttl=0
apc.user_ttl=0
apc.cache_by_default=0
apc.filters="+includes,+misc,+modules,+libraries"