Ben Reser wrote:
> On Tue, 31 Aug 2004 19:00:47 +0200, Alex R. Mosteo <firstname.lastname@example.org> wrote:
>>The timeout happens after, say 5 minutes of no activity, and the server
>>is local. Everything is going at full speed and suddenly CPU usage drops
>>to 0, and after those 5 minutes or so the timeout or PUT failure is
>>reported. And then the repository is no longer accesible unless
>>re-created. Meanwhile my other repositories continue to work ok.
> Can you provide a reproduction recipe starting with creating a new
> repository and going from there?
I've prepared a test script. See below for some additional comments.
rm -rf test_data
x=$((500000000 / filesize))
echo "Creating binaries..."
while ((x)); do
head -c $filesize /dev/urandom > test_data/random-$x.bin;
x=$((x - 1));
echo Remaining to be created: $x...
sudo rm -rf svn-test
sudo mkdir svn-test
sudo svnadmin create svn-test
sudo chown nobody:nobody -R svn-test
echo "Beginning import..."
svn import test_data http://myhost<false>.net/svn-test/test_data -m
sudo svnadmin verify svn-test
As you can see, I'm simply creating a lot of random files and importing
them to a fresh repository. What I've found is that a single, big file
of 500MB doesn't hang (in my two or three attempts), neither files of
1MB and above. However the test with smaller files (as pasted) in three
of three attempts. It suggests a load problem in Apache... but the
server is local. Is there some 'retry' option in svn?
I expect that someone can reproduce my problem with the above script.
svn: PUT of
timed out waiting for server (http://..)
BTW today I can't reproduce the corrupted repository. It is accessible
after the failure (obviously it is empty).
>>I've simply downloaded the source .zip and issued a ./configure being
>>root (as a regular user I get permissions denied before this point).
> The zip file packaging is for Windows only. Use tar.bz2 or .tar.gz
It now fails at this point (doing make):
cd subversion/mod_authz_svn && /bin/sh
/home/jano/tmp/subversion-1.1.0-rc2/libtool --silent --mode=link gcc -g
-O2 -g -O2 -pthread -DNEON_ZLIB -rpath - rsion -module -o
libtool: link: only absolute run-paths are allowed
make: *** [subversion/mod_authz_svn/mod_authz_svn.la] Error 1
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Thu Sep 2 13:33:05 2004