Displaying 20 results from an estimated 1000 matches similar to: "stop/start workers "by need""
2012 Mar 01
3
murdering high-memory workers and auto-scaling
Two ideas, one more controversial than the other.
First: auto-killing bloated workers.?My current app has some memory
leakage that wasn''t really visible on our older passenger setup, since
the auto-scaling meant that bloated workers got killed periodically.
In a perfect world, we''d find and patch all of the leaks, but in the
meantime (and as a safety net) I''d like to get
2012 Nov 29
13
Fwd: Maintaining capacity during deploys
We''re using unicornctl restart with the default before/after hook
behavior, which is to reap old Unicorn workers via SIGQUIT after the
new one has finished booting.
Unfortunately, while the new workers are forking and begin processing
requests, we''re still seeing significant spikes in our haproxy request
queue. It seems as if after we restart, the unwarmed workers get
swamped by
2011 May 19
2
unicorn doesn't restart properly after cap deploy (not using Bundler)
Hey guys,
I''m sending USR2 to unicorn after cap deploy, and the old master is
getting replaced by a new master that doesn''t work.
Here are some similar threads I found ...
http://rubyforge.org/pipermail/mongrel-unicorn/2010-October/000733.html
http://rubyforge.org/pipermail/mongrel-unicorn/2010-October/000717.html
I''m not using Bundler, and I have working_directory
2013 Feb 07
5
does unicorn fork like phusion?
Does unicorn work like phusion in that it automatically forks based on
traffic levels?
Or is that what thin does also?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
2011 Sep 30
3
Multiple rack applications on the same server with unicorn
If I''m running two rails apps on the same server using Unicorn, I have
to run two instances of Unicorn, right?
If so, then here''s a place where passenger might win in terms of
memory use, as the rails code will be loaded into memory twice, right?
I''m still probably going with Unicorn, but just exploring this first.
Thanks,
John
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,
2012 Apr 12
8
Background jobs with #fork
Hi
I''ve migrated from Passenger to Unicorn about a week ago. It''s great.
Great transparency and management, thanks for this great software!
A few of my Rails applications start background jobs using
Kernel#fork. Of course, the ActiveRecord connections are closed and
reopened again in the parent and child processes. The child process
also does its job.
Unfortunately, it seems
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 Sep 15
19
Rails 3 with Mongrel possible?
After much fiddling and googling, it seems to me that Mongrel, even the
1.2.0pre2 release is not compatible with Rails 3 -- is that true?
When I start up a new Rails 3 project (i.e. one fresh after a
`rails new` command), mongrel appears to start (creates a pid file, and
reports no errors on the CLI), but the app does not load in the browser
and I find this in the mongrel.log
2009 Feb 11
16
Unicorn: UNIX+localhost/LAN-only Mongrel fork
Hello all,
Last week, I finally decided to put into motion some ideas I''ve been
kicking around for a year in my head since last year...
Basically I don''t want to have to deal with threads or support platforms
that rely on or encourage threads. Especially given MRI 1.9 where
kernel threads are more difficult to debug than green ones.
Given the limited scope of this project,
2006 May 08
2
samba as a dc
Hello!
I want to connect computers with windows xp (pro/home) to a one computer
linux (with samba). I want to every user who want to use his/her account
data may use any of the computers in the office and have theys personal
data (in any pleace in the office) (domain or something, i don't know). I
have a little problem with a how to plan and configure all of
that and i am thinking if it
2012 Jun 27
3
Unicorn workers under Monit
Hi there,
I would like to config Monit to monitor our production-unicorn-workers
What memory size would you recommend to be the maximum reachable for a worker? so Monit can restart it.
Thanks a lot !
Manuel Palenciano
2018 Sep 28
2
Fatal: setgid, imap connections dropped.
Hi,
I'm getting errors with my IMAP setup.
Basically, everything seems to work.
Mail is delivered nicely from Postfix to Dovecot via LMTP. Dovecot does
the authentication to LDAP (also for Postfix). Users are able to send mail
via authenticated submission (Postfix) and login into IMAP and POP.
However, IMAP connections are dropped frequently with an "ERROR:
Connection dropped by IMAP
2011 Dec 08
5
Master repeatedly killing workers due to timeouts
Hi,
We''re using unicorn as a Rails server on Solaris, and it''s been
running great for several months. We''ve recently been having a few
problems and I''m at a loss what might cause it. A number of times in
the past few days, our unicorn slaves keep timing out & the master
keeps restarting them. unicorn.log looks something like :
E,
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''
2011 Jul 18
1
Installing USB driver
Hello everyone,
Pleace can any one tell me how I can install an USB driver into Wine.
I want to connect to my burglar alarm with "Comlink". But "Comlink" only works with Windows and the USB driver is not checked for windows.
When I install Comlink on a windowsmachine everything works.
please can anyone help me
Boswolf
2012 Sep 18
3
Nginx + Phusion Passenger 3 problem with "504 Gateway time-out"
Hi,
I have a Rails 3.2 app. There is a specific request that takes a long
time to execute. The context is, the user uploads a pdf, and then we
have some processing through carrierwave + rmagick that generate a
jpeg from the first page of the document. Everything works in dev mode
using both webrick and thin. The problem happens on the prod
environment with Nginx + Passenger.
The request takes a
2004 Jan 30
2
Can Asterisk act like a normal sip phone?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everyone,
I'm relatively new to the subject - so pleace don't punish me for
idiotic questions. ;-)
Can Asterisk act like a normal Sip phone and e.g. connect to another
sip-gateway? Background: There is a new german company at:
http://www.sipgate.de (sorry German only page)
They offer a a gateway between a real telephone number and
2003 Apr 17
5
AppleTalk(netatalk)+Samba
Hi folks,
is anybody using those two products together and can give me any advice
on how to do this? My specific issue has been addressed in other posts
before, but as nobody responded, it would just now be interesting if
anybody at least uses those applications together successfully?
greets Malte
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