Re: Checkout causing server to crash
Mark Phippard <[email protected]> Thu, 19 Feb 2015 15:40:48 -0500
| Newsgroups | gmane.comp.version-control.subversion.subclipse.user |
|---|---|
| Message-ID | <CAHFaGCq+n2mjU+GHxMynu0g8CxX3ZWO8fomR74Va4bDNt8nzYw@mail.gmail.com> |
------=_Part_13644_387896052.1424378451681 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Thu, Feb 19, 2015 at 2:37 PM, Jacob Weber <[email protected]> wrote: > Here's a strange one. > > When i check out a certain project using Subclipse, the SVN SERVER runs > out of memory and the process gets killed by oom-killer. > > It only happens when I specify a revision (rather than HEAD), but it > happens with several different revisions. > > The surprising thing is that this happens with SVNKit AND JavaHL (SVN > 1.8.5). But when I try the same thing on the same command line SVN client, > there's no problem: > > svn checkout svn+ssh://user@host/repo/project/branches/foo -r 123456 > --depth=infinity --force > > When it happens, nothing appears in the SVN console (not even the > "checkout" command). The task in Progress says "Checking out foo:". It > hangs for 5-10 minutes, then the server breaks the connection, and > Subclipse shows this error: > > Failed in RemoteResource.getLogMessages() > org.apache.subversion.javahl.ClientException: APR does not understand this > error code > svn: ra_serf: The server sent a truncated HTTP response body. > > It happens with both svn+ssh and https. > > I'm using Eclipse 4.4.1, with all updates, and Subclipse 1.10.9, on Mac OS > X. A colleague with the same setup, but running Debian, has the exact same > issue. > It is ultimately the responsibility of the server to manage its memory and not crash etc. Since you can reproduce this with https, I would focus on that since it offers better logging. Turn on the SVN operational logging if possible and try to find out what "commands" the server is receiving. > Failed in RemoteResource.getLogMessages() This is odd. I cannot think of why the checkout process would call this. Perhaps you have the History view showing somewhere with the Link to Editor feature active and something is triggering that view to also make a call to the server to fetch history? That said, I fail to see why running checkout and a history call at same time would be an issue for the server. -- Thanks Mark Phippard http://markphip.blogspot.com/ ------------------------------------------------------ http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=3099847 To unsubscribe from this discussion, e-mail: [[email protected]]. ------=_Part_13644_387896052.1424378451681 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">On Thu, Feb 19, 2015 at 2:37 PM, Jacob Weber <span dir=3D"= ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">jacob@ja= cobweber.com</a>></span> wrote:<br><div class=3D"gmail_extra"><div class= =3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px = 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-l= eft-style:solid;padding-left:1ex">Here's a strange one.<br> <br> When i check out a certain project using Subclipse, the SVN SERVER runs out= of memory and the process gets killed by oom-killer.<br> <br> It only happens when I specify a revision (rather than HEAD), but it happen= s with several different revisions.<br> <br> The surprising thing is that this happens with SVNKit AND JavaHL (SVN 1.8.5= ). But when I try the same thing on the same command line SVN client, there= 's no problem:<br> <br> svn checkout svn+ssh://user@host/repo/project/branches/foo -r 123456 --dept= h=3Dinfinity --force<br> <br> When it happens, nothing appears in the SVN console (not even the "che= ckout" command). The task in Progress says "Checking out foo:&quo= t;. It hangs for 5-10 minutes, then the server breaks the connection, and S= ubclipse shows this error:<br> <br> Failed in RemoteResource.getLogMessages()<br> org.apache.subversion.javahl.ClientException: APR does not understand this = error code<br> svn: ra_serf: The server sent a truncated HTTP response body.<br> <br> It happens with both svn+ssh and https.<br> <br> I'm using Eclipse 4.4.1, with all updates, and Subclipse 1.10.9, on Mac= OS X. A colleague with the same setup, but running Debian, has the exact s= ame issue.<br></blockquote><div><br></div><div>It is ultimately the respons= ibility of the server to manage its memory and not crash etc.=C2=A0 Since y= ou can reproduce this with https, I would focus on that since it offers bet= ter logging.=C2=A0 Turn on the SVN operational logging if possible and try = to find out what "commands" the server is receiving.</div><div><b= r></div><div>> Failed in RemoteResource.getLogMessages()</div><div>=C2= =A0</div><div>This is odd.=C2=A0 I cannot think of why the checkout process= would call this.=C2=A0 Perhaps you have the History view showing somewhere= with the Link to Editor feature active and something is triggering that vi= ew to also make a call to the server to fetch history?=C2=A0 That said, I f= ail to see why running checkout and a history call at same time would be an= issue for the server.</div><div><br></div></div>-- <br><div class=3D"gmail= _signature">Thanks<br><br>Mark Phippard<br><a href=3D"http://markphip.blogs= pot.com/">http://markphip.blogspot.com/</a></div> </div></div> ------=_Part_13644_387896052.1424378451681--