The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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? |
#2
|
||||
|
||||
Have you tried using XCache instead? It's much better than trying to use the filecache.
|
#3
|
|||
|
|||
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). |
#4
|
||||
|
||||
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? |
#5
|
||||
|
||||
You need to enable XCache support through the config.php file. The class is provided standard as of 3.7.
|
#6
|
||||
|
||||
Yup, already done that, uploaded a class, etc etc. It just doesn't work.
Perhaps it has something to do with a particular mod. |
#7
|
||||
|
||||
How are you checking if it is working? As it is working fine on my server.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|