You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Danil Shebounin <da...@gmail.com> on 2007/03/05 22:06:05 UTC

Timeouts on WebDAV svn server (Win32)

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
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)
. 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 - - [05/Mar/2007:05:00:00 +0300] "PROPFIND /ckat/CURRENT HTTP/1.1"
401 510
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 - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300] "PROPFIND
/ckat/!svn/vcc/default HTTP/1.1" 207 391
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 - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300] "PROPFIND /ckat/CURRENT
HTTP/1.1" 207 682
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 - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300] "PROPFIND /ckat/CURRENT
HTTP/1.1" 207 682
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 - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300] "PROPFIND
/ckat/!svn/bln/70 HTTP/1.1" 207 444
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 - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300] "REPORT
/ckat/!svn/vcc/default HTTP/1.1" 200 146
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 - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300] "REPORT
/ckat/!svn/vcc/default HTTP/1.1" 200 146
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 - TOPAZ\\ccnet [05/Mar/2007:05:00:01 +0300] "PROPFIND
/ckat/!svn/vcc/default HTTP/1.1" 207 444
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.

Re: Timeouts on WebDAV svn server (Win32)

Posted by Danil Shebounin <da...@gmail.com>.
Thanx!
I will take a note on your solution. If this problem will progress in the
future, I try to fix it with Apache timeout settings, as you suggest.

Now I have to set up a temporary solution - there is a lot of work to do
now, so I have no time to fix subversion server. The solution is a tie of
local svn server and CruiseControl server + WebDAV svn server for
developers.


2007/3/6, Rahul Bhargava me@rahulbhargava.org:
>
>
> 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.
>

Re: Timeouts on WebDAV svn server (Win32)

Posted by Rahul Bhargava <me...@rahulbhargava.org>.
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)