Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Update SVN Cache locking up?
Update SVN Cache locking up? [message #500189] Wed, 25 November 2009 05:01 Go to next message
Kristian Rink is currently offline Kristian Rink
Messages: 64
Registered: July 2009
Member
Folks;

not sure whether this belongs here: After importing a bunch of maven2
projects off SVN into an empty Eclipse workspace, right now when starting
Eclipse IDE (no matter whether "-clean" or not), I see an "Update SVN Cache"
starting, remaining at 0%, and staying like this for a couple of moments.
Aborting it doesn't work, and trying virtually anything else this time ends
up in the IDE completely locking up (UI not repainting anymore). I'm on
32bit Linux, using an up-to-date Galileo installation... Googling around let
me stumble across a bunch of issues more or less like this, but most of them
pretty old so I'm not sure what's the state of this...

Any insights much appreciated. :)
TIA,
Kristian
Re: Update SVN Cache locking up? [message #500443 is a reply to message #500189] Thu, 26 November 2009 03:45 Go to previous messageGo to next message
Igor Burilo is currently offline Igor Burilo
Messages: 435
Registered: July 2009
Senior Member
Hello Kristian,

It seems you have a deadlock, if you do, could you please provide additional
notes about it, here's a link how to report a deadlock:
http://wiki.eclipse.org/How_to_report_a_deadlock ?
Also does it happen with other project types, i.e. not maven projects but
e.g. with ordinary Java project. What Subversive version do you use?

> Folks;
>
> not sure whether this belongs here: After importing a bunch of maven2
> projects off SVN into an empty Eclipse workspace, right now when starting
> Eclipse IDE (no matter whether "-clean" or not), I see an "Update SVN
> Cache"
> starting, remaining at 0%, and staying like this for a couple of moments.
> Aborting it doesn't work, and trying virtually anything else this time
> ends
> up in the IDE completely locking up (UI not repainting anymore). I'm on
> 32bit Linux, using an up-to-date Galileo installation... Googling around
> let
> me stumble across a bunch of issues more or less like this, but most of
> them
> pretty old so I'm not sure what's the state of this...
>
> Any insights much appreciated. :)
> TIA,
> Kristian
Re: Update SVN Cache locking up? [message #500461 is a reply to message #500443] Thu, 26 November 2009 04:23 Go to previous messageGo to next message
Kristian Rink is currently offline Kristian Rink
Messages: 64
Registered: July 2009
Member
Hi Igor;

and first off, thanks a bunch for your comment:

Igor Burilo schrieb:
> It seems you have a deadlock, if you do, could you please provide additional
> notes about it, here's a link how to report a deadlock:
> http://wiki.eclipse.org/How_to_report_a_deadlock ?

I will have a look at i, thanks. By now, the problem seems to have "somehow
disappeared", but as soon as it is back, I'll give it a shot. :)

> Also does it happen with other project types, i.e. not maven projects but
> e.g. with ordinary Java project. What Subversive version do you use?

0.7.8.I20091023-1300, according to Update Manager. Is this what I should be
using in Galileo?

TIA and all the best,
Kristian
Re: Update SVN Cache locking up? [message #500471 is a reply to message #500461] Thu, 26 November 2009 04:48 Go to previous messageGo to next message
Jörg Thönnes is currently offline Jörg Thönnes
Messages: 229
Registered: July 2009
Senior Member
On 11/26/09 10:23, Kristian Rink wrote:
>> Also does it happen with other project types, i.e. not maven projects but
>> e.g. with ordinary Java project. What Subversive version do you use?
>
> 0.7.8.I20091023-1300, according to Update Manager. Is this what I should be
> using in Galileo?

In addition, I suggest to give the weekly builds a try:

http://download.eclipse.org/technology/subversive/0.7/weekly -site

Here the current version is: 0.7.8.I20091120-1900 for the Team Provider.
According to Igor, these builds are meant to have production quality.

Cheers, Jörg
Re: Update SVN Cache locking up? [message #500474 is a reply to message #500471] Thu, 26 November 2009 04:58 Go to previous messageGo to next message
Kristian Rink is currently offline Kristian Rink
Messages: 64
Registered: July 2009
Member
Jörg Thönnes schrieb:
> http://download.eclipse.org/technology/subversive/0.7/weekly -site
>
> Here the current version is: 0.7.8.I20091120-1900 for the Team Provider.
> According to Igor, these builds are meant to have production quality.

On my way to have things updated, thanks so far! :)
Kristian
Re: Update SVN Cache locking up? [message #500527 is a reply to message #500471] Thu, 26 November 2009 09:26 Go to previous messageGo to next message
sNop is currently offline sNop
Messages: 281
Registered: July 2009
Senior Member
Jörg Thönnes napsal(a):
> On 11/26/09 10:23, Kristian Rink wrote:
>>> Also does it happen with other project types, i.e. not maven projects but
>>> e.g. with ordinary Java project. What Subversive version do you use?
>> 0.7.8.I20091023-1300, according to Update Manager. Is this what I should be
>> using in Galileo?
>
> In addition, I suggest to give the weekly builds a try:
>
> http://download.eclipse.org/technology/subversive/0.7/weekly -site
>
> Here the current version is: 0.7.8.I20091120-1900 for the Team Provider.
> According to Igor, these builds are meant to have production quality.

Mylyn have production quality weekly builds, not subversive, few weekly builds later i have upgrade from one weekly build to another and subversive completly stops working (not first time!)

So i have decided, that i switch back to stable builds

>
> Cheers, Jörg
Re: Update SVN Cache locking up? [message #500535 is a reply to message #500527] Thu, 26 November 2009 09:40 Go to previous messageGo to next message
Jörg Thönnes is currently offline Jörg Thönnes
Messages: 229
Registered: July 2009
Senior Member
On 11/26/09 15:26, sNop wrote:
> Jörg Thönnes napsal(a):
>> On 11/26/09 10:23, Kristian Rink wrote:
>>>> Also does it happen with other project types, i.e. not maven projects but
>>>> e.g. with ordinary Java project. What Subversive version do you use?
>>> 0.7.8.I20091023-1300, according to Update Manager. Is this what I should be
>>> using in Galileo?
>> In addition, I suggest to give the weekly builds a try:
>>
>> http://download.eclipse.org/technology/subversive/0.7/weekly -site
>>
>> Here the current version is: 0.7.8.I20091120-1900 for the Team Provider.
>> According to Igor, these builds are meant to have production quality.
>
> Mylyn have production quality weekly builds, not subversive, few weekly builds later i have upgrade from one weekly build to another and subversive completly stops working (not first time!)
>
> So i have decided, that i switch back to stable builds

OK, your mileage may vary. And if you have to get this done, then this blocks you.

On the other hand, I want to bring the project forward and just experienced a nasty lock-up:

296230: Eclipse UI stalls for more than 5 minutes in the main thread executing SVNRemoteStorage code
https://bugs.eclipse.org/bugs/show_bug.cgi?id=296230

but did a series of jstack traces to debug this. And found a workaround.

Maybe you could use do some jstack debugging if you experience UI stalls. See the bug how to do this
on UNIX like systems.

Cheers, Jörg
Re: Update SVN Cache locking up? [message #500721 is a reply to message #500535] Fri, 27 November 2009 12:16 Go to previous messageGo to next message
Jörg Thönnes is currently offline Jörg Thönnes
Messages: 229
Registered: July 2009
Senior Member
Hi all,

may be these improvement may help anybody having such lock ups:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=296230
Product/Component: Subversive / Core

--- Comment #16 from Igor Burilo <igor.burilo@polarion.org> 2009-11-27 11:50:30 EST ---
.... there's a weekly build 0.7.8.I20091127-1900, which contains a fix.

Cheers, Jörg

On 11/26/09 15:40, Jörg Thönnes wrote:
> On 11/26/09 15:26, sNop wrote:
>> Jörg Thönnes napsal(a):
>>> On 11/26/09 10:23, Kristian Rink wrote:
>>>>> Also does it happen with other project types, i.e. not maven projects but
>>>>> e.g. with ordinary Java project. What Subversive version do you use?
>>>> 0.7.8.I20091023-1300, according to Update Manager. Is this what I should be
>>>> using in Galileo?
>>> In addition, I suggest to give the weekly builds a try:
>>>
>>> http://download.eclipse.org/technology/subversive/0.7/weekly -site
>>>
>>> Here the current version is: 0.7.8.I20091120-1900 for the Team Provider.
>>> According to Igor, these builds are meant to have production quality.
>> Mylyn have production quality weekly builds, not subversive, few weekly builds later i have upgrade from one weekly build to another and subversive completly stops working (not first time!)
>>
>> So i have decided, that i switch back to stable builds
>
> OK, your mileage may vary. And if you have to get this done, then this blocks you.
>
> On the other hand, I want to bring the project forward and just experienced a nasty lock-up:
>
> 296230: Eclipse UI stalls for more than 5 minutes in the main thread executing SVNRemoteStorage code
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=296230
>
> but did a series of jstack traces to debug this. And found a workaround.
>
> Maybe you could use do some jstack debugging if you experience UI stalls. See the bug how to do this
> on UNIX like systems.
>
> Cheers, Jörg
Re: Update SVN Cache locking up? [message #500724 is a reply to message #500535] Fri, 27 November 2009 13:08 Go to previous messageGo to next message
sNop is currently offline sNop
Messages: 281
Registered: July 2009
Senior Member
Hi,

This only proves, that Subversive haven't production weekly builds, yet ;)

May be in the future, when Subversive will not be in incubation phase.
Re: Update SVN Cache locking up? [message #500725 is a reply to message #500724] Fri, 27 November 2009 13:15 Go to previous messageGo to next message
sNop is currently offline sNop
Messages: 281
Registered: July 2009
Senior Member
But i must tell, that subversive is high-quality eclipse plugin :) ;), so i don't know, why have so little/few commiters :(

I'm using Subversive much more than subclipse, it's great project
Re: Update SVN Cache locking up? [message #538051 is a reply to message #500189] Fri, 04 June 2010 12:51 Go to previous messageGo to next message
heapifyman  is currently offline heapifyman
Messages: 4
Registered: July 2009
Junior Member
I seem to have a similar problem as the original poster.
I have a workspace with 20+ projects, most of them closed, half of them are maven projects.
I have subversive and m2eclipse installed.
During startup of the workspace all closed projects are briefly opened and then closed again. Either by m2eclipse to update the dependencies or by subversive to update svn status.
But I assume it's subversive as Turning off SVN status cache in the SVN performance settings made this problem go away, i.e. workspace startup if much faster and did not really hang anymore. With SVN status cache enabled, updating the SVN status sometimes seems to take for ages and also seems to be interfering with m2eclipse. As m2eclipse seems to be trying to update and build the project if it has been open long enough during SVN status update.
But without SVN status cache I cannot use the deep outgoing state, which is a pretty neat feature...

Anyway, is there a reason, why subversive also updates the SVN status of closed projects? Why not only update them when they are opened?

Best regards
Re: Update SVN Cache locking up? [message #538285 is a reply to message #538051] Mon, 07 June 2010 04:32 Go to previous messageGo to next message
Igor Burilo is currently offline Igor Burilo
Messages: 435
Registered: July 2009
Senior Member
Hello,

Subversive shouldn't update SVN status for closed project on startup,
and as I checked it doesn't. Do you have this problem with not Maven
projects? How do you detect that projects are opened and then closed?

> I seem to have a similar problem as the original poster.
> I have a workspace with 20+ projects, most of them closed, half of them
> are maven projects.
> I have subversive and m2eclipse installed.
> During startup of the workspace all closed projects are briefly opened
> and then closed again. Either by m2eclipse to update the dependencies or
> by subversive to update svn status.
> But I assume it's subversive as Turning off SVN status cache in the SVN
> performance settings made this problem go away, i.e. workspace startup
> if much faster and did not really hang anymore. With SVN status cache
> enabled, updating the SVN status sometimes seems to take for ages and
> also seems to be interfering with m2eclipse. As m2eclipse seems to be
> trying to update and build the project if it has been open long enough
> during SVN status update.
> But without SVN status cache I cannot use the deep outgoing state, which
> is a pretty neat feature...
>
> Anyway, is there a reason, why subversive also updates the SVN status of
> closed projects? Why not only update them when they are opened?
>
> Best regards


--
Best regards,
Igor Burilo
Re: Update SVN Cache locking up? [message #538305 is a reply to message #538285] Mon, 07 June 2010 05:42 Go to previous messageGo to next message
heapifyman  is currently offline heapifyman
Messages: 4
Registered: July 2009
Junior Member
Well, I can see in the Package Explorer View that closed projects are briefly changing their appearance from closed to open and back again and at the same time the Maven Console shows something like:
07.06.10 11:33:00 MESZ: Refreshing [/<PROJECT_NAME>/pom.xml]

And this happens for both mavenized and non-mavenized projects.

First I suspected the maven plugin to be responsible for this behaviour but after uninstalling that plugin, the problem persisted.

Can anyone reproduce this or is my workspace just really messed up?
Re: Update SVN Cache locking up? [message #539269 is a reply to message #538305] Thu, 10 June 2010 04:33 Go to previous messageGo to next message
Igor Burilo is currently offline Igor Burilo
Messages: 435
Registered: July 2009
Senior Member
Hello,

I checked Eclipse's resources API and 'open' method isn't called at
startup. If it's possible could please check it with new workspace?

> Well, I can see in the Package Explorer View that closed projects are
> briefly changing their appearance from closed to open and back again and
> at the same time the Maven Console shows something like:
> 07.06.10 11:33:00 MESZ: Refreshing [/<PROJECT_NAME>/pom.xml]
>
> And this happens for both mavenized and non-mavenized projects.
>
> First I suspected the maven plugin to be responsible for this behaviour
> but after uninstalling that plugin, the problem persisted.
>
> Can anyone reproduce this or is my workspace just really messed up?


--
Best regards,
Igor Burilo
Re: Update SVN Cache locking up? [message #631982 is a reply to message #500189] Mon, 11 October 2010 02:58 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 1
Registered: October 2010
Junior Member
Encountered the same problem on my Helios installation. Discovered also that my workspace contains a folder with large amounts of small files not in version control.

SVN is probably trying to read all of them. Fixed by deleting these temporary runtime files.

Hope this helps.
/X
Re: Update SVN Cache locking up? [message #647634 is a reply to message #500189] Fri, 07 January 2011 08:42 Go to previous message
Justin  is currently offline Justin
Messages: 1
Registered: January 2011
Junior Member
I have seen this issue happen in Helios with both Subclipse and Subversive plugins with only 4-5 small projects in the workspace. The projects consist of some Java, some plain old xml projects and some Maven 2.2.1 projects.

On workspace startup the SVN cache update will remain at 0% and eventually lockup/freeze/halt/stop eclipse from running and I have to force quit in Snow Leopard, although this happens on a new HP laptop as well.

There are other pages I found via Googling that suggest deleting the "resources" plugin from the specific workspace metadata folder you are in. Unfortunately this mean re-importing the projects again 1 by 1.

Only other WORK AROUND that seems to work is unchecking "Enable SVN statuses cache..." in the team>SVN>Performance option in the eclipse preferences.

As you can see I am very annoyed.
Previous Topic:Helios release problems
Next Topic:Need to search for specific email addresses within all files in SVN
Goto Forum:
  


Current Time: Thu Jul 31 15:50:32 EDT 2014

Powered by FUDForum. Page generated in 0.02458 seconds