How to move caches directory
Hi everyone
I'm setting up a production TeamCity farm with 12 build agents, and am following the advice in this blog post on best practice for TeamCity performance. In summary, the recommendation is to move the TeamCity Data Directory to a separate disk from the OS disk, particularly the artefacts and messages directories.
I have managed to move the TeamCity Data Directory to a new location as recommended and documented, but am now trying to move the caches directory within the Data Directory to a location on the OS disk. The performance blog post states (emphasis mine):
Given that, the following setup seems reasonable: use a large disk for the whole.BuildServerexceptcachesdirectory and another medium size disk forcachesandtemp. If you really need faster access to artifacts, you can further separateartifactsandmessagesdirectories.
I can see a location set for the caches directory in the Global Settings page, but cannot find any way to change it, nor any documentation explaining how to do so.
Is this actually a supported configuration change, and if so, how do I make it?
Many thanks in advance
Alastair
Please sign in to leave a comment.
Alastair,
There is currently no way to configure caches location via TeamCity web UI. Please, watch/vote for this issue: http://youtrack.jetbrains.com/issue/TW-15251
As a workaround, to move directories under TeamCity data dir to separate drives you will have to use OS-specific ways (filesystem symlinks).
Wow. Ok, thanks for the answer; sounds like links are the way forward.
I have voted for that issue as suggested. This is an important feature to include, given the recommendation is to split these directories out.
Alastair