Questions tagged [mongrel]

37 questions
5
votes
2 answers

How to decide the optimal number of ruby thin/mongrel instances for a server, number of cores?

We are trying to deploy mongrel instances on a machine. What is the optimal number of mongrel instances for a server? Since an instance can handle concurrent connections, I do not see any benefit in starting more than 1 per core. Any more than…
Amala
  • 529
  • 2
  • 14
4
votes
3 answers

SSL/HTTPS help with regards to Mongrel?

I have been looking all over and either I can't find anything or I can't find anything that works... so here I am. How can I go about setting up SSL/HTTPS with regards to Mongrel? Thanks in advance!
Tom
  • 161
  • 4
3
votes
1 answer

Mongrel over mod_proxy unacceptably slow

Here is the situation C:\>ab -n 100 -c 5 http://webserver/track/ This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation,…
Monban
  • 155
  • 1
  • 9
2
votes
2 answers

How do I start mongrel_cluster and Ferret DRb servers at boot on CentOS 5.2?

I have followed this CentOS 5.2 Mongrel Cluster tutorial for starting mongrel_cluster at reboot on CentOS 5.2. However, I have to manually start mongrel_cluster at reboot. Since that didn't work, I followed the advice in Set up Mongrel as a service…
Pete
  • 345
  • 1
  • 4
  • 10
2
votes
2 answers

How to run rails and LAMP simultaneously on ubuntu?

I just set up a virtual machine running Ubuntu Server, with a LAMP stack and OpenSSH installed. What now would be the best way to enable that server to run both rails and PHP applications? Would it be best to virtualise the two servers on the host…
Alex Coplan
  • 575
  • 1
  • 10
  • 18
2
votes
1 answer

Passenger on Apache2 - how to make a site appear on root

I'm new to apache2 and passenger to set-up rails apps and followed a tutorial on how to get redmine (rails app) set up (http://xdissent.com/2010/05/04/github-clone-with-redmine/). It all works great but to access the app you need to go to the…
Adam
  • 145
  • 6
1
vote
1 answer

Does Mongrel do IPv6 well?

I'm using mongrel + apache 2.2 + mod_proxy_balancer. apache2.2 is IPv6 well http://httpd.apache.org/docs/2.2/en/bind.html#ipv6 Does Mongrel do IPv6 well?
freddiefujiwra
  • 1,627
  • 5
  • 25
  • 32
1
vote
1 answer

Problem posting multipart form data using Apache with mod_proxy to a mongrel instance

I am attempting to simulate my site's production environment as closely as I can on my local machine. This is a rails site that uses Apache w/ mod_proxy to forward requests to a mongrel cluster. On my Mac OSX Leopard machine, I have the default…
Ryan E
1
vote
1 answer

Query related to production environment

I have configured my production environment with the following details: 1. Three config server 2. Two routers (`mongos`) 3. Two shards of three node replica sets. My question is: I am trying to connect to the sharded database with the help of the…
1
vote
1 answer

Installed mongrel2 via homebrew, can't find config.sqlite

I hope this is the right site to ask this, I wasn't sure if here or superuser was more appropriate. I've installed mongrel2 via Home Brew, which installed it to: /usr/local/Cellar/mongrel2/1.7.5 However, I am stuck with configuration using m2sh as…
Greg K
  • 169
  • 3
  • 12
1
vote
2 answers

Deployment of Rails app with nginx and mongrel cluster on ubuntu 10.04 LTS

I installed mongrel cluster and nginx module for it on to my virtual machine. The working environment is ruby 1.9.2 rails 3.0.6 rubygems 1.7.2 mongrel_cluster 1.0.5 mongrel 1.2 When I start the mongrel cluster, it throws me the following…
Nivi
  • 11
  • 3
1
vote
1 answer

Apache/Mongrel/Redmine installation problem (VirtualHost/ProxyPass)

I am installing Redmine as per this step-by-step instruction: http://justnotes.co.cc/2010/02/11/how-to-install-redmine-on-ubuntu/ I am using Ubuntu 10.04.1, Apache 2.2.14, Mongrel 1.1.5. On the VirtualHost configuration stage, I am using…
1
vote
1 answer

RubyGem issue with mysql

I'm a little confused... I have Rails 2.3.2 running on my server after upgrading from 2.1.1 I get the following error on my mongrel clusters when they try to start: Exception `Gem::LoadError' at /usr/lib/ruby/site_ruby/1.8/rubygems.rb:578 - Could…
1
vote
1 answer

Apache / Mongrel / Rails Serving Two SSL Certificates?

Is it possible for Apache (2.0) to serve up two SSL certificates when Mongrel and Rails are involved? Here's the situation... I've got a server with two sites on it: foo.com and bar.com. Both have self-signed SSL certificates (from GoDaddy) and both…
ddb
  • 21
  • 3
1
vote
1 answer

Puppet keeps trying to install mongrel

I'm using Puppet to administrate my servers and one of the things I'm doing is installing Mongrel from the Gem: package { mongrel: provider => gem, ensure => latest, require => Package[rubygems], } but it seems there's some issue because…
Pablo
  • 7,249
  • 25
  • 68
  • 83
1
2 3