I would welcome any insight into the following issue.
I have an application that uses the GroupWise Objects API to search users
mailboxes for new messages that fit certain criteria and generate XML that
describes them. This application is run as part of a batch process. On a
customer site, the application occasionally hangs, blocking the rest of the
batch process, leading to no end of grief!
The customer is using GroupWise 7.0.3 build 1068 - I have the same build on
my test system but have been unable to replicate the issue.
I have got the customer to run debug diagnostics to generate hang dumps on
the stalled process at 5 minute intervals. When we examined the dumps, we
found the application had hung at shutdown, sleeping waiting for a function
in gwenv1.dll to complete. Here is the relevant part of the output and
Type Description Recommendation
Warning The following threads in
Dump.dmp are calling the Sleep API. The call to this API originated from
( 0 )
25.00% of threads blocked
The duration of the Sleep call is 500 miliseconds. Short calls to the
Sleep API often occur inside of a tight loop, which will delay the
application and cause high CPU until the loop is exited.
Please follow up with vendor Novell, Inc. for problem resolution
concerning the following file: C:\WINDOWS\system32\gwenv1.DLL.
This thread is calling the Sleep API. The call to this API originated from
Does anyone have any insight into why it is wating? (TCP SSL perhaps?)
What type of object is blocking?
What conditions might cause this to occur?
Is there any way to stop it?
Is this a GroupWise bug?