From: Dennis Gilmore ausil@fedoraproject.org
keep data in the work for 2 weeks keep scratch builds 2 weeks keep koschei builds for 1 day
Signed-off-by: Dennis Gilmore ausil@fedoraproject.org --- 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
----- Original Message -----
From: Dennis Gilmore ausil@fedoraproject.org
keep data in the work for 2 weeks keep scratch builds 2 weeks keep koschei builds for 1 day
Signed-off-by: Dennis Gilmore ausil@fedoraproject.org
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
+1
On 23 October 2015 at 15:20, Patrick Uiterwijk puiterwijk@redhat.com wrote:
+1
----- Original Message -----
From: Dennis Gilmore ausil@fedoraproject.org
keep data in the work for 2 weeks keep scratch builds 2 weeks keep koschei builds for 1 day
Signed-off-by: Dennis Gilmore ausil@fedoraproject.org
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
On Friday, October 23, 2015 03:25:15 PM Stephen John Smoogen wrote:
+1
On 23 October 2015 at 15:20, Patrick Uiterwijk puiterwijk@redhat.com
wrote:
+1
Applied thanks
Dennis
Dne 23.10.2015 v 23:18 dennis@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
On 10/26/2015 10:13 AM, Vít Ondruch wrote:
Dne 23.10.2015 v 23:18 dennis@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?
On Mon, 26 Oct 2015 10:39:07 +0100 Mikolaj Izdebski mizdebsk@redhat.com wrote:
On 10/26/2015 10:13 AM, Vít Ondruch wrote:
Dne 23.10.2015 v 23:18 dennis@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
infrastructure@lists.fedoraproject.org