Page MenuHomePhabricator

Clean up huge logs on toollabs
Closed, ResolvedPublic

Description

So we have about 1.3T of logs on toollabs. P628 lists the biggest offender. Almost 1T is just one log file, filled with php warnings and notices. There's a NFS backup going on, so we should clean these up after.

Event Timeline

yuvipanda raised the priority of this task from to Needs Triage.
yuvipanda updated the task description. (Show Details)
yuvipanda added a project: Toolforge.
yuvipanda added subscribers: yuvipanda, coren, scfc, valhallasw.

NFS backup still going on, will be at least 3 days before it's done, I think.

Don't attempt to rm these from the labs instances tho - should be removed on the server directly or we'll kill NFS :)

Actually, unlinking a file via NFS should not be any harder on the server than doing it directly - the real thing to watch out for is to make sure it is not currently opened by any process. Something that /can/ be done from the server which might be a better idea is to simply truncate the file.

With regard to fiwiki-tools, I have asked the maintainer here.

valhallasw lowered the priority of this task from High to Low.Aug 2 2015, 1:35 PM
chasemp subscribed.

This has happened a few times and we will have to continue to clean things up. I'm hopeful T126623 will make it easier to identify and easier for users to understand in teh future. For now I'm going to resolve this as there isn't active cleanup in progress.