You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Gabriel Kalkuhl <ka...@boehme-weihs.de> on 2009/09/04 13:31:09 UTC

Network connection closed unexpectedly after checkout/update 27 externals

Hello!

We have the following error with Subversion Client 1.6.x:
After checkout/update a project with a huge number of externals the 
checkout/update fails after 27 externals with the following message:

svn: warning: Error handling externals definition for 'project28':
svn: warning: Network connection closed unexpectedly
Fetching external item into 'project29'
svn: warning: Network connection closed unexpectedly
svn: warning: Error handling externals definition for 'project30':
svn: warning: Network connection closed unexpectedly
...

Any suggestions, how to resolve this problem?

Regards
Gabriel

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2391017

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: Re: Network connection closed unexpectedly after checkout/update 27 externals

Posted by Stefan Sperling <st...@elego.de>.
On Thu, Sep 17, 2009 at 05:10:16PM +0100, Stefan Sperling wrote:
> Thank you, I can reproduce this problem with the following script:

Filed as http://subversion.tigris.org/issues/show_bug.cgi?id=3487
You can add yourself to the CC list there to receive updates.

Thanks,
Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2396095

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Re: Network connection closed unexpectedly after checkout/update 27 externals

Posted by Stefan Sperling <st...@elego.de>.
On Thu, Sep 17, 2009 at 07:43:54AM -0700, Gabriel Kalkuhl wrote:
> Steps to reproduce the behavior:
> svn, version 1.6.5 (r38866) using serf with svn:// protocol

serf does http:// not svn://.

> Server: Linux 2.6.16.60-0.27-smp #1 SMP Mon Jul 28 12:55:32 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux
> 
> create new repository with 'svnadmin /daten/svntest'
> create directory prj1
> create file: 'echo "testdata" > prj1/testfile.c '
> copied prj1 100 times with incremented name
> import of 100 projects with 'svn import prj...'
> creating directory externaltest in repository
> adding property svn:externals with 100 entries like 'prj1 svn://lxes10wg/svntest/projekte/prj1'
> checkout project externaltest

Thank you, I can reproduce this problem with the following script:


#!/bin/sh

set -e

cwd=`pwd`
basename=`basename $0`
scratch_area="`echo $basename | sed -e s/\.sh$//`"
repos=$scratch_area/repos
trunk=$scratch_area/trunk
branch=$scratch_area/branch
trunk_url=svn://localhost/trunk

set -x

rm -rf $scratch_area
mkdir -p $scratch_area

mkdir -p $trunk
echo alpha > $trunk/alpha
echo beta > $trunk/beta
mkdir $trunk/gamma
echo delta > $trunk/gamma/delta
mkdir $trunk/epsilon
echo zeta > $trunk/epsilon/zeta

svnadmin create $cwd/$repos

cp $repos/conf/svnserve.conf $repos/conf/svnserve.conf.orig
cat $repos/conf/svnserve.conf.orig \
	| sed -e 's/^# anon-access = read$/anon-access = write/' \
		> $repos/conf/svnserve.conf
svnserve --pid-file $scratch_area/svnserve.pid \
        --listen-host localhost -d -r $repos
trap "kill `cat $scratch_area/svnserve.pid`" 0

svn mkdir -m "mkdir trunk" $trunk_url
for i in `jot 100`
do
	svn import $trunk $trunk_url/$i -m "importing project $i"
done
rm -rf $trunk
svn checkout $trunk_url $trunk
svn mkdir $trunk/externals
(for i in `jot 100`
do
	echo "^/trunk/$i $i"
done) | svn propset svn:externals -F /dev/stdin $trunk/externals
svn commit -m "mkdir externals and propset svn:externals" $trunk
svn update $trunk

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2396087

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Re: Network connection closed unexpectedly after checkout/update 27 externals

Posted by Gabriel Kalkuhl <ka...@boehme-weihs.de>.
Steps to reproduce the behavior:
svn, version 1.6.5 (r38866) using serf with svn:// protocol
Server: Linux 2.6.16.60-0.27-smp #1 SMP Mon Jul 28 12:55:32 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux

create new repository with 'svnadmin /daten/svntest'
create directory prj1
create file: 'echo "testdata" > prj1/testfile.c '
copied prj1 100 times with incremented name
import of 100 projects with 'svn import prj...'
creating directory externaltest in repository
adding property svn:externals with 100 entries like 'prj1 svn://lxes10wg/svntest/projekte/prj1'
checkout project externaltest

Here we are:

svn: warning: Error handling externals definition for 'prj34':
svn: warning: Network connection closed unexpectedly

Fetching external item into 'prj35'
svn: warning: Network connection closed unexpectedly

svn: warning: Error handling externals definition for 'prj36':
svn: warning: Network connection closed unexpectedly
svn: warning: Error handling externals definition for 'prj37':
svn: warning: Network connection closed unexpectedly
......

Greetings
Gabriel

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2396027

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Network connection closed unexpectedly after checkout/update 27 externals

Posted by Stefan Sperling <st...@elego.de>.
On Thu, Sep 17, 2009 at 02:24:45PM +0100, Stefan Sperling wrote:
> On Thu, Sep 17, 2009 at 06:13:11AM -0700, Gabriel Kalkuhl wrote:
> > Are there imprecise terms? Do you need steps to reproduce this behavior?
> 
> Steps to reproduce are always very, very nice.
> 
> Can you provide all steps, starting with an empty repository, 
> which lead to this problem? If you can provide such a list
> of steps it is likely that if there really is a bug, then the
> problem can be fixed.
> 
> > Someone interested in this bug?
> > It would be nice to get some response.
> 
> Yes, please provide more information.

By the way, sending mail to you generates a bounce from your corporate
spam protection system. If you're not seeing anything of what
people are writing to you because of this, I hope you'll check
the archives of this list for replies...

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2396009

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Network connection closed unexpectedly after checkout/update 27 externals

Posted by Stefan Sperling <st...@elego.de>.
On Thu, Sep 17, 2009 at 06:13:11AM -0700, Gabriel Kalkuhl wrote:
> Are there imprecise terms? Do you need steps to reproduce this behavior?

Steps to reproduce are always very, very nice.

Can you provide all steps, starting with an empty repository, 
which lead to this problem? If you can provide such a list
of steps it is likely that if there really is a bug, then the
problem can be fixed.

> Someone interested in this bug?
> It would be nice to get some response.

Yes, please provide more information.

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2396002

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

AW: Network connection closed unexpectedly after checkout/update 27externals

Posted by Gabriel Kalkuhl <ka...@boehme-weihs.de>.
Hello and thank you for reply!

The mystic thing is: Subersion Client 1.5.7 works fine, Client 1.6.x fails. It also worked with 1.5.7 Server. The failure happend since updating to 1.6.0 Server. No network changes were made. So for me, it sounds like a bug. Maybe no one uses such a big amount of externals (we have 96 svn:externals)?

Ok, I'll try to get more information.

Gabriel

-----Ursprüngliche Nachricht-----
Von: Andy Levy [mailto:andy.levy@gmail.com] 
Gesendet: Donnerstag, 17. September 2009 15:22
An: Kalkuhl, Gabriel KK
Cc: users@subversion.tigris.org
Betreff: Re: Network connection closed unexpectedly after checkout/update 27externals

On Thu, Sep 17, 2009 at 09:13, Gabriel Kalkuhl <ka...@boehme-weihs.de> wrote:
> Are there imprecise terms? Do you need steps to reproduce this behavior? Someone interested in this bug?
> It would be nice to get some response.

Nothing you've provided points at Subversion as being at fault. Your network connection was closed. It could be the server cutting you off for too many connections, it could be your workstation getting overwhelmed, it could be your network and/or firewall.

Yes, a reproduction recipe will always improve your chances of getting help. As will details about your server configuration. At a minimum, what RA layer you're using, and if it's HTTP(s), which library you're using (serf or neon).

But even then, there's no guarantee that someone here will have an answer.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2396004

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Network connection closed unexpectedly after checkout/update 27 externals

Posted by Andy Levy <an...@gmail.com>.
On Thu, Sep 17, 2009 at 09:13, Gabriel Kalkuhl <ka...@boehme-weihs.de> wrote:
> Are there imprecise terms? Do you need steps to reproduce this behavior? Someone interested in this bug?
> It would be nice to get some response.

Nothing you've provided points at Subversion as being at fault. Your
network connection was closed. It could be the server cutting you off
for too many connections, it could be your workstation getting
overwhelmed, it could be your network and/or firewall.

Yes, a reproduction recipe will always improve your chances of getting
help. As will details about your server configuration. At a minimum,
what RA layer you're using, and if it's HTTP(s), which library you're
using (serf or neon).

But even then, there's no guarantee that someone here will have an answer.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2396001

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Network connection closed unexpectedly after checkout/update 27 externals

Posted by Gabriel Kalkuhl <ka...@boehme-weihs.de>.
Are there imprecise terms? Do you need steps to reproduce this behavior? Someone interested in this bug?
It would be nice to get some response.

Regards
Gabriel

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2395998

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Network connection closed unexpectedly after checkout/update 27 externals

Posted by Gabriel Kalkuhl <ka...@boehme-weihs.de>.
The problem existst since updating svn-server to 1.6 while using svn-client 1.6.x. It doesn't exists with svn-client 1.5.x.
The problem is exactly the same on a windows or unix system. It is also the same with "svn update" command or using TortoiseSVN.

Regards
Gabriel

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2392513

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].