Displaying 20 results from an estimated 5000 matches similar to: "Scaling Rails with Apache 2.2, mod_proxy_balancer and Mongrel"
2006 Aug 04
5
Mongrel Cluster Compatibility
Is anyone using ferret with Mongrel/Mongrel-cluster?
The first one or two times I access the ferret index it works fine, but
then it throws a write lock error
StandardError (: Error occured at <index_rw.c>:703
Error: exception 6 not handled: Could not obtain write lock when trying
to write index
):
I need to do more testing on this to narrow down the problem/solution
but just wanted to
2007 Aug 26
5
Issues with mod_proxy/mod_proxy_balancer and my ded. server host
Hello list,
I wonder if someone could help me understand the following:
I''ve got a managed dedicated server with GoDaddy. Until now, I''ve only
hosted PHP applications there. I now need to set it up to host my new
beloved Rails application. I asked them to set up apache with
mod_proxy_balancer for the mongrel cluster, however, here''s what they told
me:
*Unfortunately,
2006 May 08
10
Apache 2.2, ProxyPass and HTTPS
Hi all,
I''m currently trying to get Mongrel running my app whilst fronted by
apache 2.2 in a sub-directory via https. A bit convoluted I''ll grant
you but necessitated by existing systems.
The pertinent parts of my httpd.conf:
<VirtualHost 123.123.123.123:12345> #historic choice of random port number
DocumentRoot /var/www/admin
ServerName admin.example.com:12345
2006 Apr 12
3
Apache 1.3 + remote FastCGI balancing
Cheers,
As I have a lot of stability problems with Lighttpd + FastCGI-Cluster I
wanted to test Apache 1.3 as most of the "big" sites like 43people or
BaseCamp run on it.
Every example I find only talks about lokal FastCGI processes and not
about remote ones and explains how the requests are balanced.
Are there any good examples out there and can Apache1.3/mod_fastcgi load
balance
2006 May 02
4
recommended setup of Mongrel_cluster + SSL for multiple apps?
I''d like to use Mongrel_cluster with SSL on a green-field application (it
can be configured however is best - initially, "ease of setup" is important,
but then soon after will be scaling and response time). I''ve read a lot of
emails on this topic, and checked out the Mongrel pages, etc, but I''m left
with this question of what is recommended:
For a
2006 Jan 13
4
Flash not cleared with ActiveRecord session store
Cheers,
I''ve stumbled over a bug with 1.0 and ActiveRecord store for session
while migrating from pstore sessions.
I created the table with `rake create_sessions_table` and set
`config.action_controller.session_store = :active_record_store` in
environment.rb.
Everything runs fine except that the flash messages will not be cleared.
I get the same message everytime on everypage I
2007 Feb 26
2
Apache+mod_proxy_balancer+Mongrel+Mephisto, Apache kills CPU
Our Mephisto install kills Mongrels and causes Apache to pound the
CPU. This started when we moved to Apache+mod_proxy_balancer+Mongrel.
Here''s what we know:
The following things are working OK, except when used in the
combination listed above: mongrel, mongrel_rails, MySQL, Apache,
mod_proxy_balancer. We believe these are all OK because we moved five
other Rails apps to this
2006 Apr 07
2
Prototype 1.5.0_rc0 breaks my Form.serialize
Cheers,
Prototype 1.5.0_rc0 breaks backwards compatability with this diff in
Form.Element.Serializers:
http://dev.rubyonrails.org/changeset/4147
I have explicit value="" in my options and now I get the text submitted.
E.g.
<select id="foo">
<option value="">Please select a value</option>
</option value="1">Nr.
2006 May 28
10
Drag''n''Drop out of overflow:auto containers
Cheers,
I have some elements inside a div with overflow:auto. When I trie to
drag them outside of the div, the div starts to scroll. Is there a way
to stop this behaviour for drag and drop?
I thought of maybe using callback to disable the overflow and restoring
it againg after the drop. Did someone implemented something like this?
Thanks,
Jonathan
--
Jonathan Weiss
2006 Jul 27
3
[somewhat OT] Apache config for Rails + ColdFusion + PHP
Our group has several web apps developed in ColdFusion, PHP, and Rails. The
ColdFusion and PHP apps are on an older server, and the Rails apps on a new
server. Ideally, we''d like them all to share the same server.
Our current setup for the Rails server is Apache2.2 with mod_proxy_balancer
and mongrel_cluster. We''d like to have specific directories be processed
and served by
2006 May 19
12
Mongrel/Apache and static content
I''m looking for an easy way to have mongrel only serve dynamic railscontent, while letting Apache serve non-Rails content. Unfortunately,it seems that you have to segregate the static content in its ownfolder. That was also the case with the SCGI runner. I used thetrick outlined athttp://comments.gmane.org/gmane.comp.lang.ruby.rails/23347 to managethis. I was curious if a similar
2007 Jun 28
4
Apache: mod_balancer vs. mod_proxy_balancer
I''m trying to setup a mongrel cluster. I''m relying on information
collected from a number of sources but I''m relying heavily on
http://mongrel.rubyforge.org/docs/apache.html.
I have noted that a number of sources mention the necessity of having
the mod_balancer module installed in Apache. However, my primary
source makes no mention of this; but instead, mentions only
2006 Jan 09
4
Problem with habtm and resulting SQL insert
Cheers,
I have a problem with 1.0 and a habtm relationship between User and Article.
I want to save all articles that users read. I have these models:
class User < ActiveRecord::Base
has_and_belongs_to_many :read_articles, :class_name => "Article",
:join_table => "read_articles"
...
end
class Article < ActiveRecord::Base
has_and_belongs_to_many :readers,
2006 Apr 20
12
memcache, sessions, fragments, oh my!
Hi all -
I am trying to get rails to use memcache for sessions and fragment
caching. I''d also like to use the same connection for general caching of
this and that.
I''m following the instructions here:
http://wiki.rubyonrails.com/rails/pages/HowtoChangeSessionStore
and hitting a brick wall.
I''m using the new memcache-client since from what I''ve read
2006 Jun 19
1
server crash log
Hi, I''m new to mongrel and so far have liked it a lot during development. I
just tried to stand up a production server following the guide here:
http://blog.innerewut.de/articles/2006/04/21/scaling-rails-with-apache-2-2-mod_proxy_balancer-and-mongrel
This was working well for a few days, until this weekend it crashed with the
following stack trace. It''s running on redhat
2006 May 12
1
Opinion on different web server setups?
This is not directly a Rails question but you lot seem the best to
ask...
I have a strong feeling we will be developing future apps in Rails
(Ruby fans are slowly starting to outnumber cynics in my office) so I
want a web server plan that will be appropriate for that. We have
just bought two new web servers I want to turn into a load-balanced,
redundant pair. As well as any Rails
2006 Nov 24
2
Mongrel + Apache 1.3 + OpenBSD
Hello,
I want to install a bunch mongrel servers with an apache in fronthead,
all that on OpenBSD. But OpenBSD is released with a homemade Apache
1.3.29 patched by the OpenBSD team. I really want to keep this version
of apache and I don''t want to change it to Apache 2.x (because of the
security and the license but it''s not the point here). But for having
mongrel, it has to be
2007 Sep 13
5
Apache mod_proxy_balancer hang on high traffic hour
more info
just 1 server
webserver + appserver + dbserver
On 9/14/07, Yan Meng <dreamwords at gmail.com> wrote:
>
> Hi, Guys
>
> Our team is running a web2.0 finance site in China
>
> http://www.caibangzi.com/
>
> We use APACHE + mod_proxy_balancer + mongrel to deploy our application, it
> workd super in the past few monthes.
>
> However, just from last
2006 Jan 22
7
: Indexed Search Engine 0.1.3 Released
Hello all,
IndexedSearch Engine for Rails Engines version 0.1.3 has been released.
IndexedSearch is a simple, pluggable engine for rails applications which can
be used to enable full text indexed searches within an application.
Searchable data is parsed, stemmed using the Porter stemmer, and added to a
fully indexed table. This allows you to index things like "he runs fast"
which will
2006 Jan 03
3
file_column howto (beginner)
I''m trying to use file_column as a Rails plugin.
Of course I read the doc (from Sebastian, this maillist) and little
bit of source (as good as I, newbie, could understand it)..
But I''m not able to implement it in my app.. I''m a totally newbie with
less software development experience.
I get the file_column_field in my view with simply invoking the
helper... (:multipart