| Author |
Message |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 05/30/2008 08:36:06
|
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 |
Download
|
| Description |
|
| Filesize |
19 Kbytes
|
| Downloaded: |
61 time(s) |
| Filename |
tc-config-production.xml |
Download
|
| Description |
|
| Filesize |
3 Kbytes
|
| Downloaded: |
57 time(s) |
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 05/30/2008 12:34:03
|
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
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 05/30/2008 15:12:13
|
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
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 06/02/2008 02:25:14
|
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
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 06/02/2008 15:15:55
|
sbale
journeyman
Joined: 05/14/2008 10:07:03
Messages: 17
Offline
|
Hi again,
Fyi, we have fixed this in trunk, revision 8706.
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 06/03/2008 01:51:34
|
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
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 06/03/2008 06:54:17
|
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
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 06/03/2008 13:04:20
|
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.
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 06/03/2008 13:10:51
|
teck
consul
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
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 06/03/2008 13:24:16
|
sbale
journeyman
Joined: 05/14/2008 10:07:03
Messages: 17
Offline
|
revision # 8726
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 06/04/2008 03:40:48
|
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
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 06/04/2008 09:35:46
|
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
|
|
|
 |
|
|