[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
deadlock when using terracotta  XML
Forum Index -> General
Author Message
richardw

journeyman

Joined: 05/16/2008 03:38:29
Messages: 30
Offline

Hi,

I keep seeing a deadlock when I use terracotta.

I have attached the relevant bit of the stack trace and my terracotta config file.

Ive still not been able to determine the exact conditions under which the deadlock occurs, but i think it only occurs when the app has been restarted but the terracotta server remained up and running.

Any help or ideas to what might cause it would be helpful.

Thanks,

Richard
 Filename deadlock.log [Disk] Download
 Description
 Filesize 19 Kbytes
 Downloaded:  61 time(s)

 Filename tc-config-production.xml [Disk] Download
 Description
 Filesize 3 Kbytes
 Downloaded:  57 time(s)

sbale

journeyman

Joined: 05/14/2008 10:07:03
Messages: 17
Offline

Hi Richard,

What version of Terracotta are you using? From your log it looks like v 2.6?

Fyi, In TC 2.6 you can use the Admin console to get a single cluster-wide thread dump.

Scott
[WWW]
sbale

journeyman

Joined: 05/14/2008 10:07:03
Messages: 17
Offline

This is definitely a Terracotta bug, I've created a JIRA issue for it here:
http://jira.terracotta.org/jira//browse/CDV-771
[WWW]
richardw

journeyman

Joined: 05/16/2008 03:38:29
Messages: 30
Offline

Hi,

Yes we are using 2.6, but I also saw this bug in 2.5.4.

Thanks
sbale

journeyman

Joined: 05/14/2008 10:07:03
Messages: 17
Offline

Hi again,

Fyi, we have fixed this in trunk, revision 8706.
[WWW]
richardw

journeyman

Joined: 05/16/2008 03:38:29
Messages: 30
Offline

That was quick :)

Presumably the trunk build is safe for me to use in production?

Thanks,

Richard
sbale

journeyman

Joined: 05/14/2008 10:07:03
Messages: 17
Offline

No, I wouldn't recommend using the trunk build in production, unless you really really want to :) The nightly build isn't as rigorously tested as the release builds. If I were you I would just get the change for revision 8706 (which is confined to a single class) and either rebuild 2.6 or just build a patch from the changed class (the class API didn't change so you can safely do that in this case). That patch would need to go in the classpath in front of tc.jar.

We are discussing rolling this and other changes into a 2.6.x patch release, but unfortunately I don't know yet when that will happen. As soon as I know I'll post something here.

Let me know if you run into trouble and I'll see what we can do on my end.

Here's a couple links that may be helpful:
Terracotta source repository
building and kitting Terracotta from source
[WWW]
sbale

journeyman

Joined: 05/14/2008 10:07:03
Messages: 17
Offline

Hi again Richard,

We have merged the fix into the 2.6 branch, which means if you want you can use the nightly build from that branch, starting tonight. Tonight's nightly build should contain the fix you need, and is nearly identical to the 2.6.1 release build (which is just about to be released but doesn't contain your fix). So it's a much safer bet than using the trunk nightly build.

Check out our download page. Links and RSS feed for 2.6 nightly builds should be available sometime within the next day.
[WWW]
teck

consul
[Avatar]
Joined: 05/24/2006 15:03:25
Messages: 384
Offline

what minimum revision # for the 2.6 nightly builds will contain this fix?

Tim Eck (terracotta engineer) -- Want to post to the forums? Sign up here: http://www.terracotta.org/web/display/orgsite/Sign-Up?src=forum
sbale

journeyman

Joined: 05/14/2008 10:07:03
Messages: 17
Offline

revision # 8726
[WWW]
richardw

journeyman

Joined: 05/16/2008 03:38:29
Messages: 30
Offline

The nightly does indeed fix the problem, and also seems to have fixed the problem I was having in this thread http://forums.terracotta.org/forums/posts/list/0/1112.page#6739

When do you think the 2.6.2 final will be released?

Thanks alot for the quick replies and fixes,.

Richard
sbale

journeyman

Joined: 05/14/2008 10:07:03
Messages: 17
Offline

Hi Richard,

Glad to hear it!

Our project manager estimates approx 4 weeks to 2.6.2.

Scott
[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.7 © JForum Team