Re: [PATCH] koji directory cleanup: shorten the time we keep things

2015-11-20 Thread Kevin Fenzi
On Mon, 26 Oct 2015 10:39:07 +0100
Mikolaj Izdebski  wrote:

> On 10/26/2015 10:13 AM, Vít Ondruch wrote:
> > Dne 23.10.2015 v 23:18 den...@ausil.us napsal(a):
> >> keep koschei builds for 1 day
> > 
> > This is really short period. If the build fails Friday evening, it
> > is already long time lost Monday morning when I would like to check
> > what went wrong 
> 
> Definitely agreed. So short Koschei log life time very negatively
> affects Koschei users. Logs should be kept much longer than one day
> (at least 1 week IMHO).
> 
> Note that Koschei users care mostly just about logs. You can remove
> RPMs as soon as you want, or even not store them at all, which I
> proposed this as a Koji enhancement long time ago:
> 
> https://fedorahosted.org/koji/ticket/284
> 
> AFAIK this is a problem with lack of i-nodes on NetApp. Has anyone
> considered increasing available i-node instead of this patch?

Yes, and we not have 2x as many inodes. 

So, we could revert part of this if we want (possibly after freeze)?

kevin


pgpMXFSqYCrtt.pgp
Description: OpenPGP digital signature
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/infrastructure@lists.fedoraproject.org


Re: [PATCH] koji directory cleanup: shorten the time we keep things

2015-10-26 Thread Mikolaj Izdebski
On 10/26/2015 10:13 AM, Vít Ondruch wrote:
> Dne 23.10.2015 v 23:18 den...@ausil.us napsal(a):
>> keep koschei builds for 1 day
> 
> This is really short period. If the build fails Friday evening, it is
> already long time lost Monday morning when I would like to check what
> went wrong 

Definitely agreed. So short Koschei log life time very negatively
affects Koschei users. Logs should be kept much longer than one day
(at least 1 week IMHO).

Note that Koschei users care mostly just about logs. You can remove RPMs
as soon as you want, or even not store them at all, which I proposed
this as a Koji enhancement long time ago:

https://fedorahosted.org/koji/ticket/284

AFAIK this is a problem with lack of i-nodes on NetApp. Has anyone
considered increasing available i-node instead of this patch?

-- 
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/infrastructure@lists.fedoraproject.org


Re: [PATCH] koji directory cleanup: shorten the time we keep things

2015-10-26 Thread Vít Ondruch
Dne 23.10.2015 v 23:18 den...@ausil.us napsal(a):
> keep koschei builds for 1 day

This is really short period. If the build fails Friday evening, it is
already long time lost Monday morning when I would like to check what
went wrong 



Vít

___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/infrastructure@lists.fedoraproject.org


Re: [PATCH] koji directory cleanup: shorten the time we keep things

2015-10-23 Thread Patrick Uiterwijk
+1


- Original Message -
> From: Dennis Gilmore 
> 
> keep data in the work for 2 weeks
> keep scratch builds 2 weeks
> keep koschei builds for 1 day
> 
> Signed-off-by: Dennis Gilmore 
> ---
>  roles/koji_hub/files/koji-directory-cleanup | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/roles/koji_hub/files/koji-directory-cleanup
> b/roles/koji_hub/files/koji-directory-cleanup
> index 67a3018..4429235 100644
> --- a/roles/koji_hub/files/koji-directory-cleanup
> +++ b/roles/koji_hub/files/koji-directory-cleanup
> @@ -1,2 +1,3 @@
> -0 8 * * * apache find /mnt/koji/work-xdev -depth -mindepth 2 -mtime +28
> \( -type f -o -type l \) -delete -o -type d -empty -delete
> -0 9 * * * apache find /mnt/koji/scratch -xdev -depth -mtime +21
> \( -type f -o -type l \) -delete -o -type d -empty -delete
> +0 8 * * * apache find /mnt/koji/work-xdev -depth -mindepth 2 -mtime +14
> \( -type f -o -type l \) -delete -o -type d -empty -delete
> +0 9 * * * apache find /mnt/koji/scratch -xdev -depth -mtime +14
> \( -type f -o -type l \) -delete -o -type d -empty -delete
> +0 9 * * * apache find /mnt/koji/scratch/koschei -xdev -depth -mtime +1
> \( -type f -o -type l \) -delete -o -type d -empty -delete
> --
> 1.8.3.1
> ___
> infrastructure mailing list
> infrastructure@lists.fedoraproject.org
> http://lists.fedoraproject.org/admin/infrastructure@lists.fedoraproject.org
> 
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/infrastructure@lists.fedoraproject.org


Re: [PATCH] koji directory cleanup: shorten the time we keep things

2015-10-23 Thread Dennis Gilmore
On Friday, October 23, 2015 03:25:15 PM Stephen John Smoogen wrote:
> +1
> 
> On 23 October 2015 at 15:20, Patrick Uiterwijk  
wrote:
> > +1
> > 
Applied thanks

Dennis


signature.asc
Description: This is a digitally signed message part.
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/infrastructure@lists.fedoraproject.org