Questions tagged [mongrel]

37 questions
0
votes
1 answer

Mongrel cluster returning page source

I've setup a mongrel_rails cluster which worked correctly until I decided to reinstall ruby/rails/mongrel. I'm able to get an output when I visit the website, but I'm obtaining the page source instead of a parsed html file... From what I understand,…
tomzx
  • 163
  • 9
0
votes
2 answers

Start mongrel on system startup?

I have a script called mgrst that restarts mongrel for me: cd /opt/redmine /usr/local/bin/mongrel_rails cluster::stop rm -rf tmp/pids/* /usr/local/bin/mongrel_rails cluster::start I am calling this with a line in rc.local: /usr/bin/mgrst…
Joshua Enfield
  • 3,454
  • 8
  • 42
  • 59
0
votes
2 answers

Monitoring mongrel with monit

I wrote a monit.d file for mongrels which works in this version: check process redmine with pidfile /home/redmine/service/redmine.pid group webservice start program = "/usr/bin/mongrel_rails start -p 41328 -e production -d --pid…
user12096
  • 927
  • 6
  • 23
  • 39
0
votes
1 answer

Trouble with mod_proxy and mongrel_rails

I'm trying to set up a mod_proxy - mongrel combination, but somehow, apache/mod_proxy is unable to access mongrel locally. The following is my configuration for mod_proxy: ProxyRequests Off ProxyPreserveHost On ProxyPass…
fresskoma
  • 1,343
  • 1
  • 10
  • 13
0
votes
4 answers

Starting and stopping Mongrel service over SSH on Windows Server 2003

I have a Rails app running under mongrel as a windows service on a Windows Server 2003 installation. I'd like to automate deploying new versions of the app from my Ubuntu dev server. Cygwin is installed on the Windows server for this purpose. I…
cpm
  • 143
  • 2
  • 5
0
votes
2 answers

Second server instance (for static files) on a standard host?

Serving static files from an independent host from the rest of my website is supposed to improve performance. I'm cheap, so I was wondering if I can do that within one standard hosting service. Thoughts?
montooner
  • 421
  • 1
  • 3
  • 12
-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
1 2
3