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

apr-util bug affecting memcached use

From: Tim Whittington <timw_at_apache.org>
Date: Fri, 15 Jul 2011 19:49:32 +1200

Hi all

I ran into an issue with the apr-util memcache code [1] used by
Subversion that severely affects use of memcache on a high load
Subversion server.
apr_memcache_server_create is not translating the seconds based TTL
passed in to the microseconds based TTL used by the resource pool,
resulting in connections to memcache being killed too quickly (after
50 microseconds in the case of Subversion).
This quickly leads to socket exhaustion (too many connections in
TIME_WAIT) under a heavy load (e.g. a room full of developers doing
git svn clones).

It's not a Subversion issue, but you may want to be aware of it as it
directly affects on of your features.

tim

[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=51511
Received on 2011-07-15 09:49:50 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.