Apache的错误R6016没有足够的空间用于崩溃线程的数据 [英] Apache crashes with error R6016 not enough space for thread data

查看:853
本文介绍了Apache的错误R6016没有足够的空间用于崩溃线程的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

R6016 not enough space for thread data

所以我现在正在研究为什么我得到这个错误。我不是surre如果我的应用程序是导致此什么的在后端。

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.

下面是从错误的Windows事件日志

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

- <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?

推荐答案

有两种可能性:

在是,如果你反复装卸一些DLL,从而导致系统运行的TLS项。你应该见好就收它装载。

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.

另外就是如果要调用 TLSAlloc 一遍又一遍。您应该只需要调用这是一个非常小的次数。

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

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

这篇关于Apache的错误R6016没有足够的空间用于崩溃线程的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆