Quote:
Originally Posted by MikeWarner
Eh? My var size is 0. You saying I have to set this to the same as what the xcache.size is? (100mb). Really? That much?
More info on this woul be good. I just tried to install this and got errors. I didn;t change the var size from 0, plus I assumed the location of the attached php file.
Please can more details be added to this hack as I would like to use it.
Thanks.
|
Thanks for ur interest. I will try to provide u some info..see it it helps u a bit..
See bellow xcache.ini of our box
Quote:
; select low level shm/allocator scheme implemenation
xcache.shm_scheme = "mmap"
xcache.size = 64M
xcache.count = 4
xcache.slots = 8K
xcache.ttl = 0
xcache.gc_interval = 0
; same as aboves but for variable cache
xcache.var_size = 64M
xcache.var_count = 4
xcache.var_slots = 8K
; default ttl
xcache.var_ttl = 0
xcache.var_maxttl = 0
;xcache.var garbage collect interval set to 6 hour.
xcache.var_gc_interval = 21600
|
Pls follow the red color text
xcache.size & xcache.var_size both set to 64Mb .
And ur using
100 Mb for xcache.size .

did u really need that much memory ?

we set 64MB.33Mb used and still 31MB is free out of 64Mb. when vbplaza on it just consume 3~4Mb more + few more php cached.
check ur xcache admin cp & if needed reduce allocated memory OR if u got enugh memory at ur box/server ..then u can use 100MB+100 Mb.
Point is that u have to put same MB of memory at xcache.size & xcache.var_size
php file in the attachmnet
Quote:
you gotta copy the content of the whole php file i attached into class_datastore.php, there's no new file is created or added
|