People who works AWS EC2 might have noticed that EBS size hasn’t changed even after you have increase the size when you launched the instance. For, fixing this issue you need to resize the file system after the instance is launched. In the below example, the disk space is shown […]

Fix EBS Size

Even after increasing your php memory, if you are still getting “unable to allocate memory for pill in PHP” error, then should be related to APC. 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 […]

“Unable to allocate memory for pool” in PHP?

To free pagecache: # echo 1 > /proc/sys/vm/drop_caches To free dentries and inodes: # echo 2 > /proc/sys/vm/drop_caches To free pagecache, dentries and inodes: echo 3 > /proc/sys/vm/drop_caches

Drop caches in Linux