Questions tagged [mongrel-cluster]

9 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
2
votes
3 answers

How can I distribute 1 application between 2 servers

HI I have an Email Marketing Rails application running on a CentOS QuadCore 16GB RAM server. But currently our webserver is taking too long to respond to requests on rush hours (Mongrel Cluster + Apache ). We monitoring it using ScoutApp (…
Newtonx
  • 295
  • 1
  • 4
  • 11
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

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

Apache as Proxy to Mongrel. PHP not parsing

I've defined the following config to proxy Apache traffic to Mongrel to run Redmine. At this point all the php scripts are now downloaded by the browser instead of being parsed. Once I remove this config every thing goes back to normal. Is there…
sLk
  • 11
  • 1
1
vote
1 answer

Mongrel Cluster on Ubuntu Server Karmic

I am trying to get mongrel cluster working on my Ubuntu Server Karmic box in preparation to setup Capistrano. I've been trying to get the two to work all day and finally decided to completely remove Capistrano and see if I can just get Mongrel…
trobrock
  • 227
  • 2
  • 9
0
votes
2 answers

Unexplained spike in web traffic

Question I am suspicious of an unexplained 1600% increase in traffic and massive slow-down that lasted about 10 minutes. I'm not sure if it was an attempted DoS attack, dictionary login attack, etc. Regardless, what actions should I take to…
Pete
  • 345
  • 1
  • 4
  • 10
0
votes
1 answer

Apache Clustering via mod_proxy_balancer

I am using a load balancer to server a cluster. I can't get it to function. LoadModule authz_host_module modules/mod_authz_host.so LoadModule mime_module modules/mod_mime.so LoadModule dir_module modules/mod_dir.so LoadModule…
Joshua Enfield
  • 3,404
  • 8
  • 41
  • 58
-1
votes
1 answer

Sending USR2 to mongrel_rails sometimes results in an “Address already in use” on the restart

We have a rolling-restart mode for our mongrel cluster that sends a USR2 signal to each running process. This works great, most of the time. But very occasionally the mongrel process will shutdown, and then fail to restart, with the following…
Ben