subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <>
Subject Re: Proposal: new fsfs.conf properties
Date Fri, 14 Jul 2017 20:42:02 GMT
Paul Hammant <> writes:

>> I don't believe Apache/mod_dav_svn uses TMPDIR when processing a PUT.
> I can prove that either Apache or ModDavSvn (or the OS) uses TMPDIR during
> a PUT of a very large resource.
> Test 1: leave 3GB free on system drive, try to PUT 15GB file thru DAV into
> it's ultimate destination on a driver with 3TB of space. And observe an
> error (as I did before)
> Test 2: as #1 but with a TMPDIR export in /etc/apache2/envvars. No error
> during the PUT will be the observation.

So what data gets written there?  Which process writes it?  When I use
curl to put a 15GB file into apache my /tmp stays at 92KB used.  I don't
have TMPDIR set, I don't set TMPDIR for apache.

I have also run 

  strace -fetrace=open -p nnn

on the apache process to see all the files opened by the apache process.
All the files opened are within the the repository itself except for

Incidentally, the 15GB upload takes 2min 4s.  This is on a machine with
a core i5 4570 (circa 2013) processor and with the repository on a SATA


View raw message