I'm having an issue getting APC Cache to read/write to tmpfs.
My configuration is as follows:
/tmp/apc directory is set to www:www (what apache runs as).
When I restart apache, I don't receive any errors but the 'Used' column never climbs up - even after viewing my wordpress blog. However, if I manually move a file in to the folder, the 'Used' column does climb up - which tells me I am doing something wrong.
Any ideas?
My configuration is as follows:
Code:
/etc/fstab :
# store apc cache in a 128mb ram disk
tmpfs /tmp/apc tmpfs rw,size=136000000 0 0
/usr/local/etc/php.ini :
apc.mmap_file_mask=/tmp/apc/apc.XXXXXX
Filesystem Size Used Avail Capacity Mounted on
tmpfs 130M 4.0K 130M 0% /tmp/apc
/tmp/apc directory is set to www:www (what apache runs as).
When I restart apache, I don't receive any errors but the 'Used' column never climbs up - even after viewing my wordpress blog. However, if I manually move a file in to the folder, the 'Used' column does climb up - which tells me I am doing something wrong.
Any ideas?