iisnode无法处理http响应状态行

我在Windows 2008 R2和节点0.8上使用IISnode 0.1.21 x64

我的应用程序运行成功与4个线程。 但是经过一段时间(比如说3-4小时),响应不会从IIS节点到客户端,用户也不会获得页面上的数据(但应用程序的其余部分正在工作)。 我试图在IISnode文件夹中创build一个日志,但没有从那里得到任何东西。

如果我从任务pipe理器中删除一个node.exe进程,应用程序就会正常启动。 几个小时之后,我又回到原点了。

我得到了ETW日志,这就是它显示的内容:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Guid="{1040dfc4-61db-484a-9530-584b2735f7f7}" /> <EventID>0</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x0</Keywords> <TimeCreated SystemTime="2012-10-21T13:21:56.783161800Z" /> <Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" /> <Execution ProcessID="2468" ThreadID="3484" ProcessorID="0" KernelTime="195" UserTime="435" /> <Channel /> <Computer /> </System> <Data>{00000000-0000-0000-6E02-0080000000CA}: iisnode failed to process http response status line</Data> </Event> <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Guid="{1040dfc4-61db-484a-9530-584b2735f7f7}" /> <EventID>0</EventID> <Version>0</Version> <Level>5</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x0</Keywords> <TimeCreated SystemTime="2012-10-21T13:21:56.783171500Z" /> <Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" /> <Execution ProcessID="2468" ThreadID="3484" ProcessorID="0" KernelTime="195" UserTime="435" /> <Channel /> <Computer /> </System> <Data>{00000000-0000-0000-6E02-0080000000CA}: iisnode request processing failed for reasons unrecognized by iisnode</Data> </Event> 

这种情况经常表明node.exe和iisnode之间的连接在应用程序发回HTTP响应的过程中被破坏了。 这又可能是响应处理期间exception的结果。 检查未处理exception的响应代码path,或者注册一个全局uncaughtException处理程序来查看是否有任何exception未处理,这可能是一个好主意。 如果没有帮助,请在https://github.com/tjanczuk/iisnode/issues/new上打开一个问题&#x3002;