背景描述:

最近一个项目的系统管理员和业务运维人员分别反馈问题:

1、应用系统每个月会有一两次宕机,需要管理员手工重启IIS;

2、财务模块一个功能经常报网络错误“网络异常,请检查网络连接”“Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。”

财务组开发人员联系到我,他按照常规排除法,测试反馈:在应用服务器访问本机也会出现上面提到的网络问题。

  1. 异常信息(异常类型:System.Net.WebException
  2. 异常提示:网络异常,请检查网络连接
  3. 异常信息:The underlying connection was closed: An unexpected error occurred on a receive.
  4. 导致错误的应用程序或对象的名称:System.Web.Services
  5. 引发当前异常的方法:System.Net.WebResponse GetWebResponse(System.Net.WebRequest)
  6. 异常相关帮助:
  7. 堆栈信息:
  8. at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
  9. at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
  10. at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
  11. at xxx.xx.VoucherInterfaceGenerateWebService.VoucherInterfaceGenerateWebService.GetNewVoucherXml(String content)
  12. at xxx.xx.WebServiceClient.BillListLoadWebServiceClient.GetNewVoucherXml(VoucherGenerateParams Templateparam, XXX UIState)
  13. at xxx.xx.WebServiceClient.BillListLoadWebServiceClient.VoucherGenerate(VoucherGenerateParams templateparam, XXX gspState)
  14. at xxx.xx.FormController.ReimbursementBill.FormVoucher(String psCompany, String psBillId)
  15. 内部异常
  16. 异常提示:网络异常,请检查网络连接
  17. 异常信息:Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
  18. 导致错误的应用程序或对象的名称:System
  19. 引发当前异常的方法:Int32 Read(Byte[], Int32, Int32)
  20. 异常相关帮助:
  21. 堆栈信息:
  22. at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  23. at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  24. at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
  25. 内部异常
  26. 异常提示:网络异常,请检查网络连接
  27. 异常信息:远程主机强迫关闭了一个现有的连接。
  28. 导致错误的应用程序或对象的名称:System
  29. 引发当前异常的方法:Int32 Receive(Byte[], Int32, Int32, System.Net.Sockets.SocketFlags)
  30. 异常相关帮助:
  31. 堆栈信息:
  32. at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
  33. at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  34. 内部异常:{}

问题分析:

貌似跟网络没有关系??要来应用系统的服务器日志。从“系统”日志中看到连续5次进程崩溃的警告信息后,紧接着AppPool就自动禁用了。

应用程序池“ASP.NET v4.0 cwbaseAppPool”将被自动禁用,原因是为此应用程序池提供服务的进程中出现一系列错误。

为应用程序池“ASP.NET v4.0 cwbaseAppPool”提供服务的进程在与 Windows Process Activation Service 通信时出现严重错误。该进程 ID 为“27048”。数据字段包含错误号。

W3WP进程为什么会崩溃呢?查看对应的“应用程序”日志:StackOverflowException

  1. 错误存储段 ,类型 0
  2. 事件名称: CLR20r3
  3. 响应: 不可用
  4. Cab ID: 0
  5.  
  6. 问题签名:
  7. P1: w3wp.exe
  8. P2: 7.5.7600.16385
  9. P3: 4a5bd0eb
  10. P4: System.Data
  11. P5: 4.0.0.0
  12. P6: 4ba223da
  13. P7: 1896
  14. P8: 0
  15. P9: System.StackOverflowException
  16. P10:
  17.  
  18. 附加文件:
  19.  
  20. 可在此处获取这些文件:
  21. C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_w3wp.exe_2812f8927393ea8207752f4eba6604f4522467c_77c1eda2
  22.  
  23. 分析符号:
  24. 重新检查解决方案: 0
  25. 报告 Id: 4564df38-c58c-11e5-8506-000598115110
  26. 报告状态: 0
  1. 错误应用程序名称: w3wp.exe,版本: 7.5.7600.16385,时间戳: 0x4a5bd0eb
  2. 错误模块名称: System.Data.ni.dll,版本: 4.0.30319.1,时间戳: 0x4ba223da
  3. 异常代码: 0xc00000fd
  4. 错误偏移量: 0x0000000000576f12
  5. 错误进程 ID: 0x69a8
  6. 错误应用程序启动时间: 0x01d15998cef8e62f
  7. 错误应用程序路径: c:\windows\system32\inetsrv\w3wp.exe
  8. 错误模块路径: C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Data\758fe5ee6223497804f83edf4a902327\System.Data.ni.dll
  9. 报告 ID: 4564df38-c58c-11e5-8506-000598115110

根据日志提示找到IIS自动产生的dump文件

  1. Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3.  
  4. Loading Dump File [D:\dumps\AppCrash_w3wp.exe_2812f8927393ea8207752f4eba6604f4522467c_77c1eda2\WERA7A6.tmp.hdmp]
  5. User Mini Dump File: Only registers, stack and portions of memory are available
  6.  
  7. Symbol search path is: SRV*C:\Symbols*http://msdl.microsoft.com/download/symbols
  8. Executable search path is:
  9. Windows 7 Version 7600 MP (16 procs) Free x64
  10. Product: Server, suite: Enterprise TerminalServer SingleUserTS
  11. Machine Name:
  12. Debug session time: Wed Jan 27 15:41:41.000 2016 (UTC + 8:00)
  13. System Uptime: 5 days 7:53:01.569
  14. Process Uptime: 0 days 0:16:16.000
  15. ................................................................
  16. ................................................................
  17. ................................................................
  18. ................................................................
  19. ................................................................
  20. ................................................................
  21. ................................................................
  22. ..................
  23. This dump file has an exception of interest stored in it.
  24. The stored exception information can be accessed via .ecxr.
  25. (a840.6e20): Stack overflow - code c00000fd (first/second chance not available)
  26. Unable to load image C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\a7e82e3e824a3a255f5a8ce723973870\mscorlib.ni.dll, Win32 error 0n2
  27. *** WARNING: Unable to verify checksum for mscorlib.ni.dll
  28. mscorlib_ni+0x3b57f6:
  29. 000007fe`f8c357f6 e845050000 call mscorlib_ni+0x3b5d40 (000007fe`f8c35d40)
  30. 0:159> .load D:\dumps\dotNet_dlls\00__1_4000\x64\sos.dll
  31. ----------------------------------------------------------------------------
  32. The user dump currently examined is a minidump. Consequently, only a subset
  33. of sos.dll functionality will be available. If needed, attaching to the live
  34. process or debugging a full dump will allow access to sos.dll's full feature
  35. set.
  36. To create a full user dump use the command: .dump /ma <filename>
  37. ----------------------------------------------------------------------------
  38. 0:159> !pe
  39. Exception object: 000000017fb501f0
  40. Exception type: System.StackOverflowException
  41. Message: <none>
  42. InnerException: <none>
  43. StackTrace (generated):
  44. <none>
  45. StackTraceString: <none>
  46. HResult: 800703e9
  47. 0:159> !clrstack
  48. OS Thread Id: 0x6e20 (159)
  49. Child SP IP Call Site
  50. 0000000012345fe0 000007fef8c357f6 System.Number.ParseNumber(Char* ByRef, System.Globalization.NumberStyles, NumberBuffer ByRef, System.Text.StringBuilder, System.Globalization.NumberFormatInfo, Boolean)
  51. 00000000123460d0 000007fef8c363d8 System.Number.StringToNumber(System.String, System.Globalization.NumberStyles, NumberBuffer ByRef, System.Globalization.NumberFormatInfo, Boolean)
  52. 0000000012346130 000007fef8c48f45 System.Number.ParseDecimal(System.String, System.Globalization.NumberStyles, System.Globalization.NumberFormatInfo)
  53. 00000000123462a0 000007fef923cb3e System.Convert.ToDecimal(System.String, System.IFormatProvider)
  54. 00000000123462e0 000007fef923cf66 System.Convert.ToDecimal(System.Object, System.IFormatProvider)
  55. 0000000012346330 000007fef64a6478 System.Data.BinaryNode.BinaryCompare(System.Object, System.Object, System.Data.Common.StorageType, Int32)Unable to load image C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Data\758fe5ee6223497804f83edf4a902327\System.Data.ni.dll, Win32 error 0n2
  56. *** WARNING: Unable to verify checksum for System.Data.ni.dll
  57.  
  58. 0000000012346620 000007fef64a9d1d System.Data.BinaryNode.EvalBinaryOp(Int32, System.Data.ExpressionNode, System.Data.ExpressionNode, System.Data.DataRow, System.Data.DataRowVersion, Int32[])
  59. 0000000012347310 000007fef64a6dac System.Data.BinaryNode.Eval(System.Data.DataRow, System.Data.DataRowVersion)
  60. 0000000012347360 000007fef64aa273 System.Data.BinaryNode.EvalBinaryOp(Int32, System.Data.ExpressionNode, System.Data.ExpressionNode, System.Data.DataRow, System.Data.DataRowVersion, Int32[])
  61. 0000000012348050 000007fef64a6dac System.Data.BinaryNode.Eval(System.Data.DataRow, System.Data.DataRowVersion)
  62. 00000000123480a0 000007fef64aa273 System.Data.BinaryNode.EvalBinaryOp(Int32, System.Data.ExpressionNode, System.Data.ExpressionNode, System.Data.DataRow, System.Data.DataRowVersion, Int32[])
  63. 0000000012348d90 000007fef64a6dac System.Data.BinaryNode.Eval(System.Data.DataRow, System.Data.DataRowVersion)
  64. 0000000012348de0 000007fef64aa273 System.Data.BinaryNode.EvalBinaryOp(Int32, System.Data.ExpressionNode, System.Data.ExpressionNode, System.Data.DataRow, System.Data.DataRowVersion, Int32[])
  65. 0000000012349ad0 000007fef64a6dac System.Data.BinaryNode.Eval(System.Data.DataRow, System.Data.DataRowVersion)
  66. 0000000012349b20 000007fef64aa273 System.Data.BinaryNode.EvalBinaryOp(Int32, System.Data.ExpressionNode, System.Data.ExpressionNode, System.Data.DataRow, System.Data.DataRowVersion, Int32[])
  67. 000000001234a810 000007fef64a6dac System.Data.BinaryNode.Eval(System.Data.DataRow, System.Data.DataRowVersion)
  68. 。。。。。。
  69. 。。。。。。两百多行的类似堆栈
  70. 。。。。。。
  71. 00000000123b8aa0 000007fef64aa273 System.Data.BinaryNode.EvalBinaryOp(Int32, System.Data.ExpressionNode, System.Data.ExpressionNode, System.Data.DataRow, System.Data.DataRowVersion, Int32[])
  72. 00000000123b9790 000007fef64a6dac System.Data.BinaryNode.Eval(System.Data.DataRow, System.Data.DataRowVersion)
  73. 00000000123b97e0 000007fef64aa273 System.Data.BinaryNode.EvalBinaryOp(Int32, System.Data.ExpressionNode, System.Data.ExpressionNode, System.Data.DataRow, System.Data.DataRowVersion, Int32[])
  74. 00000000123ba4d0 000007fef64a6dac System.Data.BinaryNode.Eval(System.Data.DataRow, System.Data.DataRowVersion)
  75. 00000000123ba520 000007fef64aa273 System.Data.BinaryNode.EvalBinaryOp(Int32, System.Data.ExpressionNode, System.Data.ExpressionNode, System.Data.DataRow, System.Data.DataRowVersion, Int32[])
  76. 00000000123bb210 000007fef64a6dac System.Data.BinaryNode.Eval(System.Data.DataRow, System.Data.DataRowVersion)
  77. 00000000123bb260 000007fef64aa273 System.Data.BinaryNode.EvalBinaryOp(Int32, System.Data.ExpressionNode, System.Data.ExpressionNode, System.Data.DataRow, System.Data.DataRowVersion, Int32[])
  78. 00000000123bbf50 000007fef64a6dac System.Data.BinaryNode.Eval(System.Data.DataRow, System.Data.DataRowVersion)
  79. 00000000123bbfa0 000007fef64aa273 System.Data.BinaryNode.EvalBinaryOp(Int32, System.Data.ExpressionNode, System.Data.ExpressionNode, System.Data.DataRow, System.Data.DataRowVersion, Int32[])
  80. 00000000123bcc90 000007fef64a6dac System.Data.BinaryNode.Eval(System.Data.DataRow, System.Data.DataRowVersion)
  81. 00000000123bcce0 000007fef608370f System.Data.DataExpression.Invoke(System.Data.DataRow, System.Data.DataRowVersion)
  82. 00000000123bcd20 000007fef6082ccf System.Data.Index.AcceptRecord(Int32, System.Data.IFilter)
  83. 00000000123bcd90 000007fef607cea6 System.Data.Index.InitRecords(System.Data.IFilter)
  84. 00000000123bce20 000007fef607cbab System.Data.Index..ctor(System.Data.DataTable, Int32[], System.Data.IndexField[], System.Comparison`1<System.Data.DataRow>, System.Data.DataViewRowState, System.Data.IFilter)
  85. 00000000123bced0 000007fef607c9a1 System.Data.DataTable.GetIndex(System.Data.IndexField[], System.Data.DataViewRowState, System.Data.IFilter)
  86. 00000000123bcf70 000007fef607c6f0 System.Data.DataView.UpdateIndex(Boolean, Boolean)
  87. 00000000123bd020 000007fef607c427 System.Data.DataView.SetIndex2(System.String, System.Data.DataViewRowState, System.Data.IFilter, Boolean)
  88. 00000000123bd140 000007fef607f3de System.Data.DataView.SetIndex(System.String, System.Data.DataViewRowState, System.Data.IFilter)
  89. 00000000123bd180 000007fef644f40d System.Data.DataView.set_RowFilter(System.String)
  90. 00000000123bd1e0 000007ff017cd644 xxxx.xx.ZW.VoucherInterface.Core.dll!Unknown*** WARNING: Unable to verify checksum for xxxx.xx.ZW.VoucherInterface.Core.dll
  91. *** ERROR: Module load completed but symbols could not be loaded for xxxx.xx.ZW.VoucherInterface.Core.dll
  92.  
  93. 00000000123bd410 000007ff017cb48a xxxxx.xx.ZW.VoucherInterface.Core.dll!Unknown
  94. 00000000123bd510 000007ff017c989d xxxxx.xx.ZW.VoucherInterface.Core.dll!Unknown
  95. 00000000123bd7a0 000007ff017c133b xxxxx.xx.ZW.VoucherInterface.LocalClient.dll!Unknown*** WARNING: Unable to verify checksum for xxxx.xx.ZW.VoucherInterface.LocalClient.dll
  96. *** ERROR: Module load completed but symbols could not be loaded for xxxx.xx.ZW.VoucherInterface.LocalClient.dll
  97.  
  98. 00000000123bd8e0 000007ff017c04cf xxxxx.xx.ZW.VoucherInterface.GenerateWebService.dll!Unknown*** WARNING: Unable to verify checksum for xxxx.xx.ZW.VoucherInterface.GenerateWebService.dll
  99. *** ERROR: Module load completed but symbols could not be loaded for xxxx.xx.ZW.VoucherInterface.GenerateWebService.dll
  100.  
  101. 00000000123be008 000007fef9b410b4 [DebuggerU2MCatchHandlerFrame: 00000000123be008]
  102. 00000000123be0f0 000007fef9b410b4 [CustomGCFrame: 00000000123be0f0]
  103. 00000000123be0b8 000007fef9b410b4 [GCFrame: 00000000123be0b8]
  104. 00000000123be048 000007fef9b410b4 [GCFrame: 00000000123be048]
  105. 00000000123be418 000007fef9b410b4 [HelperMethodFrame_PROTECTOBJ: 00000000123be418] System.RuntimeMethodHandle._InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeType)
  106. 00000000123be560 000007fef8bf587f System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, Boolean)
  107. 00000000123be6a0 000007fef8c40426 System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
  108. 00000000123be6f0 000007fef7a64c02 System.Web.Services.Protocols.LogicalMethodInfo.Invoke(System.Object, System.Object[])Unable to load image C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Web.Services\498cd56f22ea8677860da7af069e463e\System.Web.Services.ni.dll, Win32 error 0n2
  109. *** WARNING: Unable to verify checksum for System.Web.Services.ni.dll
  110.  
  111. 00000000123be770 000007fef7a7b132 System.Web.Services.Protocols.WebServiceHandler.Invoke()
  112. 00000000123be800 000007fef7a7ad5b System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
  113. 00000000123be870 000007fef7aadb68 System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(System.Web.HttpContext)
  114. 00000000123be8d0 000007fef19fe5a8 System.Web.Script.Services.ScriptHandlerFactory+HandlerWrapper.ProcessRequest(System.Web.HttpContext)Unable to load image C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Web.Extensio#\887d181b244026e4721d9d30820f417e\System.Web.Extensions.ni.dll, Win32 error 0n2
  115. *** WARNING: Unable to verify checksum for System.Web.Extensions.ni.dll
  116.  
  117. 00000000123be900 000007fef5245c25 System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()Unable to load image C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Web\04fad99670ad2bc15543ab621d59fad6\System.Web.ni.dll, Win32 error 0n2
  118. *** WARNING: Unable to verify checksum for System.Web.ni.dll
  119.  
  120. 00000000123be9c0 000007fef521337a System.Web.HttpApplication.ExecuteStep(IExecutionStep, Boolean ByRef)
  121. 00000000123bea70 000007fef5227030 System.Web.HttpApplication+ApplicationStepManager.ResumeSteps(System.Exception)
  122. 00000000123beb30 000007fef5212879 System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(System.Web.HttpContext, System.AsyncCallback, System.Object)
  123. 00000000123beb90 000007fef521777c System.Web.HttpRuntime.ProcessRequestInternal(System.Web.HttpWorkerRequest)
  124. 00000000123bec10 000007fef5216477 System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr, Int32)
  125. 00000000123bed40 000007fef597d6dd DomainNeutralILStubClass.IL_STUB_COMtoCLR(Int64, Int32, Int32 ByRef)
  126. 00000000123bf078 000007fef9bae93e [GCFrame: 00000000123bf078]
  127. 00000000123bf0b8 000007fef9bae93e [ContextTransitionFrame: 00000000123bf0b8]
  128. 00000000123bf0f8 000007fef9bae93e [GCFrame: 00000000123bf0f8]
  129. 00000000123bf2e0 000007fef9bae93e [ComMethodFrame: 00000000123bf2e0]
  1. 0:159> !dso
  2.  
  3. 。。。。
  4. 00000000123BD158 00000001302f1490 System.Data.DataExpression
  5. 00000000123BD168 000000018fd3e5d8 System.String RFLAG='1' And MX1FYXM<>'A1101010101' And MX1FYXM<>'A1101020101' And MX1FYXM<>'A110101030601' And MX1FYXM<>'A1101010402' And MX1FYXM<>'A110101040401' And MX1FYXM<>'A110102030801' And MX1FYXM<>'A110101040402' And MX1FYXM<>'A110102030802' And MX1FYXM<>'A1101020604' And MX1FYXM<>'A11010104040301' And MX1FYXM<>'A1101020705' And MX1FYXM<>'A11010301' And MX1FYXM<>'A110102010501' And MX1FYXM<>'A110102010502' And MX1FYXM<>'A110101010502' And MX1FYXM<>'A110102010505' And MX1FYXM<>'A110101010504' And MX1FYXM<>'A110102010506' And MX1FYXM<>'A110101010505' And MX1FYXM<>'A110101010501' And MX1FYXM<>'A1101010712' And MX1FYXM<>'A1101020716' And MX1FYXM<>'A1101010711' And MX1FYXM<>'A1101020715' And MX1FYXM<>'A1101010715' And MX1FYXM<>'A1101010710' And MX1FYXM<>'A1101010707' And MX1FYXM<>'A1101010706' And MX1FYXM<>'A1101020712' And MX1FYXM<>'A1101010705' And MX1FYXM<>'A1101020711' And MX1FYXM<>'A1101020710' And MX1FYXM<>'A1101010704' And MX1FYXM<>'A1101020708' And MX1FYXM<>'A1101010702' And MX1FYXM<>'A1101020707' And MX1FYXM<>'A1101010701' And MX1FYXM<>'A1101020502' And MX1FYXM<>'A1101010602' And MX1FYXM<>'A1101020501' And MX1FYXM<>'A1101010601' And MX1FYXM<>'A1101020408' And MX1FYXM<>'A1101010508' And MX1FYXM<>'A1101020404' And MX1FYXM<>'A110101050402' And MX1FYXM<>'A110101050401' And MX1FYXM<>'A1101020410' And MX1FYXM<>'A1101010510' And MX1FYXM<>'A1101020409' And MX1FYXM<>'A110101050901' And MX1FYXM<>'A1101020407' And MX1FYXM<>'A1101010507' And MX1FYXM<>'A1101020406' And MX1FYXM<>'A1101010506' And MX1FYXM<>'A1101020405' And MX1FYXM<>'A1101010505' And MX1FYXM<>'A1101020403' And MX1FYXM<>'A110101050301' And MX1FYXM<>'A1101020402' And MX1FYXM<>'A1101010502' And MX1FYXM<>'A1101020401' And MX1FYXM<>'A1101010501' And MX1FYXM<>'A1101020303' And MX1FYXM<>'A1101020304' And MX1FYXM<>'A1101020302' And MX1FYXM<>'A110102030103' And MX1FYXM<>'A110102030102' And MX1FYXM<>'A110102030101' And MX1FYXM<>'A1101020307' And MX1FYXM<>'A1101010403' And MX1FYXM<>'A1101020306' And MX1FYXM<>'A1101010402' And MX1FYXM<>'A1101020305' And MX1FYXM<>'A1101010401' And MX1FYXM<>'A110101030701' And MX1FYXM<>'A110101030501' And MX1FYXM<>'A11010103040501' And MX1FYXM<>'A110101030404' And MX1FYXM<>'A11010103040301' And MX1FYXM<>'A110101030402' And MX1FYXM<>'A110101030401' And MX1FYXM<>'A1101010304' And MX1FYXM<>'A110101030301' And MX1FYXM<>'A110101030201' And MX1FYXM<>'A11010303' And MX1FYXM<>'A1101020703' And MX1FYXM<>'A1101020702' And MX1FYXM<>'A1101020701' And MX1FYXM<>'A1101020606' And MX1FYXM<>'A1101020604' And MX1FYXM<>'A1101020714' And MX1FYXM<>'A1101020706' And MX1FYXM<>'A1101020709' And MX1FYXM<>'A1101010703' And MX1FYXM<>'A110102020101' And MX1FYXM<>'A110101030101' And MX1FYXM<>'A1101010202' And MX1FYXM<>'A1101010201' And MX1FYXM<>'A1101010111' And MX1FYXM<>'A1101020108' And MX1FYXM<>'A1101010109' And MX1FYXM<>'A1101010108' And MX1FYXM<>'A110102030803' And DJBH not like '%QT%' And MX1FYXM<>'A110101010301' And MX1FYXM<>'A110102010301' And MX1FYXM<>'A110101010304' And MX1FYXM<>'A110102010304' And MX1FYXM<>'A110101010302' And MX1FYXM<>'A110102010302' And MX1FYXM<>'A110102010305' And MX1FYXM<>'A110101010305' And MX1FYXM<>'A110102010303' And MX1FYXM<>'A110101010303' And MX1FYXM<>'A1101010104' And MX1FYXM<>'A1101020104' And MX1FYXM<>'A1101020601' And MX1FYXM<>'A1101020602' And MX1FYXM<>'A1101020603' And MX1FYXM<>'A1101020605' And MX1FYXM<>'A1101010709' And MX1FYXM<>'A1101020719' And MX1FYXM<>'A110102030804' And MX1FYXM<>'A110101040404' And MX1FYXM<>'A110102010503' And MX1FYXM<>'A110101010503' And MX1FYXM<>'A110101030602' And MX1FYXM<>'A110101030502' And MX1FYXM<>'A11010103040502' And MX1FYXM<>'A11010103040302' And MX1FYXM<>'A110101030302' And MX1FYXM<>'A110101030202' And MX1FYXM<>'A110102020102' And MX1FYXM<>'A110101030102' And MX1FYXM<>'A1101010106' And MX1FYXM<>'A1101020106' And MX1FYXM<>'A1101010107' And MX1FYXM<>'A1101020107' And MX1FYXM<>'A11010104040302' And MX1FYXM<>'A110101050902' And MX1FYXM<>'A110101050302' And MX1FYXM<>'A110101030702'

00000000123bd180 000007fef644f40d System.Data.DataView.set_RowFilter(System.String) 定义了140多个条件,God!

参考资料如下,至此问题确认。

https://blogs.msdn.microsoft.com/tess/2008/03/31/net-case-study-stackoverflow-exception-when-using-a-complex-rowfilter/

https://social.microsoft.com/Forums/id-ID/68e8d48c-e5d6-4117-8080-94253777e360/dataviewrowfilter-?forum=visualcshartzhchs

【性能诊断】StackOverflow引发的“网络”及系统稳定性问题的更多相关文章

  1. 60,000毫秒内对Linux的性能诊断效的方法

    转载于:http://www.itxuexiwang.com/a/liunxjishu/2016/0225/168.html?1456484140 60,000 毫秒内对 Linux 的性能诊断 当你 ...

  2. [翻译]60,000毫秒内对Linux进行性能诊断

    原文链接:http://techblog.netflix.com/2015/11/linux-performance-analysis-in-60s.html 原文作者:Brendan Gregg,L ...

  3. MySQL性能诊断与调优 转

    http://www.cnblogs.com/preftest/ http://www.highperfmysql.com/     BOOK LAMP 系统性能调优,第 3 部分: MySQL 服务 ...

  4. MySQL性能诊断与调优

    LAMP 系统性能调优,第 3 部分: MySQL 服务器调优http://www.ibm.com/developerworks/cn/linux/l-tune-lamp-3.html LoadRun ...

  5. 一次VLAN标签引发的网络事件的处置

    一次VLAN标签引发的网络事件的处置 一.背景介绍 事件背景: HZ某分公司新装一套业务系统,通过一条专线和BJ总公司连通.分配给HZ公司的ip地址为:a.b.c.X,掩码24位,网关a.b.c.1. ...

  6. 利用Oracle RUEI+EM12c进行应用的“端到端”性能诊断

    概述 我们知道,影响一个B/S应用性能的因素,粗略地说,有以下几个大的环节: 1. 客户端环节 2. 网络环节(可能包括WAN和LAN) 3. 应用及中间层环节 4. 数据库层环节 能够对各个环节的问 ...

  7. [C#] 网站程序ASP.NET的性能诊断 - CPU分析

    微软提供了标准的CLR性能分析类库 https://github.com/Microsoft/clrmd 这个类库是开源的代码.能够获取CLR runtime里面几乎所有的信息. 如何获取clrmd编 ...

  8. Oracle ADDM性能诊断利器及报告解读

    性能优化是一个永恒的话题,性能优化也是最具有价值,最值得花费精力深入研究的一个课题,因为资源是有限的,时间是有限的.在Oracle数据库中,随着Oracle功能的不断强大和完善,Oralce数据库在性 ...

  9. 阿里数据库性能诊断的利器——SQL执行干预

    概述 在业务数据库性能问题诊断中,如果发现一个业务性能很差跟某个SQL有关,应用连接池几乎被该SQL占满,同时数据库服务器上也不堪重负.此时情况很紧急,业务改SQL重发布已经来不及了,运维能选择的操作 ...

随机推荐

  1. Mac下设置系统PATH

    1. 进入当前用户的home目录 输入cd ~ 2. 创建.bash_profile 输入touch .bash_profile 3. 编辑.bash_profile文件 输入open -e .bas ...

  2. 宁波uber优歩司机注册教程 UBER宁波司机注册指南!

      自2012年Uber开始向全球进军以来,目前已进入全球56个国家和地区的市场,在全球超过270个城市提供服务, 而Uber公司的估值已高达412亿美元. [目前开通Uber优步叫车服务的中国城市] ...

  3. SQL Server 2005 处理交叉表

    假设有一个表如下: 日期 时间 售货金额 2006-01-02 早上 50 2006-01-02 中午 20 2006-01-02  晚上 30 2006-01-02 零晨 40 2006-01-03 ...

  4. BZOJ 1799 同类分布

    一开始没想出来..一看题解 我艹直接枚举数位的和啊.....怪不得给50s. 还是太蠢. #include<iostream> #include<cstdio> #includ ...

  5. 如何执行字符串的PHP代码

    如何执行字符串的PHP代码 最近因项目需要,引出一个议题:如何执行字符串的php代码(php和html混写). 注:传统情况下,php代码存储在文件中,直接运行文件即可.以下讨论的情况是,如果php代 ...

  6. CSS和CSS选择器

    一:CSS CSS有三种书写形式(优先级从高到低) 1)行内样式:(内联样式)直接在标签style属性中书写 2)内页样式:在本网页的style标签中书写 3)外部样式:在单独的CSS文件中书写,然后 ...

  7. Nginx配置指定媒体类型文件强制下载

    由于业务需要,在点击显示链接(如www.xxx.com/2015-01-15/xxx.png)显示媒体资源(如图片.视频.音频.文档),而在点击下载链接(如www.xxx.com/2015-01-15 ...

  8. SQLiteDeveloper破解

    Sqlite 管理工具 SQLiteDeveloper及破解 功能特点 表结构设计,数据维护,ddl生成,加密数据库支持,sqlite2,3支持 唯一缺憾,收费,有试用期 下载地址: http://w ...

  9. 前端:js

    JavaScript: 参考文章: http://www.cnblogs.com/wupeiqi/articles/5369773.html http://javascript.ruanyifeng. ...

  10. extjs_button

    在网页中,填写的内容都在form(表单)中显示,要交互就要用到按钮.所以,今天试了一下按钮,但不清楚的是js中定义的按钮能显示在页面,但怎样响应php代码呢?实际效果就是点击按钮后,通过什么方式调出数 ...