Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Disk usage report for HIPP/JIPPs

After purging old builds and workspaces, setting more aggressive archive cleanup rules on CI jobs, and deleting a few ancient jobs entirely, I've reduced the WTP JIPP footprint from 141G to 8.8G. 

Here's a script you can run in your jenkins to see what jobs are eating up all the space. This assumes anything folder/file in the `du` results that's less than 10M isn't worth deleting:

du -shc /jobs/genie.YOURPROJECT/*/workspace*/* | egrep -v "(8.0K|4.0K|0)[[:space:]]" > du.list.txt

cat du.list.txt | egrep "^([[:digit:]]{2})M[[:space:]]" | sort
echo "=========================="
cat du.list.txt | egrep "([[:digit:]]{3})M[[:space:]]" | sort
echo "=========================="
cat du.list.txt | egrep "G[[:space:]]" | sort
echo "=========================="



On Thu, Mar 1, 2018 at 8:38 AM, Frederic Gurr <frederic.gurr@xxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,

I've removed old/stale Hudson workspaces on all hipp machines and was
able to recover 65GB of disk space.

Thanks again Jonah, for bringing this to our attention.

Regards,

Fred

On 27.02.2018 21:47, Frederic Gurr wrote:
> Hi,
>
> Thanks Jonah for sharing the knowledge!
> I will add this to the best practices document and run a check for such
> stale workspace directories.
>
> Regards,
>
> Fred
>
>
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev



--

Nick Boldt

Senior Software Engineer, RHCSA

Productization Lead :: JBoss Tools & Dev Studio

IM: @nickboldt / @nboldt / http://nick.divbyzero.com



“The Only Thing That Is Constant Is Change” - Heraclitus

Back to the top