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

Re: Timeouts on WebDAV svn server (Win32)

From: Rahul Bhargava <me_at_rahulbhargava.org>
Date: 2007-03-05 23:37:57 CET

Danil -

Try increasing the KeepAlive settings in Apache conf file (httpd.conf
or i fyou have a defaults conf):

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 50000

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection).
#
KeepAlive On

# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
#
MaxKeepAliveRequests 0

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 250000

This would ensure Http connections do not timeout in the middle of a
WebDAv request.

Danil Shebounin wrote:
> Hello!
>
> There is a short description of my problem.
> Software: MS Windows Server 2003 R2, Apache 2.0.59, Subversion 1.4.3,
> CruiseControl.NET 1.2.1.7 <http://1.2.1.7>
> Corporate 100Mbit LAN _without_ internal proxies and firewalls.
>
> During integration cycles (automated builds of the project) some
> errors appeared. Integration cycle of CruiseControl.NET includes
> updating working copy and building the project in working copy. During
> update following happens:
>
> svn: REPORT request failed on '/ckat/!svn/vcc/default'
> svn: REPORT of '/ckat/!svn/vcc/default': Could not read chunk size: An
> existing connection was forcibly closed by the remote host. (
> http://vault:30000 <http://vault:30000/>)
> . Process command: svn.exe update --revision 69 --username ccnet
> --password 12345678 --non-interactive --no-auth-cache
>
> "REPORT request failed" happens very often but with different
> messages. In the previous time it was "Could not read request
> body...". Somtimes error was "PROPFIND request failed". Somtimes it
> happens on developer's computer - the errors are same.
>
> Apache error log is silent, access log is:
>
> 10.1.1.1 <http://10.1.1.1> - - [05/Mar/2007:05:00:00 +0300] "PROPFIND
> /ckat/CURRENT HTTP/1.1" 401 510
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:00 +0300]
> "PROPFIND /ckat/CURRENT HTTP/1.1" 207 682
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300]
> "PROPFIND /ckat/!svn/vcc/default HTTP/1.1" 207 391
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300]
> "PROPFIND /ckat/!svn/bln/70 HTTP/1.1" 207 444
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300]
> "PROPFIND /ckat/CURRENT HTTP/1.1" 207 682
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300]
> "REPORT /ckat/!svn/vcc/default HTTP/1.1" 200 146
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300]
> "PROPFIND /ckat/CURRENT HTTP/1.1" 207 682
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300]
> "PROPFIND /ckat/!svn/vcc/default HTTP/1.1" 207 391
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300]
> "PROPFIND /ckat/!svn/bln/70 HTTP/1.1" 207 444
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300]
> "PROPFIND /ckat/CURRENT HTTP/1.1" 207 682
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300]
> "REPORT /ckat/!svn/vcc/default HTTP/1.1" 200 146
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300]
> "PROPFIND /ckat/CURRENT HTTP/1.1" 207 682
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300]
> "REPORT /ckat/!svn/vcc/default HTTP/1.1" 200 146
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300]
> "PROPFIND /ckat/CURRENT HTTP/1.1" 207 682
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300]
> "PROPFIND /ckat/!svn/vcc/default HTTP/1.1" 207 444
> 10.1.1.1 <http://10.1.1.1> - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300]
> "REPORT /ckat/!svn/bc/70/CURRENT HTTP/1.1" 200 100
>
> Searching Internet, I didn't find any solution, only a hints saying
> that there is a problem with WebDAV, Apache, timeouts e.t.c. But
> nothing sharply defined. There are many users having complaints
> about similar problems, but these complaints did not resolved. I
> propose to mark this failure as a bug, because for me this
> failure make WebDAV completely useless. I need integrated Windows
> security, but svnserve doesn't have it, file:/// operations a VERY
> slow. WebDAV was the only appropriate solution... It was...
>
> Regards!
> Dan.

-- 
Rahul Bhargava
http://www.rahulbhargava.org
Phone: (925) 265-8801(W)|895-2201(M)
Received on Tue Mar 6 15:44:20 2007

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

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