Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: [Subclipse-users] Checkout causing server to crash

subclipse
Discussion topic

Back to topic list

Re: [Subclipse-users] Checkout causing server to crash

Author markphip
Full name Mark Phippard
Date 2015-02-19 12:40:49 PST
Message On Thu, Feb 19, 2015 at 2:37 PM, Jacob Weber <jacob at jacobweber dot com> 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/branche​s/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.subversio​n.javahl.ClientExcep​tion: 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/
Attachments

« Previous message in topic | 2 of 5 | Next message in topic »

Messages

Show all messages in topic

[Subclipse-users] Checkout causing server to crash jacobweber Jacob Weber 2015-02-19 11:37:36 PST
     Re: [Subclipse-users] Checkout causing server to crash markphip Mark Phippard 2015-02-19 12:40:49 PST
         RE: Re: [Subclipse-users] Checkout causing server to crash jacobweber Jacob Weber 2015-02-19 20:49:45 PST
             RE: Re: [Subclipse-users] Checkout causing server to crash jacobweber Jacob Weber 2015-02-19 20:58:50 PST
                 RE: Re: [Subclipse-users] Checkout causing server to crash dsenecalb Darly Senecal-Baptiste 2015-12-02 12:04:19 PST
Messages per page: