TeamCity 5.1.2 agent temp/cache folder size
Hi,
in my case the size of this folder grows limiless and consumes all available diskspace. (see http://devnet.jetbrains.net/message/5273686#5273686)
Is there a way to limit the agent chache size???
Thx and best regards
Mark Doppelfeld
Please sign in to leave a comment.
Hello Mark,
Do you mean, size of temp and cache folders? Could you please zip and attach files from these folders.
Thanks in advance,
Marina
Hi Marina,
it seems as if teh cache folder of the agents is growing endlessly
This is the path to teh folder:
/nethome/tmt508/g/g_bsp/bsp/builds/builddir/temp/cache
g_bsp@tmx419 ~/bsp/builds/builddir/temp/cache $> cd /nethome/tmt508/g/g_bsp/bsp/builds/builddir/temp/cache
g_bsp@tmx419 ~/bsp/builds/builddir/temp/cache $> du . -h
5.4G
g_bsp@tmx419 ~/bsp/builds/builddir/temp/cache $> ls
temp48892patch_4337 temp48900patch_4346 temp48938patch_4368 temp48986patch_4390 temp49073patch_4436 temp49116patch_4457 temp49269patch_4527 temp49551patch_4674
temp48893patch_4337 temp48901patch_4346 temp48984patch_4390 temp48987patch_4393 temp49074patch_4436 temp49117patch_4458 temp49549patch_4674 temp49552patch_4675
temp48894patch_4337 temp48937patch_4368 temp48985patch_4390 temp49072patch_4436 temp49115patch_4457 temp49268patch_4527 temp49550patch_4674 temp49553patch_4675
and the second agent on the same machine:
g_bsp@tmx419 ~/bsp/builds $> cd buildDir2/temp/cache/
g_bsp@tmx419 ~/bsp/builds/buildDir2/temp/cache $> pwd
/nethome/tmt508/g/g_bsp/bsp/builds/buildDir2/temp/cache
g_bsp@tmx419 ~/bsp/builds/buildDir2/temp/cache $> du . -h
4.2G .
g_bsp@tmx419 ~/bsp/builds/buildDir2/temp/cache $> ls
temp25631patch_4338 temp25639patch_4341 temp25667patch_4360 temp25731patch_4388 temp25739patch_4392 temp25838patch_4435 temp26510patch_4673 temp26514patch_4676
temp25632patch_4338 temp25640patch_4347 temp25684patch_4367 temp25736patch_4391 temp25740patch_4392 temp25839patch_4435 temp26511patch_4673 temp26568patch_4697
temp25633patch_4338 temp25641patch_4347 temp25685patch_4367 temp25737patch_4391 temp25741patch_4392 temp26067patch_4526 temp26512patch_4673
temp25638patch_4341 temp25654patch_4355 temp25726patch_4386 temp25738patch_4391 temp25837patch_4435 temp26068patch_4526 temp26513patch_4676
For now I didn't upload the files in this dirs, 'cause they are all generated by TeamCity...
Regards
Mark
Hello Mark,
Please provide agent.log that cover the date of creation of one of these files.
Thanks in advance,
Marina
Hi Marina,
I couldn't find the apropriate log messages... But, as I cleaned up on our buildmachine, I moved the work folder back under the install dirs of the agents and ... voila the temp dirs are cleaned now... Does this make any sense for you??
Regards
Mark
Seems there is related issue in tracker http://youtrack.jetbrains.net/issue/TW-13880.
Yes this looks like the same issue.