Displaying 20 results from an estimated 20000 matches similar to: "mongrel cluster and rails cache."
2007 Sep 07
2
memcached and fragment storage, session storage with a mongrel cluster
Greetings,
I posted this not on the Rails mailing list and didn''t get a definitive
response so I thought I''d post it here, since I figure lots of you
are using
mongrel with Rails apps. Any suggestions would be greatly appreciated.
I''ve been using file-based fragment caching and DB-based session
caching quite extensively. I decided to try out memcached for both to
2007 Apr 03
2
mongrel cluster restart with capistrano fails but manually works
Hi all,
I am out of my head here...
I have a 3 node cluster with 10 mongrels running on each. When I
deploy, I break all the mongrels every time. I have tried just about
everything. I can restart my mongrels without a hitch manually, it''s
only when I use cap deploy. Maybe I am missing something here... so if
I can get some help it would be appreciated. The errors are the
typical mongrel
2007 Sep 07
3
Fails to restart mongrel cluster after Capistrano rollback (PIDs not deleted)
Hi,
I am deploying a Rails website using Capistrano to a VPS running the
site through Apache and Mongrel.
''cap deploy'' works fine, and mongrels are restarted. When I execute
''cap deploy:rollback'', however, my script fails to restart the
mongrels giving this error:
!!! PID file tmp/pids/mongrel.5000.pid already exists. Mongrel could
be running already.
2006 Nov 05
2
logrotate, mongrel cluster and monit
While I could figure this out, I''m asking here first to see if anyone
has already dealt with/created this. I''m running a mongrel cluster,
running 4 mongrels on ports 8001-4. I''m using capistrano to deploy.
And I''d like to use monit to check to make sure everything is running
nice.
I''d like to have monit restart only single mongrels if they fail, and
2007 Jun 15
1
mongrel cluster issues, plain old mongrel OK
I just created a test rails app, and am having very wierd issues with
mongrel cluster. Here''s what I''m doing:
rails test
sudo chown -R mongrel:mongrel test
cd test
sudo mongrel_rails \
cluster::configure -e production \
-p 8000 -N 3 -a 127.0.0.1 --user mongrel \
--group mongrel
It correctly writes the mongrel_cluster.yml file to the config
directory. Now,
2006 Nov 30
1
Restarting mongrel cluster from other directories
I want to restart my Mongrels from crontab
periodically to free up memory. I tried this:
[admin at mudcrapce ~]$ mongrel_rails cluster::restart -C
/var/www/apps/mudcrapce/current/config/mongrel_cluster.yml
Restarting 5 Mongrel servers...
mongrel_rails restart -P log/mongrel.3040.pid
!!! PID file log/mongrel.3040.pid does not exist. Not
running?
mongrel::restart reported an error. Use
2006 Sep 03
4
How many mongrel servers should I run in my cluster?
The company I work for is launching a new web site tomorrow.
News of our launch will be published in major publications throughout the
week so I want to make sure we are prepared for the load.
Production Environment:
HP Proliant server w/ 8GB RAM and dual AMD64 Opterons
Memcache is used as the session and fragment store (512MB for it)
MySQL is running on a seperate server in the same rack
We use
2007 Jul 19
0
xml builder cache (with a slight problem on initial load)
Let me give you the background. I am using rxml for a lot of my views
for a rails project. I also noticed that there is a lot of the XML
being dynamically generated on data that doesn''t change that often. I
worked on trying to cache the xml fragment that I needed but came to
the quick realization that cache only handle ERB/RHTML files. Needless
to say, I have spent some time creating an
2007 Aug 10
10
what is the correct way to stop/start a mongrel instance using monit with mongrel cluster
Hi --
I have been reading documentation and googling around to find the
correct way to do this but I have found many ways that seem to not
work, or the documentation makes no reference to.
I am using mongrel cluster with 10 mongrels for each server. Recently
I installed monit but which lead me to find the correct way to
start/stop mongrel instances one pid at a time. I am assuming one pid
at a
2007 Jan 29
8
Cluster 3 mongrel servers residing in different machines (Windows)
Hi All,
Machine A: has Apache 2.2 doing load balancing, also has DB and 8
mongrel processes I''m using mongrel_cluster . Now, I want to run
Mongrels on Machine''s B and C (ie Cluster 3 Mongrels in three
different machines). Is this possible? If possible then, please
describe me the steps required (I''m using windows machines, and
already losdt one week :-( )
Best
2007 Mar 13
5
Mongrel cluster with one app and many mysql databases
Hi All,
I am new to the mongrel mailing list and I have a question (and I didn''t
find any answer in the archives).
I have successfully installed the apache2.2 proxy balancer with mongrel
cluster and that works just fine.
For a single rails app I have started 2 mongrels which consume about
100M (ps says 5.0% for each and I have 1G RAM). It seems a bit much but OK.
However that would
2007 May 15
1
esi cache server built on mongrel
Hi all,
I just wanted to share a project I''ve been working on now for a few
months. It''s still far from complete, but has already been very useful for
me and my coworkers. I''m calling it mongrel-esi. ESI stands for Edge Side
Include. The specs live here, http://www.w3.org/TR/esi-lang. I currently
only have support for <esi:include, <esi:try,
2006 Aug 14
2
Mongrel Cluster 0.2.1- Last Call
Hi all:
Here''s a pre-release for mongrel_cluster to support current Mongrel
0.3.13.4 pre-release.
Changes:
- ''mongrel_rails cluster::restart'' now calls ''mongrel_rails stop'' and
''mongrel_rails start''. ''cluster::restart'' now accepts the ''force''
argument instead of ''soft''.
-
2007 Oct 03
5
403 (Forbidden) with Apache on Mongrel Cluster
Hi,
I''ve configured a rails application on my VPS to run on two
mongrels. When I run curl on localhost, the starting page comes up
fine. That is, mongrel is serving the app perfectly.
The problem arises when trying to access the app on my ip through
apache. I
get a 403 error. Just to test things out, I''ve set generous
permissions on the entire rails directory structure
2007 Jan 02
10
problems with apache 2.2 proxying to mongrel cluster
Hi all,
I''ve been having problems with the apache 2.2-mod_proxy_balancer-
mongrel setup.
My setup is:
CentOS 4.3
apache 2.2.3 (compiled from source) with mod_proxy_balancer
mysql 4.1
ruby 1.8.4
mongrel 0.3.14 (I know I need to update but I think this problem is
independent of the mongrel version)
mongrel_cluster 0.2.0
rails_machine 0.1.1
I have apache setup as per Coda''s
2007 Feb 02
1
Monit / mongel_cluster 0.2.2 / mongrel 1.0.1
Hi,
I''ve a few problems with my rails app at the minute, causing mongrels
in a cluster to die, while I debug I''ve setup monit to keep the site
running.
Problem is, whenever monit starts one of my mongrels via mongrel_rails
cluster::start --only 8000 --clean -C /url/to/yml/file I get the
following in my log/mongrel.log:
** Mongrel available at 127.0.0.1:8000
** Writing PID file
2007 Oct 18
0
Mongrel-users Digest, Vol 21, Issue 16
According to the mongrel_cluster.yml file you provided, you''re starting only
14 mongrels, but in your proxy balancer config you have 30 mongrels listed
on ports 21000 - 21029. In this scenario, if apache tries to proxy to any
ports higher than 21014 then you''ll get a proxy error as a mongrel doesn''t
exist on that port.
Or am I missing something?
-----Original
2006 Dec 04
1
Mongrel and Mongrel Cluster Library LoadErrors
Hello,
I''m a noobie to Rails and even more to mongrel. I have an issue with
one server that I''ve installed mongrel. Its a Fedora Core 5 box, and
it is having problems loading the Oracle OCI8 libraries. However,
this only occurs when I use mongrel_cluster, or mongrel with out the -
d switch. I have no problem using the library from the commandline
and with Webrick or
2009 Feb 18
1
Linux ps reports mongrel as [ruby18]
I''m running two sets of mongrels using mongrel 1.1.4, one for production
one for staging. When executing ''ps'' from a linux shell, the production
mongrels report as expected, however the staging processes are listed as
[ruby 18]. The result seems to be that mongrel_rails cannot stop the
staging processes because it doesn''t recognize [ruby18] as a mongrel
2007 Sep 17
4
Mongrel clusters are not being started on reboot
I''ve done a clean install of Ubuntu 7.04 server in 2 different
machines and everytime I reboot the machine or manually run /etc/
init.d/mongrel_cluster restart/start the mongrels won''t start correctly.
I have to manually start them by using mongrel_rails cluster::start
from each app folder. I''ve been searching around and it looks like
mongrel has some problems