tags:

views:

331

answers:

1

I've occasionally run up against a server's memory allocation limit, particularly with a bloated application like Wordpress, but never encountered "Unable to allocate memory for pool" and having trouble tracking down any information.

Does anyone know what this means? Have tried increasing the memory_limit without success. Also haven't made any significant changes to the application -- just one day no problem, next day error messages.

Is it possible this is a caching issue?

+1  A: 

Probably is APC related.

apc.mmap_file_mask=/apc.shm.XXXXXX

apc.mmap_file_mask=/apc.shm.XXXXXX For the people having this problem, please specify you .ini settings. Specifically your apc.mmap_file_mask setting.

For file-backed mmap, it should be set to something like:

apc.mmap_file_mask=/tmp/apc.XXXXXX

To mmap directly from /dev/zero, use:

apc.mmap_file_mask=/dev/zero

For POSIX-compliant shared-memory-backed mmap, use:

apc.mmap_file_mask=/apc.shm.XXXXXXapc.mmap_file_mask=/apc.shm.XXXXXX

Frankie
Thanks! That's exactly the link I'd been looking for. Appreciate the help!
jonathonmorgan