Jump to content
trisquelmedia

Warning: Unable to allocate memory for pool . Solution please.

Recommended Posts

trisquelmedia    7
trisquelmedia

[21-Feb-2013 10:37:09] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Unable to allocate memory for pool. in /usr/home/misitio.es/web/wp-content/themes/pagelines/includes/class.register.php on line 141
[21-Feb-2013 10:37:09] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Unable to allocate memory for pool. in /usr/home/misitio.es/web/wp-content/themes/pagelines/includes/class.register.php on line 141
[21-Feb-2013 10:37:09] PHP Warning:  require_once() [<a href='function.require-once'>function.require-once</a>]: Unable to allocate memory for pool. in /usr/home/misitio.es/web/wp-content/themes/pagelines/includes/init.php on line 247
[21-Feb-2013 10:37:09] PHP Warning:  require_once() [<a href='function.require-once'>function.require-once</a>]: Unable to allocate memory for pool. in /usr/home/misitio.es/web/wp-content/themes/pagelines/includes/init.php on line 249
[21-Feb-2013 10:37:09] PHP Warning:  require_once() [<a href='function.require-once'>function.require-once</a>]: Unable to allocate memory for pool. in /usr/home/misitio.es/web/wp-content/themes/pagelines/includes/init.php on line 254
[21-Feb-2013 10:37:09] PHP Warning:  require_once() [<a href='function.require-once'>function.require-once</a>]: Unable to allocate memory for pool. in /usr/home/misitio.es/web/wp-content/themes/pagelines/includes/init.php on line 254
[21-Feb-2013 10:37:09] PHP Warning:  require_once() [<a href='function.require-once'>function.require-once</a>]: Unable to allocate memory for pool. in /usr/home/misitio.es/web/wp-content/themes/pagelines/includes/init.php on line 270
 

 

The error happens occasionally.

 

Hosting support tell me that this error is caused by the APC PHP accelerator, but I dont use any such plugin (W3 Cache, etc etc)

 

 

I dont use many plugins, server PHP Memory is 128 MB, how i solve this?

 

Regards

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

Can you provide a link to your site please and also, when did this error occur, was it from as soon as you activated PageLines?


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Can you enable PageLines debug mode please:

 

PageLines > Site Options > Advanced


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Can you disable all non-PageLines plugins and see if this the error appears again. If this only happens every now and again, then if you can please give a day or two. If the error persists, please reply here and we can investigate further.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
trisquelmedia    7
trisquelmedia

Hi:

The error doesnt recur, usually occurs 1 time a week, I'll check if it happens again.

 

Thxs

 

Regards

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

OK, well if you can please disable all non-PageLines plugins for a week and see if the issue returns, if it does, reply here and we can investigate further. If it doesn't, then the only way to find the culprit would be enable one plugin at a time, if the error doesn't return, then enable another plugin, repeat the process until the error appears. The last plugin you enable is the culprit.

 

Also, check to see that your plugins have been updated in the last or so and that they're compatible with the latest version of Wordpress. If they haven't you may want to look for alternatives that have.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Simon    247
Simon

Unable to allocate memory for pool.

This warning is caused by APC module for PHP, its a memory cache.

You need to ask your host to adjust the pool size.

Its nothing to do with wordpress, or plugins or any theme you are running. APC is an addon module for PHP and is controlled with a php.ini somewhere on the server. Only the server admin can adjust its settings.

Share this post


Link to post
Share on other sites
trisquelmedia    7
trisquelmedia

The host support tell me that i should configure the parametres of the plugin that uses APC module, but i dont have many plugin that uses APC...

 

php.info APC configuration is this: what values ​​that should change?

 

Version 3.1.9 APC Debugging Disabled MMAP Support Enabled MMAP File Mask no value Locking type File Locks Serialization Support php Revision $Revision: 308812 $ Build Date Dec 3 2012 10:47:48
Directive Local Value Master Value apc.cache_by_default On On apc.canonicalize On On apc.coredump_unmap Off Off apc.enable_cli Off Off apc.enabled On On apc.file_md5 Off Off apc.file_update_protection 2 2 apc.filters no value no value apc.gc_ttl 3600 3600 apc.include_once_override Off Off apc.lazy_classes Off Off apc.lazy_functions Off Off apc.max_file_size 1M 1M apc.mmap_file_mask no value no value apc.num_files_hint 1000 1000 apc.preload_path no value no value apc.report_autofilter Off Off apc.rfc1867 Off Off apc.rfc1867_freq 0 0 apc.rfc1867_name APC_UPLOAD_PROGRESS APC_UPLOAD_PROGRESS apc.rfc1867_prefix upload_ upload_ apc.rfc1867_ttl 3600 3600 apc.serializer default default apc.shm_segments 1 1 apc.shm_size 32M 32M apc.slam_defense On On apc.stat On On apc.stat_ctime Off Off apc.ttl 0 0 apc.use_request_time On On apc.user_entries_hint 4096 4096 apc.user_ttl 0 0 apc.write_lock On On

Share this post


Link to post
Share on other sites
Simon    247
Simon

APC caches all PHP that es executed, it is an 'opcode cache'

 

I dont know how to adjust its settings, it all depends on how your host have PHP configured. Every server is different.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×