# Bad File Descriptor

**URL:** <https://www.ruby-forum.com/t/bad-file-descriptor/221413>\
**Category:** NGINX\
**Created:** [July 13, 2012, 5:13am UTC](https://www.ruby-forum.com/t/bad-file-descriptor/221413 "2012-07-13T05:13:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [July 13, 2012, 5:13am UTC](https://www.ruby-forum.com/t/bad-file-descriptor/221413/1 "2012-07-13T05:13:52Z")

</div>

Hello,

Running v1.0.5 on ubuntu and having an issue. When I make requests I am  
getting this in the error logs:

sendfile() failed (9: Bad file descriptor) while sending response to  
client

Googling turns up patches to the source. Not sure with this version if  
I need that and if I do, I would assume I would need to uninstall my  
debs and compile from source. THoughts?

Thanks!

Jim

Posted at Nginx Forum:

> **[Bad File Descriptor](https://forum.nginx.org/read.php?2,228558,228558#msg-228558)**
>
> Hello, Running v1.0.5 on ubuntu and having an issue. When I make requests I am getting this in the error logs: sendfile() failed (9: Bad file descriptor) while sending response to client Googling turns up patches to the source. Not sure with thi

---

<div class="post-metadata">

**Author:** ![bpoppa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bbe5ce/32.png) [@bpoppa](https://www.ruby-forum.com/u/bpoppa)\
**Post date:** [July 13, 2012, 5:22am UTC](https://www.ruby-forum.com/t/bad-file-descriptor/221413/2 "2012-07-13T05:22:03Z")

</div>

Update on this…I upgrade to 1.2.1 and still have the issue, thanks!

Posted at Nginx Forum:

> **[Re: Bad File Descriptor](https://forum.nginx.org/read.php?2,228558,228559#msg-228559)**
>
> Hello, Running v1.0.5 on ubuntu and having an issue. When I make requests I am getting this in the error logs: sendfile() failed (9: Bad file descriptor) while sending response to client Googling turns up patches to the source. Not sure with thi
