Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Cache file location and size

Myenuk Aabye
Registered User
Join date: 5 Jun 2007
Posts: 2
06-28-2007 14:31
I am unable to change the location of the cache. I'd like to move it so it's on a different physical drive, but no matter what I try I can't change the location.

Why is it not possible to increase the size of the cache beyond 1mb?


Thanks!
Boroondas Gupte
Registered User
Join date: 16 Sep 2005
Posts: 186
06-28-2007 16:09
From: Myenuk Aabye
I am unable to change the location of the cache. I'd like to move it so it's on a different physical drive, but no matter what I try I can't change the location.


Either use ~/.secondlife/cache as the mount point for that different drive (then the cache files will go into the root directory of its file system, which might not be what you want) or create a symlink to where you want the cache to reside:
From: someone
ln -sf ~/.secondlife/cache /path/to/some/directory/on/another/device
Katrina Bekkers
Gentooed
Join date: 30 Mar 2007
Posts: 66
06-28-2007 16:11
You can test with the "client" debug menu.

Activate it with CTRL-ALT-D, select the "Client" menu (next to "Help";), then pick "Debug Settings" (second item from bottom) and in the dialog, select

CacheSize -- to change the size of the cache. The input field is NOT limited to 1000MB. I set it to 10GB (10000MB).

CacheLocation -- where you want your cache to be recorded. THIS IS UNTESTED.

Pray hard. :D
Lina Pussycat
Texture WizKid
Join date: 19 Jun 2005
Posts: 731
06-29-2007 01:36
From: Myenuk Aabye
I am unable to change the location of the cache. I'd like to move it so it's on a different physical drive, but no matter what I try I can't change the location.

Why is it not possible to increase the size of the cache beyond 1mb?


Thanks!


Have you actually read the cache the size is in MB not KB the size of the Cache is close to 1 gig not 1mb. and you cant move it around by clicking set like you would on windows.... At a guess you need to physically change somewhere in the SL files where its pointing.... You would also need to make sure that you have read and write access to the different physical drive.....
Angel Sunset
Linutic
Join date: 7 Apr 2005
Posts: 636
06-29-2007 02:17
In the Readme or the Release Notes in the SecondLife installation directory tree it tells you what variable to set in the secondlife script to move the cache file.

I have done this myself to separate the FirstLook, "Beta" and Alpha Client caches, in case the cache format changes - so I don't have crashes at startup caused by incompatible cache contents from the "wrong" client.

It is also handy if you plan to run more than one client at once - each client can have its cache in a separate file.

Hope this helps a bit...

--------------------------

Edit - Oops! Can't find it! Maybe I am the victim of my own Urban Legend? I could have sworn.... :( I think it was a variable that allowed you to change the settings directory from "./secondlife". But now I am not so sure...

------------------------------

There is a debug option, and an option in the GUI that does not work, But I THOUGHT there was a certain variable you could set...
_____________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kubuntu Intrepid 8.10, KDE, linux 2.6.27-11, X.Org 11.0, server glx vendor: NVIDIA Corporation, server glx version: 1.5.2, OpenGL vendor: NVIDIA Corporation, OpenGL renderer: GeForce 9800 GTX+/PCI/SSE2, OpenGL version: 3.0.0 NVIDIA 180.29, glu version: 1.3, NVidia GEForce 9800 GTX+ 512 MB, Intel Core 2 Duo, Mem: 3371368k , Swap: 2570360k
Myenuk Aabye
Registered User
Join date: 5 Jun 2007
Posts: 2
Thanks
07-02-2007 14:07
Thanks to those who responded

For now I've chosen the symlink solution. It's not optimal, but I do see something of a performance improvement (that is, until all the memory leaks from the viewer get so bad it all slows to worse than a crawl.