Bug #12432
closedThe process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec()
Description
Hi all,
I'm Running a server with ruby 2.1.5 with Rails 3.2.21 on Mac OS X El Capitan.
The server works until I try to look at the existing data files or upload new data files into the server - then I get a "connection reset" in the browser, and the error below.
Has anybody encountered anything like this, or alternatively knows what I can do to fix it?
Thanks in advance,
Hadas
Files
Updated by nobu (Nobuyoshi Nakada) almost 8 years ago
- Description updated (diff)
- Status changed from Open to Third Party's Issue
- File bug-12432.log bug-12432.log added
Seems an issue with unicorn and rcdk gem caused by a system restriction.
I think you should exec
or spawn
somewhere, maybe before requiring that gem, as the message says, but don't know about both.
Possibly maintainers of that gem may know.
Updated by hadasl (Hadas Leonov) almost 8 years ago
Nobuyoshi Nakada wrote:
Seems an issue with unicorn and rcdk gem caused by a system restriction.
I think you shouldexec
orspawn
somewhere, maybe before requiring that gem, as the message says, but don't know about both.
Possibly maintainers of that gem may know.
Unfortunately, the maintainers of the gem haven't updated it since 2006, when it was written for Ruby 1.8.4.
I was hoping to bypass this by some external solution like some mac file setting or switching the java version, but I cannot go back to Ruby < 1.9.3.
Thanks for the hint though, I'll update if I get the gem maintainers to answer.
Updated by normalperson (Eric Wong) almost 8 years ago
blackbirdy@gmail.com wrote:
Nobuyoshi Nakada wrote:
Seems an issue with unicorn and rcdk gem caused by a system restriction.
I think you shouldexec
orspawn
somewhere, maybe before requiring that gem, as the message says, but don't know about both.
Possibly maintainers of that gem may know.
Maybe try disabling "preload_app" in unicorn and
not loading gems in the unicorn config file.