Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C5ADF180E1 for ; Thu, 11 Feb 2016 22:55:03 +0000 (UTC) Received: (qmail 43054 invoked by uid 500); 11 Feb 2016 22:55:03 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 43015 invoked by uid 500); 11 Feb 2016 22:55:03 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 43005 invoked by uid 99); 11 Feb 2016 22:55:02 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2016 22:55:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 62DADC1A30 for ; Thu, 11 Feb 2016 22:55:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.279 X-Spam-Level: X-Spam-Status: No, score=0.279 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id u2vRPICP6pLV for ; Thu, 11 Feb 2016 22:54:59 +0000 (UTC) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.102]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 3AA38428E5 for ; Thu, 11 Feb 2016 22:54:59 +0000 (UTC) Received: from [91.33.202.242] (helo=[192.168.1.101]) by smtprelay06.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1aU07t-0002Pw-6x; Thu, 11 Feb 2016 23:54:17 +0100 Subject: Re: Apache 2.4, Worker MPM, SVN 1.7.20, MOD_DAV_SVN and Post-Commit Hooks To: Philip Martin References: <56BC2F46.2040404@steffen-moser.de> <877fib5y1f.fsf@wandisco.com> From: Steffen Moser X-Enigmail-Draft-Status: N1110 Cc: users@subversion.apache.org Message-ID: <56BD113B.9000209@steffen-moser.de> Date: Thu, 11 Feb 2016 23:54:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <877fib5y1f.fsf@wandisco.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Df-Sender: bGlzdHNAc3RlZmZlbi1tb3Nlci5kZQ== Hi Philip, thank you very much for your fast reply! On 02/11/2016 11:41 AM, Philip Martin wrote: > Steffen Moser writes: > >> So my questions to you are: >> >> 1) Are there any known multi-threading problems with the combination >> Apache 2.4 MPM Worker, SVN 1.7.x, MOD_DAV_SVN and hooks? > > I would expect it to work although we do not get many reports of > Subversion on Solaris so it is possible there is a bug. Subversion 1.7 > is old. You are absolutely right, it is quite old, but I haven't had the time yet for integrating 1.8.x or 1.9.x into Solaris' build system. Fortunately, there are only two quite small patches from Oracle which the build system applies when compiling 1.7.x. Most probably, I just have to look what is actually needed of these patches and in how far I have to modify them to get 1.8.x or 1.9.x built. Most of the patched items are related to the directory position of libraries in the system. A simple exchange of 1.7.20 by 1.9.3 in Oracle's build tools failed as it it doesn't apply the patches (but I tried it only quite quickly today) correctly. > We did have a Solaris buidbot running Solaris 10 and it ran the > regression tests over svn:// with svnserve in threaded mode. I believe > I also had success with the tests over http:// with Apache worker but I > can't remember for sure. > >> 2) Is there any alternative to access an SVN repository via Apache >> besides using the MOD_DAV_SVN module in Apache? For example, can I >> possibly use "Fast CGI" to link SVN to Apache? (This is, for example, >> a solution to run the non-thread-safe PHP in a multi-threaded Worker >> MPM). > > No. > >> 3) What is the recommended way to solve the problem? Do I really have >> to go without a multi-threaded web server? > > Is your repository BDB? If so you could try migrating to FSFS. If you > are using BDB which version is the library? According to "svn/db/fs-type" it is FSFS, so non-thread-safe outdated BDB libraries shouldn't be the cause of the problem. > You could try running svnserve in threaded mode with the svn:// protocol > to see if the problem is limited to Apache. I'll try this. Thank you for the hint. I didn't know that the SVN daemon is also capable of doing multi-threading. > You could try building more recent APR/Apache/Subversion. Good idea. I think I am proceeding this way: 1) I try the SVN daemon instead of Apache/MOD_DAV_SVN. 2) I am going to upgrade Apache from 2.4.12 to 2.4.16 as there are binaries for Solaris 11.3 in an early access distribution: https://blogs.oracle.com/solarisfoss/entr /foss_evaluation_packages_for_solaris 3) Subversion 1.7.x is indeed quite outdated. Therefore, I am going to build Subversion 1.8.15 or, if possible, even 1.9.3. 4) The version of APR which comes with Solaris 11.3 is 1.5.1, so it should be not too old. Therefore I would try this as a last step. Kind regards, Steffen -- ------------------------------------------------------------------------ Dipl.-Inf. Steffen Moser School of Advanced Professional Studies Room: O27/317 Ulm University Tel: +49.731.50-24179 Albert-Einstein-Allee 11 Fax: +49.731.50-24182 89081 Ulm, Germany http://saps.uni-ulm.de/