[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Proposal: new fsfs.conf properties

From: Philip Martin <philip_at_codematters.co.uk>
Date: Fri, 14 Jul 2017 21:42:02 +0100

Paul Hammant <paul_at_hammant.org> 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
/dev/urandom.

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
SSD.

-- 
Philip
Received on 2017-07-14 22:42:13 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.