On Thu, May 14, 2015 at 8:45 AM, Jun Omae <[email protected]> wrote: > 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
I am just curious, when you install Trac on Dreamhost, do they do any special Apache configuration for Trac? From my experience configuring Apache to serve Trac, the virtualhost configuration needs to know the location of the Python install, as well as the location of the cgi, wsgi or fcgi script. Does Dreamhost have specific instructions to help you configure the location of these files without you directly touching the virtualhost configuration? Perhaps using Environment variables? http://trac.edgewall.org/wiki/TracModWSGI#Mappingrequeststothescript -- 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.
