Skip to content
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.

exception: [Warning] require_once(): Unable to allocate memory for pool. [common.inc:5109] #15

Open
alberto56 opened this issue Mar 28, 2014 · 2 comments

Comments

@alberto56
Copy link
Owner

Even if your tests pass locally, you might get this error on Jenkins.

If you are using drush test-run to run your tests, and are seeing Exceptions which don't exist in your local tests, you can output the results like this:

drush test-run --xml=test-xml tremblant_deploy -y

Then you can archive artifacts at test-xml/*xml

These artifacts will contain this warning which might be causing your test to fail.

My (temporary) solution was to disable APC (I know, a bad idea) and to jack my php memory limit to 1024.

@xmacinfo
Copy link

I fix this by leaving APC enabled and modifying the apc.ini file to allocate more memory to each shared memory segment.

/etc/php.d/apc.ini

apc.shm_size=256M

The old value was 64M.

I then issue a command to restart Jenkins only.

@alberto56
Copy link
Owner Author

I also did a sudo apachectl restart. It would be good to add this to the puppet files, because on two different servers provisioned with the script I had to repeat the process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants