[Mageia-sysadm] Disk full on valstar

Pascal Terjan pterjan at gmail.com
Mon Jan 24 11:09:04 CET 2011


On Mon, Jan 24, 2011 at 07:39, Olivier Blin <mageia at blino.org> wrote:
> nicolas vigier <boklm at mars-attacks.org> writes:
>
>>> > - do not keep src.rpm in case of failure. We do not really use them
>>> > anyway, and removing them freed 6g on the server.
>>>
>>> We could have a cron, like on Mandriva BS, removing files older than a
>>> few days (like 7 days).
>>
>> Or one month, or more (if it can be useful). We have 1.53T free so we
>> can probably create a big lvm partition for this.
>>
>> Maybe we can create a 100G lvm partition for this ?
>
> It grew to about 14G in 2 weeks, without big packages like OpenOffice or
> OpenArena, we have to be careful.
>
> Also, having more src.rpm/.info files in /uploads means the BS and its
> web status will be slower.
>
> Maybe we can move them to a /olds-uploads dir after one week, to make
> the BS faster but still keep history and remove them from there after
> one moth.

Why not keeping at most n submits (like 10K) and at most 1 month and
at most 90G ?
If we get over 90G remove oldest ones, day by day, until we get back
into the limit


More information about the Mageia-sysadm mailing list