BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-27-2006, 03:29 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2006
Model: 8100
Carrier: Vodafone
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default what exactly is a "hung thread"

Please Login to Remove!

anyone got a definition?

cheers!
Offline  
Old 11-27-2006, 05:27 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2006
Model: 8100
Carrier: Vodafone
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

someone must know!
Offline  
Old 11-27-2006, 05:46 AM   #3 (permalink)
BlackBerry Extraordinaire
 
noname's Avatar
 
Join Date: Sep 2005
Location: Congested Islet of "Foreign Talents" (> 45% of workforce) - Singapore.
Model: Z10
OS: 10.0.0
PIN: NUKE(PAP)
Carrier: Singtel
Posts: 1,504
Post Thanks: 6
Thanked 9 Times in 9 Posts
Default

Internally, the BlackBerry Enterprise Server assigns threads to handle specific operations, for example, sending a message to a BlackBerry wireless device, or synchronizing wirelessly a delete action on the device. Occasionally, these threads can take an excessive amount of time to complete their work. In this scenario where some tasks do not complete and the assigned thread becomes unresponsive, this is the "hung thread".

See RIM KB - KB-03124
__________________
Native but 4th class citizen of a nation governed by idiots who import congestions & contention.
Offline  
Old 11-27-2006, 05:51 AM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2006
Model: 8100
Carrier: Vodafone
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

nice one thanks.

I'd searched the RIM KB, but not found anything!
Offline  
Old 11-27-2006, 08:09 AM   #5 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Mar 2005
Location: Washington DC
Model: all
Carrier: All carrier's
Posts: 315
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

awesome. only, thing is if we could figure which threads are for which actions...

that would be awesome.
Offline  
Old 11-28-2006, 07:19 AM   #6 (permalink)
BlackBerry Extraordinaire
 
noname's Avatar
 
Join Date: Sep 2005
Location: Congested Islet of "Foreign Talents" (> 45% of workforce) - Singapore.
Model: Z10
OS: 10.0.0
PIN: NUKE(PAP)
Carrier: Singtel
Posts: 1,504
Post Thanks: 6
Thanked 9 Times in 9 Posts
Default

A thread can perform a number of operations; it is not assigned to perform a specific set of tasks on the BES.
__________________
Native but 4th class citizen of a nation governed by idiots who import congestions & contention.
Offline  
Old 01-17-2007, 04:08 AM   #7 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2006
Model: 8100
Carrier: Vodafone
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

is anyone aware of how we can monitor hung threads without running some monitoring software such as BoxTone or NetIQ?
Offline  
Old 01-17-2007, 06:38 AM   #8 (permalink)
Ugg
Thumbs Must Hurt
 
Join Date: Dec 2006
Model: 8310
OS: 4.5
Carrier: O2
Posts: 197
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'd start with the resource kit. Search the user guide for "thread" for info on what's in there. Whether it'll be useful to you will probably depend on what BES version you're on.
Offline  
Old 01-17-2007, 04:31 PM   #9 (permalink)
New Member
 
Join Date: May 2005
Model: 7260
Carrier: Cingular
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Hung thread

Very basic way to search for Hung Thread.

Open the Magt debug log...Do a search for waitcount=

Depending on how large your BES environment is you may see several threads which have a waitcount. What you should not see is the waitcount steadily increasing...waitcount = 5 etc....If you see a waitcount greater than 5 it should be considered a hung thread.

So now your next question would be...what do I do in the event of a hung thread? I am told the only recourse is to restart the server...does anyone know differently?
Offline  
Old 01-29-2007, 04:33 PM   #10 (permalink)
Knows Where the Search Button Is
 
cancundan's Avatar
 
Join Date: Jul 2006
Model: 8700
Carrier: cingular
Posts: 23
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Hung Thread cause

According to our RIM technical contact, all you can do is restart the BES/MAGT OR wait for the thread to clear. While its useful to know when they are happening, I think the real trick is to find the cause.

Someone told me that Boxtone can give you the cause and some trending data around hung threads (which user causes them and which mail server they are coming from). Can anyone confirm this?
Offline  
Old 01-30-2007, 07:55 AM   #11 (permalink)
Talking BlackBerry Encyclopedia
 
dropscience's Avatar
 
Join Date: Jul 2006
Model: 8800
Carrier: Rogers
Posts: 216
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

How about an enterprise activation that takes forever? would that be classified as a hung thread?
__________________
Novell GroupWise 6.5 SP6
Blackberry Enterprise Server v4.1.2 Hotfix 3
Windows Server 2003 R2 SP1, SQL Server 2005
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.