![]() |
Datastore_Filecache on ramdisk?
I enabled datastore_filecache, and the file is growing steadily.
I thought "hey, I have tons of free ram, why not mount that directory on a ramdisk?" So I logged in as root and typed: mount -osize=20m -t tmpfs vbdatastore /var/www/html/foro/includes/datastore and then the directory went empty, and empty it stayed until I unmounted the ramdisk, after which the cache file appeared again. ¿Is there a reason for this phenomena? |
Have you tried using XCache instead? It's much better than trying to use the filecache.
|
Most likely the permissions where not set correct.
I would not suggest to use a RAM-Disk (unless i am mistaken i assume it gets cleared on a reboot). |
I've tried to use xcache to cache variables without success, that's why I turned over to file based varcache.
How critical is varcache data to risk loosing in a reboot? It's about user preferences and custom settings? |
You need to enable XCache support through the config.php file. The class is provided standard as of 3.7.
|
Yup, already done that, uploaded a class, etc etc. It just doesn't work.
Perhaps it has something to do with a particular mod. |
How are you checking if it is working? As it is working fine on my server.
|
All times are GMT. The time now is 05:00 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|