Re: Deadlock-like behaviour of svnserve in multi-threaded mode (-T)
On 14 April 2016 at 19:14, Radek Krotil <radek.krotil_at_polarion.com> wrote:
> Hi all.
> Our application generates lot of concurrent read requests to subversion
> using svn: protocol. When we tested the multithreaded mode of svnserve after
> upgrade to 1.9.3, we noticed strange 'deadlock-like' behavior: at some point
> all the requests are blocked in svnserve and wait there for a few minutes (3
> to 15 minutes, no CPU activity), after which they continue to work. This is
> making our application significantly slower.
> Operating system: Windows 10, CentOS 6.6, CentOS 7.2
> The release and/or revision of Subversion: 1.9.3
> The compiler and configuration options you built Subversion with: WANDisco
> binaries for CentOS, Apache Haus binaries for Windows
> The workaround on Linux is to run svnserve without -T switch, i.e. not using
> multithreaded mode. For Windows, there is no workaround as svnserve only
> supports the multi-threaded mode.
> Here is a sample of thread dump of svnserve.exe during the 'deadlock'
> obtained on Windows 10 using Process Explorer:
> The similar stack can be seen with other threads too.
1. Do you have debug symbols for Subversion binaries you're using?
2. Other threads should have different stack trace, because AFAIK only
one thread calls accept().
3. Could you please create full memory dump of locked process and send
it to me including debug symbols?
Received on 2016-04-15 09:46:09 CEST
This is an archived mail posted to the Subversion Dev