Displaying 20 results from an estimated 3000 matches similar to: "While we're on the topic"
2009 Oct 13
7
Unicorn Nginx Issue
I''ve setup nginx with this
server {
listen 80;
server_name unicorn.local;
location / {
proxy_pass http://unicorn;
}
}
upstream unicorn {
server unix:/Users/mattmongeau/projects/test/unicorn/tmp/sockets/unicorn.sock;
}
When I run unicorn_rails -c config/unicorn.rb -E development I can
access the application just fine on unicorn.local
When I run unicorn_rails -c
2006 Jun 22
18
Ruby on Rails Live CD
I''m pleased to announce the initial release of the new Ruby on Rails
LiveCD Linux Distribution. http://www.railslivecd.org
The RailsLiveCD offers most of what an average Rails developer needs
right out of the box! That includes :
Ruby 1.8.4
Rails 1.1.2
Capistrano 1.1.0
Mongrel 0.3.13
Rake 0.7.1
Subversion
MySQL 4.1.12
MySQL Administrator
RadRails
KDevelop
Kate
and many many others!
2012 May 14
2
unicorn <3
hey, i am a big unicorn fan -- i have been running it in production
since
late 2010, and it is happily handling (literally) billions of backend
requests
for a popular facebook game.
i also <3 unicorns in general ..... so i decided to make an awesome t-
shirt,
sporting the "Angry Unicorn" that you may remember from github error
pages.
i hope some of you might like it as well:
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
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 Aug 20
14
A barrage of unexplained timeouts
We''ve been running unicorn-3.6.2 on REE 1.8.7 2011.12 in production for quite some time and we use monit to monitor each unicorn worker. Occasionally, I''ll get a notification that a worker has timed-out and has been re-spawned. In all these cases, when I look at the rails logs, I can see the last request that the worker handled, and they all have appeared to complete
2013 Mar 01
7
Why so many worker threads?
Hello!
Can anyone explain why my Unicorn installation (for RoR site) have so
many worker threads?
* screenshot: http://i.stack.imgur.com/U9TFR.png
* unicorn.rb: https://gist.github.com/907th/4995323
Thanks!
2012 Feb 17
2
Bug in unicorn_rails when Encoding.default_internal is set
Hi,
We recently made the switch to 1.9 for our large rails 2.3.14 project
and ran into some strange behavior from the unicorns where encoding
problem would cause blank 500 pages to be "randomly" served to users
(we run ~10 x 5 unicorn workers behind our load balancer). We found
that unicorn workers were dying when someone requested a url with
utf-8 in it, and died in such a way that
2014 Dec 29
2
Webradio directory
Hi guys,
I'm running "Radio Unicorns" for one year now, transmitting live
coverage of one of Germanys best american football teams, the Schw?bisch
Hall Unicorns. Technically, it's a root server running freebsd and the
latest icecast. I had up to several hundred concurrent listeners this
year and had the server tested up to 2000 listeners (had to tweak a few
kernel
2024 May 10
1
kinit failure
Hi
Due to putting a DVD in my Virtual Machine Host Computer which then filled the logs with errors and subsequently filled the drive crashing all vms.
Luckily I had a backup of the DC image which I restored and some machines just worked and some can?t find KDC
kinit: Cannot contact any KDC for realm 'BALEWAN.UNICORN.COM' while getting initial credentials
I have tried leaving the domain
2024 May 10
1
kinit failure
On Fri, 10 May 2024 23:19:32 +1200
"Samba @ Pegasusnz via samba" <samba at lists.samba.org> wrote:
> Hi
>
> Due to putting a DVD in my Virtual Machine Host Computer which then
> filled the logs with errors and subsequently filled the drive
> crashing all vms.
So, to all intents and purposes, your domain was dead.
> Luckily I had a backup of the DC image which
2012 Dec 05
3
Fwd: Issue starting unicorn with non-ActiveRecord Rails app
Hi,
I''m trying to use unicorn in a test deployment of a Rails app that
uses Mongoid, so Activerecord isn''t included in the app. When I start
unicorn through Capistrano though, the stderr log fills up endlessly
with identical ActiveRecord-related errors:
I, [2012-12-05T04:19:25.375952 #5096] INFO -- : Refreshing Gem list
I, [2012-12-05T04:19:32.941249 #5096] INFO -- :
2013 May 20
2
Unicorn + RUnit Rails Not Killing Old Master
Hi,
I''m deploying Unicorn on a Rails application with RUnit. Technically
I''m using Chef''s deployment tools, if any of you are familiar with it
(https://github.com/opscode-cookbooks/application_ruby) but to be clear
they aren''t doing anything magical, so this is purely an issue with
RUnit and Unicorn.
The TL;DR of the following post, which has lots of
2013 Dec 09
2
[PATCH] rework master-to-worker signaling to use a pipe
Signaling using normal kill(2) is preserved, but the master now
prefers to signal workers using a pipe rather than kill(2).
Non-graceful signals (:TERM/:KILL) are still sent using kill(2),
as they ask for immediate shutdown.
This change is necessary to avoid triggering the ubf (unblocking
function) for rb_thread_call_without_gvl (and similar) functions
extensions. Most notably, this fixes
2013 Aug 23
5
Ruby 2.0 Bad file descriptor (Errno::EBADF)
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)
from /hello/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:746:in `block in inherit_listeners!''
from
2013 Oct 25
2
[PATCH] support SO_REUSEPORT on new listeners (:reuseport)
This allows users to start an independent instance of unicorn on
a the same port as a running unicorn (as long as both instances
use :reuseport).
ref: https://lwn.net/Articles/542629/
---
lib/unicorn/configurator.rb | 19 +++++++++++++++++++
lib/unicorn/socket_helper.rb | 30 ++++++++++++++++++++++--------
test/unit/test_socket_helper.rb | 8 ++++++++
3 files changed, 49 insertions(+), 8
2013 Sep 20
3
[PATCH] preload_app can take an optional block for warmup
---
lib/unicorn/configurator.rb | 19 ++++++++++++++++---
lib/unicorn/http_server.rb | 3 +++
test/unit/test_configurator.rb | 8 ++++++++
3 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb
index 0d0eac7..a0ae576 100644
--- a/lib/unicorn/configurator.rb
+++ b/lib/unicorn/configurator.rb
@@ -441,9 +441,22 @@ class
2010 Sep 09
4
Unicorn fails to restart gracefully on capistrano deploy
First off thanks very much for all the hard work on unicorn. Alas, we''ve encountered an issue where unicorn fails to spawn new workers that have loaded the incoming revision on a capistrano deploy. I''m not entirely sure the issue is due to unicorn as it appears that bundler was responsible for a similar issue in the past:
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 =
2013 Nov 05
4
Handling closed clients
We have a service that clients use to upload files. We have a couple of clients that are on slow links and so their upload times out. We get errors in the logs that I''d like to get rid of.
I was hoping that the recent commit 24b9f66dcdda44378b4053645333ce9ce336b413 would help us, but it does not. After digging in a bit, I have some ideas about why and a patch I''d like comments