What is this .old directory and why is it devouring my agent?

Some of our builds have started failing due to insufficient space on the agent machines. Investigating it appeared the checkout directories were being copied to a .old directory inside work. Why is this happening and how can I stop it? There's nothing helpful in the documentation.

System details:

Teamcity 5.0.3 on ubuntu 8.04, Agents on Red Hat EL 5, SuSE11, Windows 2003 and Solaris 10

6 comments

Jennifer,

This works as follows. If agent understands that checkout directory is no longer used, agent moves it under the .old folder. Then, when agent becomes idle, it will clean files from this folder. But if agent never becomes  idle,  it  is possible that .old will increase and only when available disk spac reaches some limit, agent will try to remove .old during the next build start.

If you have problems with disk space, then probably cleaning logic is not working properly. Please provide agent logs.

Kind regards,
Marina

0

Hi,

I have same problem on Linux. A .old folder is now 1To and no space left. I've clean it up myself, but I don't understand what could be wrong, and what exactly are these folders used for?
And can we configure the cleanup, or see cleanup logs somewhere?

0

Hello,

As long  as  you do not run out of disk space, you can leave the decision  to  clean  .old to an agent itself. But if you have problems with disk space, then probably cleaning logic is not working properly. In this case please send as agent logs.

Kind regards,
Marina

0

I'm having the same issue, where do I send the log files, and which ones do you want?

0

We'll need \buildAgent\logs\teamcity-agent.log
You can post it here, or send to teamcity-feedback@jetbrains.com (please mention a lint to this thread).

Thanks
Michael

0

The issue is eventually filed as TW-17652.

0

Please sign in to leave a comment.