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

webdav-proxy grabs all memory and eventually dumps core

From: Thomas Pircher <tehpeh_at_gmx.net>
Date: 2007-09-18 15:10:46 CEST

Hi,

I have a problem with webdav-proxy, taken from trunk at revision 26656
(2007-09-18).

I have configured the proxy as follows:

<Location /sandbox>
    DAV svn
    SVNPath /srv/repos/sandbox
    SVNMasterURI http://sandbox.svn.example.com
</Location>

I can browse the repository with a Web browser, but when I try to check
out some data, the HTTP connection to the client gets closed, the machine
slows down and eventually an Apache process is killed (segfault). Looking
at the output of ps, I suspect Apache grabs all the available memory and
when the swap partition is full, the process dumps core.

Has anybody an idea how I can debug this behaviour?

Thanks,
Thomas

My Apache Proxy configuration is:
<IfModule mod_proxy.c>
        ProxyRequests On
        ProxyVia On

        <Proxy *>
                AddDefaultCharset off
                Order deny,allow
                Deny from all
                Allow from 192.168.0
        </Proxy>
</IfModule>

Output of /var/log/apache2/error.log:
====================================

[Tue Sep 18 13:52:37 2007] [notice] Apache/2.2.4 (Debian) DAV/2
SVN/1.5.0-dev configured -- resuming normal operations
[Tue Sep 18 13:53:48 2007] [notice] child pid 3402 exit signal
Segmentation fault (11)
[Tue Sep 18 13:54:43 2007] [notice] child pid 3404 exit signal
Segmentation fault (11)
[Tue Sep 18 13:55:40 2007] [notice] child pid 3459 exit signal
Segmentation fault (11)
[Tue Sep 18 13:56:37 2007] [notice] child pid 3487 exit signal
Segmentation fault (11)

Output of "ps aux":
==================

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
[...]
root 3396 0.0 0.0 11304 236 ? Ss 13:52 0:00
/usr/sbin/apache2 -k start
www-data 3401 0.0 0.0 11060 136 ? S 13:52 0:00
/usr/sbin/apache2 -k start
www-data 3402 8.8 91.6 2252564 934628 ? Sl 13:52 0:03
/usr/sbin/apache2 -k start
www-data 3404 0.0 0.0 232804 172 ? Sl 13:52 0:00
/usr/sbin/apache2 -k start
root 3458 1.0 0.1 3620 1028 pts/0 R+ 13:53 0:00 ps aux

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 18 15:11:09 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.