Why is the cache still making files?

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 33
Joined: Wed Dec 29, 2010 10:23 pm

Why is the cache still making files?

Postby lednakashim » Mon Aug 27, 2012 1:48 am

I want to disable ojs internal caching because it doesn't completely work, and I believe it is interfering with xcache. I am using the latest stable (2.0) release of xcache.

I am a little puzzled as to why my cache directory (/ojs/cache) directory keeps growing.

I suspect there is some inefficiency in my caching scheme because when I look at the xcache admin's listing of php, I get the following as my number one

Code: Select all

Cache   entry   Hits↑   Refcount   Size   PhpShared   SrcSize   Modify   device   inode   hash   Access   Create
php#1 349   /var/www/html/oncotarget/cache/fc-locale-03b174b61510807426c2a2c128f6a86a.php   1386   2774   50.08 K   2   14.71 K   6 h   51713   131582   3060   23 s   2 h

My configuration looks like

Code: Select all

; Choose the type of object data caching to use. Options are:
; - memcache: Use the memcache server configured below
; - xcache: Use the xcache variable store
; - apc: Use the APC variable store
; - none: Use no caching.
object_cache = none

; Enable memcache support
memcache_hostname = localhost
memcache_port = 11211

Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Why is the cache still making files?

Postby asmecher » Mon Aug 27, 2012 9:09 am

Hi lednakashim,

The file-based caching and opcode caches should work in concert with each other. Can you describe the problems you're having?

Alec Smecher
Public Knowledge Project Team

Return to “OJS Technical Support”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests