On Fri, May 15, 2015 at 12:07 AM, Rick Macdonald <[email protected]> wrote: > -rw------- 1 dhapache dhapache 45095144 May 14 08:00 > 20150514-075802-VVS3@q3s9jwAADKgugcAAAAA-file-ImTprl > -rw------- 1 dhapache dhapache 45096239 May 14 08:00 > 20150514-075802-VVS3@q3s9jwAADKgugcAAAAA-request_body-Hgfcs8 > > My first attempt at uploading a large zip file was an 85MB file. Since there > are 2 copies written and the /tmp is only 130 MB, it got filled up. When the > upload fails, Trac does not delete the failed files from /tmp. Too bad. Is > that something that could be improved in Trac?
No. It seems the modsecurity messes up that issue. > [Wed May 13 16:01:12 2015] [error] [client 100.100.100.100] ModSecurity: > Multipart parsing error: Multipart: writing to > "/tmp/20150513-160112-VVPXuK3s9jwAABJmO8gAAABR-file-8YZTFF" failed [hostname > "example.com"] [uri "/trac/attachment/ticket/1290/"] [unique_id > "VVPXuK3s9jwAABJmO8gAAABR"] > [Wed May 13 16:01:12 2015] [error] [client 100.100.100.100] ModSecurity: > Input filter: Failed writing 8192 bytes to temporary file (rc > 18446744073709551615). [hostname "example.com"] [uri > "/trac/attachment/ticket/1290/"] [unique_id "VVPXuK3s9jwAABJmO8gAAABR"] See also the following links. https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#SecUploadDir https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#SecTmpDir -- Jun Omae <[email protected]> (大前 潤) -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
