Apache崩溃时出现R6016错误,线程数据空间不足

时间:2022-10-05 21:41:56

My application works properly except in some cases I get this error

我的应用程序正常工作,除了在某些情况下我得到这个错误

R6016 not enough space for thread data

So I am now investigating why I get this error. I am not surre If my app is causing this or something in the backend.

我现在正在研究为什么会出现这个错误。我不确定我的应用程序是否引起了这个或什么的后端。

Here is a xml from the windows event log of the error

这是来自windows事件日志的一个xml错误

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2012-12-17T14:03:36.000000000Z" /> 
  <EventRecordID>333483</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>MY-PC</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>apache.exe</Data> 
  <Data>2.2.19.0</Data> 
  <Data>4dd7429b</Data> 
  <Data>ntdll.dll</Data> 
  <Data>6.1.7601.17725</Data> 
  <Data>4ec49b8f</Data> 
  <Data>c0000005</Data> 
  <Data>000343d6</Data> 
  </EventData>

also here is a helper information

这里还有一个帮助信息

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Windows Error Reporting" /> 
  <EventID Qualifiers="0">1001</EventID> 
  <Level>4</Level> 
  <Task>0</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2012-12-17T14:03:45.000000000Z" /> 
  <EventRecordID>333484</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>MY-PC</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>3122334836</Data> 
  <Data>1</Data> 
  <Data>APPCRASH</Data> 
  <Data>Not available</Data> 
  <Data>0</Data> 
  <Data>apache.exe</Data> 
  <Data>2.2.19.0</Data> 
  <Data>4dd7429b</Data> 
  <Data>ntdll.dll</Data> 
  <Data>6.1.7601.17725</Data> 
  <Data>4ec49b8f</Data> 
  <Data>c0000005</Data> 
  <Data>000343d6</Data> 
  <Data /> 
  <Data /> 
  <Data>C:\Users\MyUserName\AppData\Local\Temp\WERA29B.tmp.WERInternalMetadata.xml</Data> 
  <Data>C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_SenseWeb.exe_337f61e2ed7abb1fe78d685bd48c832557c6b1_3561c67f</Data> 
  <Data /> 
  <Data>0</Data> 
  <Data>8c82cf18-4852-11e2-a5d0-005056c00008</Data> 
  <Data>0</Data> 
  </EventData>
  </Event>

Why this is happening? What do I do wrong?

这是为什么呢?我做错了什么?

1 个解决方案

#1


3  

There are two possibilities:

有两种可能性:

On is if you are repeatedly loading and unloading some DLL, causing the system to run out of TLS entries. You should just leave it loaded.

如果您正在反复加载和卸载某个DLL,则On将导致系统耗尽TLS条目。你应该把它装好。

The other is if you are calling TLSAlloc over and over. You should only need to call this a very small number of times.

另一个是如果你不断地调用TLSAlloc。你只需要把它称为非常小的次数。

See this knowledge base article for more information.

有关更多信息,请参阅这篇知识库文章。

#1


3  

There are two possibilities:

有两种可能性:

On is if you are repeatedly loading and unloading some DLL, causing the system to run out of TLS entries. You should just leave it loaded.

如果您正在反复加载和卸载某个DLL,则On将导致系统耗尽TLS条目。你应该把它装好。

The other is if you are calling TLSAlloc over and over. You should only need to call this a very small number of times.

另一个是如果你不断地调用TLSAlloc。你只需要把它称为非常小的次数。

See this knowledge base article for more information.

有关更多信息,请参阅这篇知识库文章。