Hello I have an IIS server that is hanging up to 3 times a day. It is
running a third party application called Mailsite Express which is
written in ASP. The output from the debug diag lists some threads that
are most likely the cause (shown below). Can anyone suggest what I
might be able to do to resolve this? I can provide more infor from the
report if required.
Thread 68 - System ID 664
Entry point msvcrt!_endthreadex+2f
Create time 8/05/2007 7:12:21 p.m.
Time spent in user mode 0 Days 0:0:0.31
Time spent in kernel mode 0 Days 0:0:0.609
This thread is processing a client request and is/are not fully
resolved. Further analysis of these threads is recommended in order to
determine what may be blocking the request(s).
Function Source
ntdll!KiFastSystemCallRet
ntdll!ZwCreateFile+c
kernel32!CreateFileW+377
kernel32!CreateFileA+30
MailUtil!CFileSystem::CreateFileA+20c
MFldrMgr!CMailMessage::GetFlags+1407
MFldrMgr!CMailMessage::GetFlags+c6e
MFldrMgr!CMailMessage::GetFlags+1671
MFldrMgr!CMailMessage::GetFlags+1619
MFldrMgr!CMailMessage::GetFlags+ee0
MFldrMgr!CMessageInMessageStore::LoadMessageStructure+1ab0
MFldrMgr!CMessageInMessageStore::LoadMessageStructure+d71
MFldrMgr!CDependancy<CMailServer>::Term+a794
MFldrMgr!IsValidMailFolderHandle+110
MFldrMgr!GetSortedMessageListXml+e9
MsCom!DllUnregisterServer+80bd
MsCom!DllUnregisterServer+7f59
oleaut32!DispCallFunc+16a
oleaut32!CTypeInfo2::Invoke+234
MsCom!CUtf8String::operator=+23d2
MsCom!CDependancy<CMailServer>::Term+292
vbscript!CatchIDispatchInvoke+46
vbscript!IDispatchInvoke2+af
vbscript!IDispatchInvoke+59
vbscript!InvokeDispatch+13a
vbscript!InvokeByName+42
vbscript!CScriptRuntime::Run+2581
vbscript!CScriptEntryPoint::Call+5c
vbscript!CScriptRuntime::Run+20ce
vbscript!CScriptEntryPoint::Call+5c
vbscript!CScriptRuntime::Run+1f02
vbscript!CScriptEntryPoint::Call+5c
vbscript!CSession::Execute+b4
vbscript!COleScript::ExecutePendingScripts+13e
vbscript!COleScript::SetScriptState+150
asp!CActiveScriptEngine::TryCall+19
asp!CActiveScriptEngine::Call+31
asp!CallScriptFunctionOfEngine+5b
asp!ExecuteRequest+17e
asp!Execute+249
asp!CHitObj::ViperAsyncCallback+3e8
asp!CViperAsyncRequest::OnCall+92
comsvcs!CSTAActivityWork::STAActivityWorkHelper+32
ole32!EnterForCallback+c4
ole32!SwitchForCallback+1a3
ole32!PerformCallback+54
ole32!CObjectContext::InternalContextCallback+159
ole32!CObjectContext::DoCallback+1c
comsvcs!CSTAActivityWork::DoWork+12d
comsvcs!CSTAThread::DoWork+18
comsvcs!CSTAThread::ProcessQueueWork+37
comsvcs!CSTAThread::WorkerLoop+17c
msvcrt!_endthreadex+a3
kernel32!BaseThreadStart+34
ASP request executing on thread 68
POST request for /express/imap4.asp
Request alive for 0 day(s) 00:00:08
QueryString
Request mapped to E:\Program Files\MailSite\Express\Web\imap4.asp
ASP Application /LM/W3SVC/1/root/Express
ASP Template E:\PROGRAM FILES\MAILSITE\EXPRESS\WEB\IMAP4.ASP
Script call stack for thread 68
Function Scope Line Of Code Source File Line Number
GetXMLEnvelopes strXMLEnvelopes =
objEnvelopes.GetEnvelopesInXML(intFirst, intLast) E:\PROGRAM FILES
\MAILSITE\EXPRESS\WEB\IMAP4PROCLIB.ASP 1
ShowMessageList Set objXMLEnvelopes = GetXMLEnvelopes(objFolder, 1,
intMessageCount, mspSortBy, mspSortorder) E:\PROGRAM FILES\MAILSITE
\EXPRESS\WEB\IMAP4.ASP 40
Global Scope ShowMessageList Request.QueryString("Folder"),
Request.QueryString("index"), Request.QueryString("extid") E:
\PROGRAM FILES\MAILSITE\EXPRESS\WEB\IMAP4.ASP 40
Back to Top
Thread 69 - System ID 4116
Entry point msvcrt!_endthreadex+2f
Create time 8/05/2007 7:12:23 p.m.
Time spent in user mode 0 Days 0:0:0.109
Time spent in kernel mode 0 Days 0:0:0.312
This thread is processing a client request and is/are not fully
resolved. Further analysis of these threads is recommended in order to
determine what may be blocking the request(s).
Function Source
ntdll!KiFastSystemCallRet
ntdll!ZwCreateFile+c
kernel32!CreateFileW+377
kernel32!CreateFileA+30
MailUtil!CFileSystem::CreateFileA+20c
MFldrMgr!CMailMessage::GetFlags+1407
MFldrMgr!CMailMessage::GetFlags+c6e
MFldrMgr!CMailMessage::GetFlags+1671
MFldrMgr!CMailMessage::GetFlags+f8e
MFldrMgr!CMessageInMessageStore::LoadMessageStructure+1c62
MFldrMgr!CMessageInMessageStore::LoadMessageStructure+d71
MFldrMgr!CDependancy<CMailServer>::Term+a794
MFldrMgr!IsValidMailFolderHandle+110
MFldrMgr!GetSortedMessageListXml+e9
MsCom!DllUnregisterServer+80bd
MsCom!DllUnregisterServer+7f59
oleaut32!DispCallFunc+16a
oleaut32!CTypeInfo2::Invoke+234
MsCom!CUtf8String::operator=+23d2
MsCom!CDependancy<CMailServer>::Term+292
vbscript!CatchIDispatchInvoke+46
vbscript!IDispatchInvoke2+af
vbscript!IDispatchInvoke+59
vbscript!InvokeDispatch+13a
vbscript!InvokeByName+42
vbscript!CScriptRuntime::Run+2581
vbscript!CScriptEntryPoint::Call+5c
vbscript!CScriptRuntime::Run+20ce
vbscript!CScriptEntryPoint::Call+5c
vbscript!CScriptRuntime::Run+1f02
vbscript!CScriptEntryPoint::Call+5c
vbscript!CScriptRuntime::Run+1f02
vbscript!CScriptEntryPoint::Call+5c
vbscript!CSession::Execute+b4
vbscript!COleScript::ExecutePendingScripts+13e
vbscript!COleScript::SetScriptState+150
asp!CActiveScriptEngine::TryCall+19
asp!CActiveScriptEngine::Call+31
asp!CallScriptFunctionOfEngine+5b
asp!ExecuteRequest+17e
asp!Execute+249
asp!CHitObj::ViperAsyncCallback+3e8
asp!CViperAsyncRequest::OnCall+92
comsvcs!CSTAActivityWork::STAActivityWorkHelper+32
ole32!EnterForCallback+c4
ole32!SwitchForCallback+1a3
ole32!PerformCallback+54
ole32!CObjectContext::InternalContextCallback+159
ole32!CObjectContext::DoCallback+1c
comsvcs!CSTAActivityWork::DoWork+12d
comsvcs!CSTAThread::DoWork+18
comsvcs!CSTAThread::ProcessQueueWork+37
comsvcs!CSTAThread::WorkerLoop+17c
msvcrt!_endthreadex+a3
kernel32!BaseThreadStart+34
ASP request executing on thread 69
POST request for /express/smtp.asp
Request alive for 0 day(s) 00:00:07
QueryString
Request mapped to E:\Program Files\MailSite\Express\Web\smtp.asp
ASP Application /LM/W3SVC/1/root/Express
ASP Template E:\PROGRAM FILES\MAILSITE\EXPRESS\WEB\SMTP.ASP
Script call stack for thread 69
Function Scope Line Of Code Source File Line Number
GetXMLEnvelopes strXMLEnvelopes =
objEnvelopes.GetEnvelopesInXML(intFirst, intLast) E:\PROGRAM FILES
\MAILSITE\EXPRESS\WEB\IMAP4PROCLIB.ASP 1
ShowForm Set objXMLEnvelopes = GetXMLEnvelopes(objFolder, 1,
intMessageCount, "Subject", 0) E:\PROGRAM FILES\MAILSITE\EXPRESS\WEB
\SMTP.ASP 73
SendMail ShowForm "", "", "", "", "", "", "", "", "", "", "", "",
"", False, "", "" E:\PROGRAM FILES\MAILSITE\EXPRESS\WEB\SMTP.ASP
73
Global Scope SendMail Request.Form("txtTo"),
Request.Form("txtSubject"), Request.Form("txtCC"),
Request.Form("txtBCC"), Request.Form("txtAttach"),
Request.Form("txtBody"), Request.Form("optHtml"),
Request.Form("selPriority"), Request.Form("chkReturnRecipt"),
Request.Form("chkSignature"), Request.Form("chkOutBox"),
Request.Form("txtURL"), Request.Form("txtHasAttach"),
Request.Form("selPersonality"), Request.Form E:\PROGRAM FILES
\MAILSITE\EXPRESS\WEB\SMTP.ASP 73
Back to Top
Thread 70 - System ID 4208
Entry point msvcr80!_threadstart
Create time 8/05/2007 7:12:25 p.m.
Time spent in user mode 0 Days 0:0:0.0
Time spent in kernel mode 0 Days 0:0:0.0
This thread is waiting on data to be returned from another server via
WinSock.
The call to WinSock originated from MsRemote!InitiateRetryRemote+3dba
Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
mswsock!SockWaitForSingleObject+19d
mswsock!WSPRecv+203
ws2_32!recv+83
MsRemote!InitiateRetryRemote+3dba
MsRemote!InitiateRetryRemote+3c5d
MailUtil!Ordinal151+408
MailUtil!Ordinal151+85c
msvcr80!_callthreadstart+1b
msvcr80!_threadstart+5a
kernel32!BaseThreadStart+34
Back to Top
Thread 71 - System ID 5228
Entry point msvcrt!_endthreadex+2f
Create time 8/05/2007 7:12:26 p.m.
Time spent in user mode 0 Days 0:0:0.46
Time spent in kernel mode 0 Days 0:0:0.203
Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForMultipleObjects+c
kernel32!WaitForMultipleObjectsEx+11a
user32!RealMsgWaitForMultipleObjectsEx+141
user32!MsgWaitForMultipleObjects+1f
comsvcs!CSTAThread::WorkerLoop+1e5
msvcrt!_endthreadex+a3
kernel32!BaseThreadStart+34
Back to Top
Thread 72 - System ID 4236
Entry point msvcrt!_endthreadex+2f
Create time 8/05/2007 7:12:28 p.m.
Time spent in user mode 0 Days 0:0:0.46
Time spent in kernel mode 0 Days 0:0:0.31
This thread is processing a client request and is/are not fully
resolved. Further analysis of these threads is recommended in order to
determine what may be blocking the request(s).
Function Source
ntdll!KiFastSystemCallRet
ntdll!ZwCreateFile+c
kernel32!CreateFileW+377
kernel32!CreateFileA+30
MailUtil!CFileSystem::CreateFileA+20c
MFldrMgr!CDependancy<CMailServer>::Term+66de
MFldrMgr!CDependancy<CMailServer>::Term+137c
MFldrMgr!CDependancy<CMailServer>::Term+88b3
MFldrMgr!CDependancy<CMailServer>::Term+cf61
MFldrMgr!LockMailFolder+7c
MsCom!CMlbxMgrDependancy::operator=+7b3
MsCom!CMlbxMgrDependancy::operator=+51a
oleaut32!DispCallFunc+16a
oleaut32!CTypeInfo2::Invoke+234
MsCom!CUtf8String::operator=+23d2
MsCom!CDependancy<CMailServer>::Term+10e2
vbscript!CatchIDispatchInvoke+46
vbscript!IDispatchInvoke2+af
vbscript!IDispatchInvoke+59
vbscript!InvokeDispatch+13a
vbscript!InvokeByName+42
vbscript!CScriptRuntime::Run+1331
vbscript!CScriptEntryPoint::Call+5c
vbscript!CScriptRuntime::Run+1f02
vbscript!CScriptEntryPoint::Call+5c
vbscript!CScriptRuntime::Run+1f02
vbscript!CScriptEntryPoint::Call+5c
vbscript!CSession::Execute+b4
vbscript!COleScript::ExecutePendingScripts+13e
vbscript!COleScript::SetScriptState+150
asp!CActiveScriptEngine::TryCall+19
asp!CActiveScriptEngine::Call+31
asp!CallScriptFunctionOfEngine+5b
asp!ExecuteRequest+17e
asp!Execute+249
asp!CHitObj::ViperAsyncCallback+3e8
asp!CViperAsyncRequest::OnCall+92
comsvcs!CSTAActivityWork::STAActivityWorkHelper+32
ole32!EnterForCallback+c4
ole32!SwitchForCallback+1a3
ole32!PerformCallback+54
ole32!CObjectContext::InternalContextCallback+159
ole32!CObjectContext::DoCallback+1c
comsvcs!CSTAActivityWork::DoWork+12d
comsvcs!CSTAThread::DoWork+18
comsvcs!CSTAThread::ProcessQueueWork+37
comsvcs!CSTAThread::WorkerLoop+17c
msvcrt!_endthreadex+a3
kernel32!BaseThreadStart+34
ASP request executing on thread 72
GET request for /express/imap4.asp
Request alive for 0 day(s) 00:00:04
QueryString action=showmessage&folder=INBOX&msgid=554075181
Request mapped to E:\Program Files\MailSite\Express\Web\imap4.asp
ASP Application /LM/W3SVC/1/root/Express
ASP Template E:\PROGRAM FILES\MAILSITE\EXPRESS\WEB\IMAP4.ASP
Script call stack for thread 72
Function Scope Line Of Code Source File Line Number
DisplayGroupsDropDown intMessageCount = objFolder.MessageCount E:
\PROGRAM FILES\MAILSITE\EXPRESS\WEB\CLEANHTML.ASP 3
ShowMessage Call DisplayGroupsDropDown("",
"javascript:document.Address.selGroup.value = this.value") E:
\PROGRAM FILES\MAILSITE\EXPRESS\WEB\IMAP4.ASP 40
Global Scope ShowMessage Request.QueryString("Folder"),
Request.QueryString("msgid"), Request.QueryString("filename") E:
\PROGRAM FILES\MAILSITE\EXPRESS\WEB\IMAP4.ASP 40
Back to Top
Thread 73 - System ID 1364
Entry point msvcrt!_endthreadex+2f
Create time 8/05/2007 7:12:28 p.m.
Time spent in user mode 0 Days 0:0:0.0
Time spent in kernel mode 0 Days 0:0:0.0
Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForMultipleObjects+c
kernel32!WaitForMultipleObjectsEx+11a
user32!RealMsgWaitForMultipleObjectsEx+141
user32!MsgWaitForMultipleObjects+1f
comsvcs!CSTAThread::WorkerLoop+1e5
msvcrt!_endthreadex+a3
kernel32!BaseThreadStart+34
Back to Top
Thread 74 - System ID 4720
Entry point msvcr80!_threadstart
Create time 8/05/2007 7:12:29 p.m.
Time spent in user mode 0 Days 0:0:0.0
Time spent in kernel mode 0 Days 0:0:0.0
This thread is waiting on data to be returned from another server via
WinSock.
The call to WinSock originated from MsRemote!InitiateRetryRemote+3dba
Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
mswsock!SockWaitForSingleObject+3a
mswsock!WSPRecv+203
ws2_32!recv+83
MsRemote!InitiateRetryRemote+3dba
MsRemote!InitiateRetryRemote+3c5d
MailUtil!Ordinal151+408
MailUtil!Ordinal151+85c
msvcr80!_callthreadstart+1b
msvcr80!_threadstart+5a
kernel32!BaseThreadStart+34
Back to Top
Thread 75 - System ID 3140
Entry point msimap4!DllUnregisterServer+134fd
Create time 8/05/2007 7:12:29 p.m.
Time spent in user mode 0 Days 0:0:0.0
Time spent in kernel mode 0 Days 0:0:0.0
This thread is waiting on data to be returned from another server via
WinSock.
The call to WinSock originated from msimap4!DllUnregisterServer+1a6db
Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
mswsock!SockWaitForSingleObject+3a
mswsock!WSPSelect+380
ws2_32!select+b9
msimap4!DllUnregisterServer+1a6db
kernel32!BaseThreadStart+34
Back to Top
Thread 76 - System ID 5696
Entry point msimap4!DllUnregisterServer+134fd
Create time 8/05/2007 7:12:30 p.m.
Time spent in user mode 0 Days 0:0:0.0
Time spent in kernel mode 0 Days 0:0:0.0
This thread is waiting on data to be returned from another server via
WinSock.
The call to WinSock originated from msimap4!DllUnregisterServer+1a6db
Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
mswsock!SockWaitForSingleObject+3a
mswsock!WSPSelect+380
ws2_32!select+b9
msimap4!DllUnregisterServer+1a6db
kernel32!BaseThreadStart+34
Back to Top
Thread 77 - System ID 6104
Entry point msvcr80!_threadstart
Create time 8/05/2007 7:12:30 p.m.
Time spent in user mode 0 Days 0:0:0.0
Time spent in kernel mode 0 Days 0:0:0.0
This thread is waiting on data to be returned from another server via
WinSock.
The call to WinSock originated from MsRemote!InitiateRetryRemote+3dba
Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
mswsock!SockWaitForSingleObject+3a
mswsock!WSPRecv+203
ws2_32!recv+83
MsRemote!InitiateRetryRemote+3dba
MsRemote!InitiateRetryRemote+3c5d
MailUtil!Ordinal151+408
MailUtil!Ordinal151+85c
msvcr80!_callthreadstart+1b
msvcr80!_threadstart+5a
kernel32!BaseThreadStart+34
Back to Top
Thread 78 - System ID 5732
Entry point msvcr80!_threadstart
Create time 8/05/2007 7:12:30 p.m.
Time spent in user mode 0 Days 0:0:0.0
Time spent in kernel mode 0 Days 0:0:0.0
This thread is waiting on data to be returned from another server via
WinSock.
The call to WinSock originated from MsRemote!InitiateRetryRemote+3dba
Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
mswsock!SockWaitForSingleObject+3a
mswsock!WSPRecv+203
ws2_32!recv+83
MsRemote!InitiateRetryRemote+3dba
MsRemote!InitiateRetryRemote+3c5d
MailUtil!Ordinal151+408
MailUtil!Ordinal151+85c
msvcr80!_callthreadstart+1b
msvcr80!_threadstart+5a
kernel32!BaseThreadStart+34