* Re: Ruby 2.0 Bad file descriptor (Errno::EBADF)
@ 2013-08-23 2:04 7% ` Eric Wong
0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2013-08-23 2:04 UTC (permalink / raw)
To: unicorn list
Port Himmerland <port.himmerland@icloud.com> wrote:
> hi. i've been trying to upgrade my stack to ruby 2.0 but keep getting this on ubuntu (not on my local os x):
>
> /hello/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:746:in `for_fd': Bad file descriptor (Errno::EBADF)
>
> this happens all the time for my legacy rails app, but i'm not able to reproduce on a tiny new rack app. i'm wondering if this could be related:
>
> https://github.com/puma/puma/issues/177
> https://github.com/puma/puma/pull/220
We've been prepared for close-on-exec by default since unicorn 4.1.0
over two years ago:
commit 6ab27beeda3b0aaaa66f7cc4f734944a7aa84385
Author: Eric Wong <normalperson@yhbt.net>
Date: Thu Aug 11 12:59:09 2011 -0700
future-proof against close-on-exec by default
Did you upgrade to Ruby 2.0.0 before upgrading to unicorn 4.1+?
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying
^ permalink raw reply [relevance 7%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-08-23 1:34 Ruby 2.0 Bad file descriptor (Errno::EBADF) Port Himmerland
2013-08-23 2:04 7% ` Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).