Displaying 20 results from an estimated 4000 matches similar to: "unicorn 3.6.1 - fix OpenSSL PRNG workaround"
2011 Jan 13
5
Unicorn 3.3.1 "Too many open files" error in kgio_tryaccept
Strange error which took down my server today:
Unhandled listen loop exception #<Errno::EMFILE: Too many open files - accept>.
/usr/local/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/unicorn-3.3.1/lib/unicorn/http_server.rb:606:in
`kgio_tryaccept''
/usr/local/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/unicorn-3.3.1/lib/unicorn/http_server.rb:606:in
2011 May 16
0
Fwd: adding GPLv3 to unicorn license
Hi Ian, I also found this address in the git history, hoping this works
since ian at inspir.es doesn''t.
----- Forwarded message from Eric Wong <normalperson at yhbt.net> -----
From: Eric Wong <normalperson at yhbt.net>
To: mongrel-unicorn at rubyforge.org
Cc: Hongli Lai <hongli at phusion.nl>, Augusto Becciu <augusto at jadedpixel.com>,
	I?aki Baz Castillo
2012 Apr 27
2
unicorn 4.3.0.2.g4551 gem prerelease
Can you guys test this out?  Thanks.  I''ll make a real 4.3.1 release
tomorrow.
>From RubyGems.org:  gem install --pre unicorn
ChangeLog since v4.3.0:
commit 4551c8ad4d63d4031c618f76d39532b39e88f9be
Author: Eric Wong <normalperson at yhbt.net>
Date:   Fri Apr 27 14:42:38 2012 -0700
    stream_input: call shutdown(2) if a client EOFs on us
    
    In case the Rack app forks
2010 Dec 11
1
the naming of "Unicorn"
In case more people are interested, I originally posted the following to
ruby-core: http://mid.gmane.org/20101210190448.GA6534 at dcvr.yhbt.net
Eric Wong <normalperson at yhbt.net> wrote:
> zuerrong <zuerrong at gmail.com> wrote:
> > 2010/12/10 Tony Arcieri <tony.arcieri at medioh.com>:
> > > And Unicorns are fantastical mythical creatures!
> > >
>
2013 Jan 29
2
unicorn 4.6.0pre1 - hijacking support!
Installing from RubyGems.org: gem install --pre unicorn
>From db919d18e01f6b2339915cbd057fba9dc040988b Mon Sep 17 00:00:00 2001
From: Eric Wong <normalperson at yhbt.net>
Date: Tue, 29 Jan 2013 21:02:55 +0000
Subject: [PATCH] unicorn 4.6.0pre1 - hijacking support
This pre-release adds hijacking support for Rack 1.5 users.
See Rack documentation for more information about hijacking.
2010 Nov 20
6
unicorn 3.0.0 - disable rewindable input!
Changes:
Rewindable "rack.input" may be disabled via the
"rewindable_input false" directive in the configuration file.
This will violate Rack::Lint for Rack 1.x applications, but can
reduce I/O for applications that do not need a rewindable
input.
This release updates us to the Kgio 2.x series which should play
more nicely with other libraries and applications.  There are
2011 Jul 01
5
Timestamp in unicorn logs
I would love to see a timestamp in each line of unicorn stderr and
stdout logs. Has this been considered? Thanks.
Best,
alex sharp
2010 Jun 17
3
unicorn 1.0.0 - yes, this is a real project
Unicorn is an HTTP server for Rack applications designed to only serve
fast clients on low-latency, high-bandwidth connections and take
advantage of features in Unix/Unix-like kernels.  Slow clients should
only be served by placing a reverse proxy capable of fully buffering
both the the request and response in between Unicorn and slow clients.
* http://unicorn.bogomips.org/
* mongrel-unicorn at
2011 Apr 19
0
unicorn 3.6.0 release soon
Mainly small fixes, improvements, and workarounds for fork() issues
with pseudo-random number generators shipped with Ruby (Kernel#rand,
OpenSSL::Random (used by SecureRandom and also by Rails).
If there are any other fixes/improvements that could be useful let us
know.  I think this is nearing the end of the line for the 3.x series
which will then go into maintenance mode.  I''m looking
2011 Nov 14
3
nginx + unicorn deployment survey
Hello all, I''m wondering if you deploy nginx:
1) on the same machine that runs unicorn (exclusively proxying to that)
2) on a different machine that doesn''t run unicorn
3) both, nginx could forward to either to localhost
   or another host on the same LAN
And of course, the reason(s) you chose what you chose.  I''m inclined
to believe many folks are on 1) simply
2012 Jan 31
12
FreeBSD jail and unicorn
Hello,
I''m using unicorn since a while, but now I try to run it the first time
inside a FreeBSD jail.
The initial start of unicorn works fine and it serves all the requests.
But if I want to restart it using the USR2 signal, it (more or less)
slowly starts using more and more CPU cycles. There is no error message in
the logs and it quite hard to reproduce that error. In 1 of 20 tries,
2011 Aug 12
16
Rack content-length Rack::Lint::LintErrors errors with unicorn
Has anyone seen anything like this before?  I can get it to happen all
the time if I issue a HEAD request, but it only happens very
intermittently on GET requests.
I''m using Ruby 1.9.2p180.
Any ideas on where to start debugging?
204.93.223.151, 10.195.114.81 - - [11/Aug/2011 21:03:50] "GET /
HTTP/1.0" 200 37902 0.5316
app error: Content-Length header was 37902, but should be
2011 Jan 06
1
[PATCH] close client socket after closing response body
I am wondering if there are any apps affected by this bug (and
perhaps keeping people from switching Unicorn).
It''s a fairly esoteric case, so I probably won''t make another release
until tomorrow (sleepy now, will probably screw something else up
or realize something else is broken :)
Anyways it''s pushed out to master and 1.1.x-stable in case people
want^Wneed it
2009 Nov 04
7
About Unicorn Rack handler
Hi,
A couple days ago, I was trying to run Unicorn for Ramaze,
and found that `Unicorn.run'' didn''t share the same interface
with other Rack handlers, i.e. `options[:Host]'' and `options[:Port]''
Because of this, I can''t just use:
  Rack::Handler.register(''unicorn'', ''Unicorn'')
And invoke this:
 
2012 Jul 19
5
Detecting unicorn / defining after_fork after master startup
Hey everyone,
Working on an engine for rails that needs specialized behavior with
forking and I had a couple questions.
1. What is the best way to determine whether the app is indeed running
inside a unicorn server?
Most of the attempts I can find to detect check to see if the main
modules for Unicorn are defined, but this really only checks to see
that Unicorn is present, not that you are
2011 Jun 06
2
[PATCH] Document the method for building the Unicorn gem
>From dcd47a609f4489bb37ce33ea1ce975bb2b3ab160 Mon Sep 17 00:00:00 2001
From: Hongli Lai (Phusion) <hongli at phusion.nl>
Date: Mon, 6 Jun 2011 13:36:57 +0200
Subject: [PATCH] Document the method for building the Unicorn gem.
Signed-off-by: Hongli Lai (Phusion) <hongli at phusion.nl>
---
 HACKING |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
diff --git
2010 Dec 01
14
Unicorn and HAProxy, 500 Internal errors after checks
Hi,
This morning, while checking for a correct deployment, we found out
that the Unicorns we are using were sending 500 Internal errors very
frequently to the HAProxy that sits in front of them. After some
investigation, It turned out that HAProxy checks the backend by
opening and closing a connection to the unicorn. Unfortunately the
Unicorns we use ( v 0.990.0 ) will try to reply to this probe
2009 Nov 07
1
Fwd: [PATCH (geoip)] use IO.pread from the io-extra lib if possible
I sent this to the author of geoip a few days ago and haven''t heard
back, yet.  Since he may be on vacation or busy, somebody may also hit
this problem in the mean time, I figured I''d post the patch + git
repo I sent him here.
Unicorn users:
  The pread(2)/pwrite(2) syscalls are very useful for making libraries
  like this one (that rely on an on-disk database) compatible with
2011 Aug 16
6
Unicorn logging in production env
Hi All, as I can see on
https://github.com/defunkt/unicorn/blob/master/lib/unicorn.rb#L53
the?Rack::CommonLogger used only in development env and in weird evn
called "deployment".
Any chance to add  "production" to this case?
Serg Podtynnyi
2010 Jun 04
8
unicorn_rails cleanup (possible fix for Rails3) pushed
Hi all,
I''ve pushed the following patch out go git://git.bogomips.org/unicorn
along with a few other Rails-related test updates.  This is more of a
shotgun fix (but less code is better :) since I haven''t been able to
reproduce the brokeness people have been seeing with "unicorn_rails"
and Rails 3 betas.
Even though "unicorn" works perfectly well for Rails3,