Displaying 20 results from an estimated 1100 matches similar to: "ṿῒạğřạ"
2012 Mar 22
1
[PATCH] make stderr_path/stdout_path support IO objects directly
---
lib/unicorn/configurator.rb | 2 +-
lib/unicorn/http_server.rb | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb
index 89cbf5c..c9b6816 100644
--- a/lib/unicorn/configurator.rb
+++ b/lib/unicorn/configurator.rb
@@ -559,7 +559,7 @@ private
def set_path(var, path) #:nodoc:
case path
- when
2011 Sep 15
0
SSL support pushed out to unicorn.git :x
Consider this a joke until somebody who knows crypto well can review it
(_and_ kgio-monkey[1]). I know it works with curl (test case included)
and I can''t see plain-text when I strace/tcpdump, that''s about it :)
Subject: [PATCH] add preliminary SSL support
This will also be the foundation of SSL support in Rainbows!
and Zbatery. Some users may also want to use this in
Unicorn
2011 Sep 06
1
Workers getting broken after some time
I have strange error that happens after couple of hours. Some instances
start to respond on any request with status code 500. Log file
unicorn.stderr.log gets populated with this error:
app error: undefined method `each'' for nil:NilClass (NoMethodError)
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.2/lib/rack/utils.rb:267:in
`initialize''
2012 Dec 08
0
unicorn 4.5.0 (final) - check_client_connection option
Changes:
The new check_client_connection option allows unicorn to detect
most disconnected local clients before potentially expensive
application processing begins.
This feature is useful for applications experiencing spikes of
traffic leading to undesirable queue times, as clients will
disconnect (and perhaps even retry, compounding the problem)
before unicorn can even start processing the
2011 Sep 03
0
Nightmare! - an nginx alternative for unicorn
This is a slow client buffering layer which may be used instead
of nginx to protect Unicorn from slow clients.
Nightmare! will _never_ beat nginx in raw throughput nor
performance. It /may/ be easier to setup than nginx and a
suitable alternative to Rainbows! for users who do not wish to
maintain a thread-safe/async-safe Rack application.
Code changes to the existing Unicorn codebase are
2009 Jul 01
0
unicorn 0.9.0 (experimental release)
Unicorn is a Rack HTTP server for Unix, fast clients and nothing else[1]
We now have support for "Transfer-Encoding: chunked" bodies in
requests. Not only that, Rack applications reading input bodies
get that data streamed off to the client socket on an as-needed
basis. This allows the application to do things like upload
progress notification and even tunneling of arbitrary stream
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
2010 Mar 01
0
unicorn 0.97.0 - polishing and cleaning up
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
2012 Feb 29
2
[PATCH] Start the server if another user has a PID matching our stale pidfile.
If unicorn doesn''t get terminated cleanly (for example if the machine
has its power interrupted) and the pid in the pidfile gets used by
another process, the current unicorn code will exit and not start a
server. This tiny patch fixes that behaviour.
---
lib/unicorn/http_server.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/unicorn/http_server.rb
2012 Dec 04
2
403 Forbidden from nginx when unicorn started in debug mode
I am using nginx with unicorn as a reverse proxy.
Has been fantastic, but needed to look through some code
for first time.
Using ruby 1.9.3p194 with rails 3.2.9, development mode with ssl enabled,
I start unicorn with -d
...and it does not get served up by nginx.
Any ideas, or more information needed?
Thanks!
Jet
Below is my unicorn.rb for developent:
# config/unicorn.rb
env =
2011 Jun 13
0
Unicorn.run method removed in unicorn.git
I don''t know if there are any folks wrapping Unicorn, but
I''ve removed the Unicorn.run method in unicorn.git as part
of an effort to reduce stack size (which will improve GC
performance and reduce the cost of generating (and examining)
backtraces.
You can replace:
Unicorn.run(app, options)
With:
Unicorn::HttpServer.new(app, options).start.join
This will be in the
2009 Nov 05
0
unicorn 0.94.0 - small fixes and new features
Unicorn is a 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
2009 Sep 19
0
[CFT] multi server failover setup
I''ve been meaning to test this setup somewhere for a while, but never
got the right app/(real) traffic/hardware to do it with. So maybe
somebody can try it out and let us know if this works...
It''s for applications running the same code/data on a cluster of
machines, so this doesn''t apply to the majority of low-traffic sites
out there.
The goal is to avoid having to
2013 Dec 12
0
Bad file descriptor on reload under Ruby 2.0
If you''re getting an EBADF (bad file descriptor) error when re-execing
Unicorn under Ruby >= 2.0 (see, e.g,
http://rubyforge.org/pipermail/mongrel-unicorn/2013-August/001858.html),
it''s likely that you''re re-running Unicorn via "bundle exec":
http://developer.zendesk.com/blog/2013/10/09/ruby-2-0-changes-exec-bundler/
The fix is to use a binstub for
2009 Sep 16
0
Rainbows...
Some of you may have noticed the "rainbows" branch of the git
repository. I may be changing that however and making a small group of
gems (or even one gem) that can get loaded at runtime and monkey patch
parts of Unicorn.
Rainbows will primarily be to support things Unicorn sucks at:
1. apps that rely on out-of-datacenter network connections
(CAPTCHA services, OpenID, real-time
2009 Oct 02
0
[PATCH] configurator: update some migration examples
We now give an example of how a before_fork hook can be used
to incrementally migrate off the old code base without hitting
a thundering herd (especially in the "preload_app false") case.
Also comment on the per-worker listen usage in the RDoc, not
just a hidden comment.
---
I just pushed this out earlier, this example was inspired by Chris
Wanstrath''s before_fork hook but
2009 Oct 09
0
unicorn 0.93.3 - OpenBSD compatibility
Unicorn is a 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 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 Aug 31
1
after_fork - ActiveRecord::AdapterNotSpecified
Hi all,
I''m fighting with the after_fork hook and my sinatra application. The Sinatra app is using active_record,
In my unciron.rb file I''m using
preload_app true
after_fork do |server, worker|
? defined?(ActiveRecord::Base) and
??? ActiveRecord::Base.establish_connection
End
but I always get the error:
ERROR -- : ActiveRecord::AdapterNotSpecified
2010 Oct 02
2
Unicorn doesn't reload the app after the HUP signal
Hi folks, I''ve experimented a problem while deploying my app, I''ve
sent the HUP signal to the master process, I''ve checked everything is
ok: new master and workers are spawned and the old ones are
killed(I''ve checked the PIDs), but the new code deployed isn''t
reflected in the living site, so I''ve to stop and start again unicorn
in order to see