similar to: does unicorn fork like phusion?

Displaying 20 results from an estimated 10000 matches similar to: "does unicorn fork like phusion?"

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
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
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
2012 Mar 29
2
Rails 3.2 and Streaming using response_body
I am working on a streaming download (CSV) from Rails 3.2 and am coming up against an issue of the initial page request taking a long time. The following controller code illustrates my issue: self.response_body = Enumerator.new do |y| 10_000_000.times do y << "Hello World" end end With the above, the response does seem like its streaming
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,
2010 Nov 09
2
AMQP and Unicorn (mq gem)
Hi all, I''m having issues with Unicorn and connecting to RabbitMQ using the tmm1-amqp gem. I''ve tried lots of approaches. The classic initializer with Thread.new { EM.run } for the Rails app and even tried using the Qusion library. (https://github.com/danielsdeleo/qusion) I''ve made a simple mod to Qusion for it to monkey patch unicorn too. The code looks
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
2010 Oct 29
2
stop/start workers "by need"
Hello to everybody. I making shared hosting for rails and rack applications. For app. server i userd phusion passenger, but after some issues with that, want to migrate to unicorn. Is there any way to make unicorn stop all workers and start them on first request? It''ll be really great to have this opportunity. >No subscription is needed to post to the mailing list, let us know
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,
2009 Jun 09
8
Ui Designing with Rails opposed to PHP
Why are there more web design users using PHP instead of using Rails? Is there an advantage using PHP over Rails? Thanks -- Posted via http://www.ruby-forum.com/.
2011 Jan 17
6
Can't install mongrel with ruby 1.9.2p136
Hi, I''m getting this error message when I try to install Mongrel with "gem install mongrel" on Windows 7 x64 gem install mongrel Successfully installed mongrel-1.1.5-x86-mingw32 1 gem installed Installing ri documentation for mongrel-1.2.0.pre2-x86-mingw32... Installing EDoc documentation for mongrel-1.2.0.pre2-x86-mingw32... ERROR: While executing gem...
2010 Oct 03
4
Error Running Rails 3 Application under Phusion Passenger
I have a rails 3 application that runs without problems under WebRick (on Ubuntu) that generates the following error in the browser when I run under Apache2 with Phusion Passenger: Ruby (Rack) application could not be started Error message: no such file to load -- bundler Exception class: LoadError I have googled and found one or two posts with this problem but none with solutions.
2011 Apr 20
11
Mac Phusion Passenger Pane not working
I have a feeling that this is something centered around my apache/Passenger configurations but everything seems to check out. Another off the hand problem I''m having, and might be a clue is w/ my Passenger Pane. I installed the Phusion Passenger Pane and every time I try to add an entry, I get this error: "Your changes couldn’t be saved See the Console log for details."
2013 Nov 23
1
Puppet 3x Debian Wheezy and Phusion Passenger
Hello, I''m trying to install puppet-dashboard with Phusion Passenger. It seems to be a bugs or unsupported ruby 1.9 libraries I don''t understand why puppet debian packages depends to ruby gem 1.9.1 and 1.9.3 who doesn''t work Is somebody realize this installation without problems ? And why are we can''t fix this issue ?
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
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
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
2012 Aug 01
1
Rails app hosting in Network solution
Hi everyone, I don''t know how host to Ruby On Rails app in network solution. I uploaded file in "/var/www/vhosts/default/htdocs/rails/app-name". I also used haml in my rails application. Can any one help me.... :) Thank You! Saravanan.P -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group,
2013 Apr 01
1
Revisiting deployment on a dedicated server
I''m in the midst of a few new Rails deployments as well as being tasked to revise an existing older deployment to help improve performance. So, I''m wondering what sort of setup is preferable these days for a dedicated server? The basics I''m aiming to start with are the latest CentOS/RHEL, PostgreSQL, Ruby 2.x, Rails and Apache. Is Passenger still the way to go these
2012 Oct 29
16
Newbie - deployment, hosting
Hello, So, after learning ruby on rails and building a great app on my local machine, I need to find a host, deploy, and of course maintain a (staging and) production environment. This all seems very confusing, and I''d like to learn this in an organized manner, step by step: I''ve come across the names: Unicorn, nginx/apache, capistrano, Thin/mongrel, Engine Yard, EC2, etc.,