BUG: DTC Transactions May Fail When SQL Server Is Running in Lightweight Pooling Mode (303287)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q303287
BUG #: 233167 (SHILOH_BUGS)
BUG #: 236303 (SHILOH_BUGS)
SYMPTOMS
When SQL Server is run in "lightweight pooling" mode (fiber mode) and the DTC service is started, unexpected behavior may occur. Symptoms may include:
CAUSE
The internal design that SQL Server uses to protect the DTC transaction is not appropriate when running in fiber mode.
WORKAROUND
If DTC operations are required on the server, the SQL Server instance should always run in thread mode; in other words, lightweight pooling set to zero(0). Microsoft strongly recommends that you run the SQL Server instance in thread mode when DTC is needed.
Use of fiber mode should be limited to those high-end systems with a specific need to utilize it. If you use fiber mode on a system that does not have a specific need, it can often degrade performance.
To check whether fiber mode is turned on for your SQL Server, follow these steps:
- In the SQL Server errorlog, check approximately the seventh line from the top of the errorlog for the currently configured fiber mode:
2002-02-21 15:37:28.06 server Copyright (C) 1988-2000 Microsoft Corporation.
2002-02-21 15:37:28.06 server All rights reserved.
2002-02-21 15:37:28.06 server Server Process ID is 2272.
2002-02-21 15:37:28.06 server Logging SQL Server messages in file 'H:\Program Files\Microsoft SQL Server\MSSQL\log\ERRORLOG'.
2002-02-21 15:37:28.07 server SQL Server is starting at priority class 'normal'(2 CPUs detected).
2002-02-21 15:37:28.26 server Working Set size set to 1669632 kilobytes.
2002-02-21 15:37:28.29 server SQL Server configured for fiber mode processing.
- Execute the sp_configure stored procedure to check for the configuration value of Fiber Mode Processing. In the sp_configure output, if Fiber Mode Processing, config_value, and run_value show a value of "1", SQL Server is configured for fiber-mode processing.
- You can also check this by using Enterprise Manager. Right-click the server, click Properties, and then click Processor. If the Use Windows NT Fibers option is selected, SQL Server is configured for fiber-mode processing.
To change from fiber-mode processing to thread-mode processing, you can do either of the following:
STATUS
Microsoft has confirmed this to be a problem in SQL Server 2000.
Modification Type: | Major | Last Reviewed: | 9/25/2003 |
---|
Keywords: | kbbug kbpending KB303287 kbAudDeveloper |
---|
|