https://bugzilla.wikimedia.org/show_bug.cgi?id=36085

       Web browser: ---
             Bug #: 36085
           Summary: temp files left around from some uploads (maybe
                    uploads of new versions only?)
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Uploading
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: ar...@wikimedia.org
                CC: bryan.tongm...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---


I happened to poke around on ms7 (server with originals of uploaded media), and
noticed that in wikipedia/commons/temp there's about 800GB of cruft accumulated
from 2008 (!) til now. Filenames all look like
YYYYMMDDHHMMSS!YYYYMMDDHHMMSS!phpXXXXXX.png or YYYYMMDDHHMMSS!phpXXXXXX.jpg and
you find them in the temp directories underneath every project image dir but
commons is the worst case.

Sure, I guess we could do a find on 800-something project dirs or on (ugh) the
whole 18T filesystem for temp/* but I dunno how feasible that's going to be
once media gets moved into Swift.  So maybe there could be some sort of MW
cleanup job to take care of this periodically.  Thoughts?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to