W3 Total Cache
[resolved] Warning: apc_store() [function.apc-store]: Unable to allocate memory for po (4 posts)

  1. reface
    Posted 5 years ago #

    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?

  2. Frederick Townes
    Plugin Author

    Posted 5 years ago #

    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.

  3. javierfaus
    Posted 5 years ago #

    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.


  4. Gwyneth Llewelyn
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic