You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Thomas Pircher <te...@gmx.net> on 2007/09/18 13:10:46 UTC

webdav-proxy grabs all memory and eventually dumps core

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

Re: webdav-proxy grabs all memory and eventually dumps core

Posted by Thomas Pircher <te...@gmx.net>.
On Tuesday 18 September 2007, Thomas Pircher wrote:
Hi,

I'm still struggling with thwe webdav-proxy crash. I think it is due to the 
fact that we use one virtual domain name per repository, because when I look 
at the _server_ log, I get the following messages (please note the double 
slash at //!svn...):

==> access.log <==
192.168.1.32 - username [28/Sep/2007:14:16:18 +0200] "REPORT
//!svn/vcc/default HTTP/1.1" 500 222

==> error.log <==
[Fri Sep 28 14:16:18 2007] [error] [client 192.168.1.32] A failure
occurred while driving the update report editor  [500, #160005]
[Fri Sep 28 14:16:18 2007] [error] [client 192.168.1.32] Target path does
not exist  [500, #160005]

Is it possible that my specific configuration together with the 500 error 
message from the server triggers this segmentation fault?

Cheers,
Thomas

I append the fullquote of my first mail mail as reference.

> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: webdav-proxy grabs all memory and eventually dumps core

Posted by Andy Levy <an...@gmail.com>.
On 9/18/07, Thomas Pircher <te...@gmx.net> wrote:
> 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?

You may be better off on the SVN Developers' list. Most folks on the
Users list I'd wager aren't using trunk builds, but rather official
releases.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Fwd: webdav-proxy grabs all memory and eventually dumps core

Posted by Erik Huelsmann <eh...@gmail.com>.
Forwarding an interesting 1.5 report from users@ to dev@...

Erik.

---------- Forwarded message ----------
From: Thomas Pircher <te...@gmx.net>
Date: Sep 18, 2007 3:10 PM
Subject: webdav-proxy grabs all memory and eventually dumps core
To: users@subversion.tigris.org


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org