Home » Eclipse Projects » Subversive » Update SVN Cache locking up?
Update SVN Cache locking up? [message #500189] |
Wed, 25 November 2009 05:01  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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 #500527 is a reply to message #500471] |
Thu, 26 November 2009 09:26   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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 #538285 is a reply to message #538051] |
Mon, 07 June 2010 04:32   |
Eclipse User |
|
|
|
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 #647634 is a reply to message #500189] |
Fri, 07 January 2011 08:42  |
Eclipse User |
|
|
|
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.
|
|
|
Goto Forum:
Current Time: Wed Jul 23 19:08:23 EDT 2025
Powered by FUDForum. Page generated in 0.06349 seconds
|