• Resolved reface

    (@reface)


    While APC-based object & database cache seemed to work at first, I woke up to a site full of the following, never-seen-before error:

    Warning: apc_store() [function.apc-store]: Unable to allocate memory for pool. in /home/domain/public_html/wp-content/plugins/w3-total-cache/lib/W3/Cache/Apc.php on line 40

    I have a 256MB PHP memory limit, and 92M for WP on a dedicated server. Does W3C Total Cache require more?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Frederick Townes

    (@fredericktownes)

    This is not an W3TC issue, you have some logic that is wasting memory and W3TC is simply trying to put it in the cache. Try debug mode to see what is creating such big objects.

    Similar problem here:

    [Sun Feb 20 22:30:31 2011] [apc-warning] GC cache entry ‘/var/www/nodos/enedimensiones.com/demos/lagoleada.net/wp-includes/default-filters.php’ (dev=43 ino=1271732840) was on gc-list for 3604 seconds

    I am going to try to increase the apc.shm_size parameter in the php.ini an see if it helps. In case it does I will update here. By the way, default should be 32Mb so I am trying with 64Mb at the beginning.

    Javier.

    Thanks for this thread. This helped me to fix things; I guess that 32MB was simply not enough in my case!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: W3 Total Cache] Warning: apc_store() [function.apc-store]: Unable to allocate memory for po’ is closed to new replies.