You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Leo Simons <ls...@jicarilla.org> on 2004/10/03 11:09:05 UTC
/usr nearly full
Hi gang,
leosimons@brutus:/usr/local/gump$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.4G 1.4G 5.7G 19% /
tmpfs 1011M 0 1011M 0% /dev/shm
/dev/sda6 25G 2.1G 21G 9% /home
/dev/sdb6 32G 26G 3.9G 87% /usr
/usr/local/gump is kinda full, especially as it grows during gump runs
(ie it was
/dev/sdb6 32G 29G 1.1G 97% /usr
a while ago).
Something's gotta give. Or something has to move from /usr/local/gump to
/home/gump.
- LSD
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
Re: /usr nearly full
Posted by Stefano Mazzocchi <st...@apache.org>.
Sam Ruby wrote:
> Leo Simons wrote:
>
>> Hi gang,
>>
>> leosimons@brutus:/usr/local/gump$ df -h
>> Filesystem Size Used Avail Use% Mounted on
>> /dev/sda1 7.4G 1.4G 5.7G 19% /
>> tmpfs 1011M 0 1011M 0% /dev/shm
>> /dev/sda6 25G 2.1G 21G 9% /home
>> /dev/sdb6 32G 26G 3.9G 87% /usr
>>
>> /usr/local/gump is kinda full, especially as it grows during gump runs
>> (ie it was
>>
>> /dev/sdb6 32G 29G 1.1G 97% /usr
>>
>> a while ago).
>>
>> Something's gotta give. Or something has to move from /usr/local/gump
>> to /home/gump.
>
>
> Some directories like /usr/local/gump/public/jars seem to only grow.
yep, that jar archive is getting bigger for no reason.
> A cron job such as the following would remove files that are older than
> a week:
>
> find /usr/local/gump/public/jars -ctime +6 | xargs -r rm
+1 great idea.
--
Stefano.
Re: /usr nearly full
Posted by "Adam R. B. Jack" <aj...@apache.org>.
> A cron job such as the following would remove files that are older than
> a week:
>
> find /usr/local/gump/public/jars -ctime +6 | xargs -r rm
Ok, now our cron cleanup is:
# Clean up after POI...
0 0 * * * /bin/rm -f /tmp/*.xls
# Clean up older artifacts
0 0 * * * /usr/bin/find /usr/local/gump/*/jars -type f -ctime +6 |
/usr/bin/xargs -r /bin/rm
find /usr/local/gump/*/jars -type f -ctime +6 | xargs -r rm
Tweaks:
1) Do all Gump flavours.
2) Just attempt to delete files (not directories)
3) Full paths -- in the cron script, if not cut-n-paste here -- just in
case.
What is interesting about this simplistic date-based clean-up is that we'll
remove artifacts after 6 days, whether we have new artifacts or not. This
will mean we can only 'build from repository' for a week. Maybe that is a
good thing, i.e. we smooth issues we don't hide them forever.
regards,
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
Re: /usr nearly full
Posted by Sam Ruby <ru...@apache.org>.
Leo Simons wrote:
> Hi gang,
>
> leosimons@brutus:/usr/local/gump$ df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/sda1 7.4G 1.4G 5.7G 19% /
> tmpfs 1011M 0 1011M 0% /dev/shm
> /dev/sda6 25G 2.1G 21G 9% /home
> /dev/sdb6 32G 26G 3.9G 87% /usr
>
> /usr/local/gump is kinda full, especially as it grows during gump runs
> (ie it was
>
> /dev/sdb6 32G 29G 1.1G 97% /usr
>
> a while ago).
>
> Something's gotta give. Or something has to move from /usr/local/gump to
> /home/gump.
Some directories like /usr/local/gump/public/jars seem to only grow.
A cron job such as the following would remove files that are older than
a week:
find /usr/local/gump/public/jars -ctime +6 | xargs -r rm
- Sam Ruby
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org