Posted by rfay on November 2, 2011 at 2:51am
4 followers
Jump to:
| Project: | drupaltestbot-puppet |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
We've had any number of times that APC ran out of memory (unable to allocate). This is either that we don't give APC enough space or that we need more memory overall.
We see this in the Apache log:
[Wed Nov 2 02:16:35 2011] [apc-warning] Unable to allocate memory for pool. in /var/lib/drupaltestbot/sites/all/modules/project_issue_file_review/server/pifr_server.review.inc on line 149.
[Wed Nov 2 02:16:35 2011] [apc-warning] Unable to allocate memory for pool. in /var/lib/drupaltestbot/sites/all/modules/project_issue_file_review/server/pifr_server.review.inc on line 150.
[Wed Nov 2 02:16:35 2011] [apc-warning] Unable to allocate memory for pool. in /var/lib/drupaltestbot/includes/module.inc on line 273.
Comments
#1
For now, as an experiment, I've added this to the all the testbots' /etc/php5/apache2/conf.d/apc.ini:
apc.enabled = 1apc.shm_size = 100
apc.include_once_override = 1
apc.mmap_file_mask = /tmp/apc.XXXXXX
apc.rfc1867 = 1
apc.include_once_override = 0
#2
Belongs in the puppet script
#3
Committed in http://drupalcode.org/project/drupaltestbot-puppet.git/commitdiff/d18feb8
#4
Automatically closed -- issue fixed for 2 weeks with no activity.
#5
Somehow, drupaltestbot983 missed this change ... which explains all the bizarre behaviour on that bot recently. Updated and re-introduced into the rotation.
#6
#7
jthorson++
Did you do a
puppetd --server testbotserver.devdrupal.org --testto update it, or did you do it manually? Just wondering if maybe some other change might have been lost.As far as I can tell
puppetd --server testbotserver.devdrupal.org --test
is quite safe and predictable except when we've done a package update to drupaltestbot or drupaltestbot-mysql Debian packages.
#8
I just added it manually, since I was already in the file.
What was strange is that both the bots created before this one and those created after all had the updated APC settings ... I'm not sure how this particular bot didn't get updated when it was built the same way as the rest. *shrug*
#9
Fairly likely that I missed it when going through and running puppetd.
#10
Automatically closed -- issue fixed for 2 weeks with no activity.