Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Apache + SVN WebDAV slowdown problems

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
ravloony
n00b
n00b
User avatar
Posts: 54
Joined: Fri Feb 04, 2005 11:21 pm
Location: France
Contact:
Contact ravloony
Website

Apache + SVN WebDAV slowdown problems

  • Quote

Post by ravloony » Fri May 01, 2009 2:57 pm

Hi all,

I've installed apache on my server, and I'm using it to access my svn server over webdav. The problem is that sometimes, using svn can be really slow, or even not work, for no reason I can ascertain. Restarting apache corrects the problem for a bit, but it always comes back. Anybody have this problem?

My apache install opts:

Code: Select all

[ebuild   R   ] www-servers/apache-2.2.10  USE="ldap ssl static threads -debug -doc (-selinux) -sni -suexec" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -authn_alias -cern_meta -charset_lite -dumpio -log_forensic -proxy_ftp -substitute -version" APACHE2_MPMS="event -itk -peruser -prefork -worker" 0 kB
It's running with

Code: Select all

APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5 -D USERDIR -D LOG_SQL -D INFO -D DAV -D SVN"
I'm at a bit of a loss here, so any help would be greatly appreciated.

Thanks in advance.
No sig yet, sig ebuild up soon :-)
Top
stan666
Apprentice
Apprentice
User avatar
Posts: 165
Joined: Mon Jun 25, 2007 6:20 pm
Location: Germany
Contact:
Contact stan666
Website

  • Quote

Post by stan666 » Fri May 01, 2009 7:35 pm

Are there any log entries in error log or access log you could post?
BOFH Excuse #450:
Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)
Top
ravloony
n00b
n00b
User avatar
Posts: 54
Joined: Fri Feb 04, 2005 11:21 pm
Location: France
Contact:
Contact ravloony
Website

  • Quote

Post by ravloony » Fri May 01, 2009 11:05 pm

Code: Select all

 - - [02/May/2009:01:11:35 +0200] "OPTIONS /svn/repos/nsga/trunk HTTP/1.1" 200 194 "-" "SVN/1.6.1 (r37116) neon/0.28.4"
 - - [02/May/2009:01:11:35 +0200] "PROPFIND /svn/repos/nsga/trunk HTTP/1.1" 207 698 "-" "SVN/1.6.1 (r37116) neon/0.28.4"
 - - [02/May/2009:01:11:35 +0200] "PROPFIND /svn/repos/nsga/trunk HTTP/1.1" 207 698 "-" "SVN/1.6.1 (r37116) neon/0.28.4"
 - - [02/May/2009:01:11:36 +0200] "PROPFIND /svn/repos/nsga/!svn/vcc/default HTTP/1.1" 207 411 "-" "SVN/1.6.1 (r37116) neon/0.28.4"
 - - [02/May/2009:01:11:36 +0200] "PROPFIND /svn/repos/nsga/!svn/bln/83 HTTP/1.1" 207 464 "-" "SVN/1.6.1 (r37116) neon/0.28.4"
 - - [02/May/2009:01:11:36 +0200] "REPORT /svn/repos/nsga/!svn/vcc/default HTTP/1.1" 200 634 "-" "SVN/1.6.1 (r37116) neon/0.28.4"
This is from the access log after an update. There is nothing in the error log at all connected to svn.
No sig yet, sig ebuild up soon :-)
Top
stan666
Apprentice
Apprentice
User avatar
Posts: 165
Joined: Mon Jun 25, 2007 6:20 pm
Location: Germany
Contact:
Contact stan666
Website

  • Quote

Post by stan666 » Sat May 02, 2009 10:48 am

maybe "curl -vv <URL>" gives some more information? If not pls post your apache config (not the whole config, just your svn-related stuff :) )
(by writing this i assume that: 1. the server load is normal and you do not have hundreds of apache2 processes/threads running (can happen if you are using the wrong "worker" which can make you DOS your own server :-)), 2. there is enough disk space - I know these two facts are rather obvious, I only mention this stuff because it already happend to me :oops:)
BOFH Excuse #450:
Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)
Top
ravloony
n00b
n00b
User avatar
Posts: 54
Joined: Fri Feb 04, 2005 11:21 pm
Location: France
Contact:
Contact ravloony
Website

  • Quote

Post by ravloony » Sat May 02, 2009 11:19 am

content of mod_dav_svn.conf:

Code: Select all

<IfDefine SVN>
        <IfModule !mod_dav_svn.c>
                LoadModule dav_svn_module       modules/mod_dav_svn.so
        </IfModule>
        <Location /svn/repos>
                DAV svn
                SVNParentPath /var/svn/repos
                #SSLRequireSSL
                AuthType Basic
                AuthName "Super Duper SVN Repository"
                AuthUserFile /var/svn/conf/svnusers
                #AuthzSVNAccessFile /var/svn/conf/svnpolicy
                <LimitExcept GET PROPFIND OPTIONS REPORT>
                        Require valid-user
                </LimitExcept>
                SVNIndexXSLT /svnindex.xsl
        </Location>
        <IfDefine SVN_AUTHZ>
                <IfModule !mod_authz_svn.c>
                        LoadModule authz_svn_module     modules/mod_authz_svn.so
                </IfModule>
        </IfDefine>
</IfDefine>
curl -vv gives:

Code: Select all

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/svnindex.xsl"?>
<!DOCTYPE svn [
  <!ELEMENT svn   (index)>
  <!ATTLIST svn   version CDATA #REQUIRED
                  href    CDATA #REQUIRED>
  <!ELEMENT index (updir?, (file | dir)*)>
  <!ATTLIST index name    CDATA #IMPLIED
                  path    CDATA #IMPLIED
                  rev     CDATA #IMPLIED
                  base    CDATA #IMPLIED>
  <!ELEMENT updir EMPTY>
  <!ELEMENT file  EMPTY>
  <!ATTLIST file  name    CDATA #REQUIRED
                  href    CDATA #REQUIRED>
  <!ELEMENT dir   EMPTY>
  <!ATTLIST dir   name    CDATA #REQUIRED
                  href    CDATA #REQUIRED>
]>
<svn version="1.5.5 (r34862)"
     href="http://subversion.tigris.org/">
  <index rev="83" path="/" base="nsga">
    <dir name="tags" href="tags/" />
    <dir name="trunk" href="trunk/" />
  </index>
</svn>

Apache doesn't seem overloaded, and is using about 70M per thread according to htop. There's plenty of disk space left.
No sig yet, sig ebuild up soon :-)
Top
stan666
Apprentice
Apprentice
User avatar
Posts: 165
Joined: Mon Jun 25, 2007 6:20 pm
Location: Germany
Contact:
Contact stan666
Website

  • Quote

Post by stan666 » Sat May 02, 2009 12:18 pm

Your config looks sane, I'm running out of ideas...
BOFH Excuse #450:
Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)
Top
Post Reply

6 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic