on 2015 May 28 10:53 PM
I've been having some frustration with this over the last few weeks, I hope someone with better knowledge of what is happening can help shine a light on this.
We have been receiving 40W06 "All threads are blocked"
errors for most of our queries that are being passed through an external environment. So far CLR, C_ODBC64, and C_ESQL64 have been tested and found to exhibit this issue. I am running 12.0.1.3942 on both the production and my local system. My local system does not exhibit these issues (although I found a bug with long binary). This error is not received when calling C functions without an external environment (which isn't an option with CLR).
For additional clarification, I launched a dbsrv12 instance from a shortcut on the production desktop and received an "All threads are blocked" error on the first attempt to call the external function:
select property('AutoMultiprogrammingLevel')
=> 1select property('CurrentMultiprogrammingLevel')
=> 7select property('MaxMultiprogrammingLevel')
=> 400select property('ThreadDeadlocksAvoided')
=> 0select property('ThreadDeadlocksReported')
=> 0call sa_report_deadlocks()
=> no rowsAdditional information collected from examining the server itself:
I'm starting to run out of ideas on trying to figure out what's going on. I half expect the answer to be "upgrade to 16" or "wait for another EBF". If I had some idea of tracking down the underlying cause or getting some indicator of what is happening (other than an error message that is misguided at best) then I might be able to resolve at least a workaround to get this up and running again.
Request clarification before answering.
User | Count |
---|---|
68 | |
16 | |
12 | |
7 | |
7 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.