joyent/node — Issue #2080: "Channel closed" error with lots of concurrent requests
Author: thefosk
Created: 2011-11-12 13:24:25+00:00
State: open

Maybe this may be related to a wrong configuration on my CentOS machine (Amazon 64bit AMI - EC2 High-CPU extra large instance), but just in case here's the issue (`ulimit=65535`). I'm using `node v0.6`.

Basically this is my code

``` javascript
http.createServer(function(request, response) {
// Handle request
}).listen(80);
```
And this happens sometimes (not always) with lots (not that many, though) concurrent connections:

```
channel closed
Error: channel closed
at EventEmitter.send (child_process.js:115:33)
at queryMaster (cluster.js:211:11)
at EventEmitter._getServer (cluster.js:220:3)
at listen (net.js:717:24)
at Server.listen (net.js:756:5)
```