Questions tagged [mongrel-cluster]

mongrel-cluster is intended for questions related to the deployment of multiple mongrel servers on the same machine

mongrel_cluster is a rubygem intended to group mongrel servers in order to facilitate the configuration and administration of multiple mongrel instances on the same machine.

References

26 questions
8
votes
3 answers

mongrel_rails - programatically report which port it's running on

On my local machine, i run rails with mongrel. I have some stuff which runs when it starts, via a file in config/initializers, which uses puts to tell me which database it's using, what is being used to send emails, and a few other bits of…
Max Williams
  • 32,435
  • 31
  • 130
  • 197
2
votes
1 answer

Most Resource-Efficient Way to Deploy Multiple Rails Apps on a Single Server

I have a Virtual Dedicated Server that I use to host small websites that aren't large enough to justify their own dedicated slice. I am a Rails developer and am currently using an Ubuntu/Nginx/Mongrel Cluster/SQLite stack to deploy these…
LGFaler
  • 126
  • 1
  • 10
1
vote
1 answer

Running mongrel_rails cluster::start on Windows

I have managed to get mongrel_cluster running on my Windows server (v 1.0.5) ok, but I am having trouble trying to get it to spawning all of the (4) mongrel instances. It launches the first one ok, but then does no more. That one instance serves…
Ash
  • 24,276
  • 34
  • 107
  • 152
1
vote
4 answers

mySQL "Too many connections" error influenced by number of mongrel instances?

Recently I have started getting mySQL "too many connection" errors at times of high traffic. My rails app runs on a mongrel cluster with 2 instances on a shared host. Some recent changes that might be driving it: Traffic to my site has increased.…
Ed Haywood
  • 335
  • 2
  • 9
1
vote
2 answers

start mongrel server in terminal

If I start mongrel the error will come. What can I do? Tell me another way to start Mongrel please... $script/server mongrel => Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails 2.2.2 application starting on…
kingston
  • 11
  • 1
  • 6
1
vote
3 answers

Do I really need to setup a mongrel cluster to handle this?

So my father runs a rather small business. I'm going to set him up with a website using RefineryCMS (that's a ror-based cms).. He will probably get less than 500 hits a month. Do I really need to set up mongrel cluster for this as about every…
mva
  • 11
  • 1
1
vote
2 answers

Apache + Mongrel Cluster = Wrong server config!

I'm trying to get Ruby on Rails going on a Windows 2003 Server. I've installed the Mongrel service and Apache (and RoR, etc). When I serve an app using just Mongrel, everything comes up perfectly. So, now I am down to the Apache configuration... …
Mr Mikkél
  • 2,577
  • 4
  • 34
  • 52
1
vote
1 answer

nginx + SslRequirement + mongrel cluster = infinite redirect loop

I'm getting an infinite redirect loop after adding SSL support to my site. I'm using the "SslRequirement" plugin. The symptoms I'm seeing are, any action that has "ssl_required" enabled, and any URL I type in manually that has https at the front,…
jefflunt
  • 33,527
  • 7
  • 88
  • 126
1
vote
1 answer

Ruby on Rails: How do I detect a specific mongrel instance in a cluster during startup?

We run an application with a half dozen mongrels. A new feature that we've added is a scheduler (rufus-scheduler) that runs within a mongrel and provides cron-like background task processing. We want ot run this scheduler on only one of our…
MisterFine
  • 11
  • 1
1
vote
0 answers

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
  • 226
  • 2
  • 4
1
vote
0 answers

Use the command "mongrel_rails start -d " to start the ROR project, but get some error

I started to learn Ruby yesterday. I used the command mongrel_rails start -d to start my Ruby on Rails project but it failed: > F:\PlayRuby\hello>mongrel_rails start -d C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in…
diguage
  • 387
  • 4
  • 19
1
vote
1 answer

Render Word Document from Remote Server using WIN32OLE in ruby on rails

When i am using win32ole as stand alone application at that time everything seems working fine, as soon as i put into my rails application which is running on mongrel server it goes into infinite loop. I am trying to access…
0
votes
1 answer

Mongrel does not use the full CPU power on Windows 2003 server

I have a deployment using: rails 2.3.2 ruby 1.8.7 mysql db and 3 mongrel instances (windows services) with apache as load balancer [I know it is due for upgrade...] OS: Windows2003 We have many CPU intensive tasks and when these occur on the 4 core…
Linus D
  • 3
  • 2
0
votes
2 answers

Mongrel clusters are running parallel on windows

I have setup my rails application on windows With Mongrel application server and Apache Web server . I have defined the 10 cluster for mongrel to handle the request properly . When I make any request that has heavy db operation or that require time…
Vik
  • 5,931
  • 3
  • 31
  • 38
1
2