Problems with Clean-Up Policy

It seems that the clean-up feature does not remove build messages.

I have specified that I want to keep only 60 days worth of builds, but if I look in <teamcity-data-dir>/system/messages, there are files which are older that 60 days.

These message files can be quite large of your build process is very verbose.

Thanks,

Scott

8 comments
Comment actions Permalink

Scott, which version of TeamCity do you use?
In the Agra EAP the cleanup process should be working correctly.
There also could be messages for "Pinned" builds.

Kind regards,
KIR

0
Comment actions Permalink

I do have the same problem with TC 1.2


"Kirill Maximov (JetBrains)" <no_reply@jetbrains.com> wrote in message
news:579256.1174422608730.JavaMail.itn@is.intellij.net...

Scott, which version of TeamCity do you use?
In the Agra EAP the cleanup process should be working correctly.
There also could be messages for "Pinned" builds.

>

Kind regards,
KIR



0
Comment actions Permalink

I see the messages directory (inside .Buildserver/system) using 8gb

I have 101 directories CH?? with plenty of *.build files

I'm needing a way to free space!!!



0
Comment actions Permalink

Hello Gaston,

What clean-up rules do you have?

--
Pavel Sher

"Gaston Martin" <gmartin@bea.com> wrote in message
news:etritv$ga8$1@is.intellij.net...
>I see the messages directory (inside .Buildserver/system) using 8gb
>

I have 101 directories CH?? with plenty of *.build files

>

I'm needing a way to free space!!!

>
>



0
Comment actions Permalink

I'm using TC 1.2 (1784) and none of my builds are pinned.

I've also noticed that the Cleanup policy will not run automatically. I must run it manually.

Was this something fixed in the Agra EAP?

Thanks,

Scott

0
Comment actions Permalink

I've tried with 30, 15, 7 days.. for all projects. But messages still are
there... I changed TC database from hsqldb to mysql (because hsqldb was
corrupted)


"Pavel Sher" <pavel.sher@jetbrains.com> wrote in message
news:etrjft$r54$1@is.intellij.net...

Hello Gaston,

>

What clean-up rules do you have?

>

--
Pavel Sher

>

"Gaston Martin" <gmartin@bea.com> wrote in message
news:etritv$ga8$1@is.intellij.net...

>>I see the messages directory (inside .Buildserver/system) using 8gb
>>
>> I have 101 directories CH?? with plenty of *.build files
>>
>> I'm needing a way to free space!!!
>>
>>
>>
>



0
Comment actions Permalink

Yes, we did some fixes in cleanup policies in Agra.
At least, these work fine for us, though we really have a lot of builds.

Please try upgrading to Agra, hope this will help (but please backup your database and settings first for the case of problem).

Kind regards,
KIR

0
Comment actions Permalink

Hello Gaston,

I've tried with 30, 15, 7 days.. for all projects. But messages still are
there... I changed TC database from hsqldb to mysql (because hsqldb was
corrupted)


Probably database migration is the cause of the problem. If builds history
was lost during migration then TC does not know which builds these messages
belong. I think you can simply clean the messages folder. You will lost
build logs but information about failed tests with stacktraces will still be
available. Of course you should shutdown server before cleaning messages.

--
Pavel Sher

>
>

"Pavel Sher" <pavel.sher@jetbrains.com> wrote in message
news:etrjft$r54$1@is.intellij.net...

>> Hello Gaston,
>>
>> What clean-up rules do you have?
>>
>> --
>> Pavel Sher
>>
>> "Gaston Martin" <gmartin@bea.com> wrote in message
>> news:etritv$ga8$1@is.intellij.net...
>>>I see the messages directory (inside .Buildserver/system) using 8gb
>>>
>>> I have 101 directories CH?? with plenty of *.build files
>>>
>>> I'm needing a way to free space!!!
>>>
>>>
>>>
>>
>>
>



0

Please sign in to leave a comment.