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

Re: svnserve segfaults with 1.6 FSFS if stack size below 2 GB

From: Lasse Kliemann <lasse-subversion-users-2004_at_plastictree.net>
Date: Thu, 9 Apr 2009 19:05:37 +0200

* Message by -Lasse Kliemann- from Wed 2009-04-08:
> The SSH server on my machine runs with limited memory resources,
> set via 'softlimit' <http://cr.yp.to/daemontools/softlimit.html>.
> This used to work for years. However, the FSFS format introduced
> in the 1.6.x series doesn't seem to like it: [...]

I did some more tests.

softlimit offers four more specific options than -m, namely -d,
-s, -l, and -a. Using -m is equivalent to giving all these four.

Any combination of -a, -d, and -l (apparently) does not cause
trouble.

However, using -s (which causes softlimit to make the system call
setrlimit with RLIMIT_STACK) and with (apparently) anything below
2147483648 (= exactly 2 GB) gives a segfault. It works for
2147483648 and (apparently) anything higher than that.

The limits I gave yesterday are of course useless, since they are
much larger than what can be stored in an unsigned long int.

So, in a nutshell, svnserve segfaults with 1.6 FSFS whenever the
stack size is limited to something below 2 GB.

  • application/pgp-signature attachment: stored
Received on 2009-04-09 22:48:11 CEST

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

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