similar to: Cluster Design

Displaying 20 results from an estimated 10000 matches similar to: "Cluster Design"

2006 Apr 01
7
Rails Cluster Design
Hello everyone! A collegue and I are beginning development on a site that will eventually need to very scalable (assuming our business model is a good idea). My problem is that I''m not a sysadmin guru, and I''m not terribly comfortable with the design of the hosting platform. We''re going to start with two servers initially (for cost reasons), and I''m considering
2006 Mar 02
2
A nasty evening with dispatch.fcgi
Hello all. Time for an all night installation campfire (no pun intended) story. I just helped a customer migrate from a single box to a 5 box system. 2 Lighty 2 FCGI 1 DB Everything went quite well. I scripted everything so it would be easy to add more boxes in the future. 3 scripts, one for each box type above. Then came time to get the site working. :-) Lighty came up easily. The DB came up
2006 Mar 29
1
Problems with lighty
I''ve been trying to get lighty configured to work with Rails and I''m having quite a time of it. I have all of the following installed on a FC4 system: ruby-1.8.4 gems-0.8.11 rails-1.0 fcgi-2.4.0 ruby-fcgi-0.8.6 lighttpd-1.4.10 Before I tried setting up multiple apps, I just decided to try for a single app setup. I have the following configuration: ### begin config ###
2006 May 11
3
LightHTTPD FastCgi Error in Production Mode
I''ve been banging my head against the following for about 8 hours now, and have exhausted my web research options: /usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21:in `require'': no such file to load -- /usr/home/matthew.feadler/rails/avclfc/public/../config/environment (LoadError) from /usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21
2006 Jul 31
0
Can''t get into production mode!
Hi all, I''m deploying my first rails app. I''m using lighty and fcgi, and cannot get the app to go into production mode. I deploy via Capistrano. When I dump ENV, RAILS_ENV is still ''development''. Is something overriding the lighty config? Here is the lighty config: var.appname = "mcalogin" server.port = 1411 server.modules =
2006 Feb 16
4
Lost while trying to deploy rails app on apache
I need to graft some rails apps onto a website running apache 1.3 and I must be missing something very obvious because I cannot get things working properly. Here is what I need: 1) The server must be running apache 1.3. A very large body of PHP content is currently vended by the server through 5 vhosts and I have neither the time nor resources to replace apache1 with apache2 or lighttpd. Maybe
2005 Dec 28
3
problems with lighty on linux
I''m trying to get our app running on Lighty... I followed Ezra''s instructions: http://brainspl.at/pages/rails_stack... Currently the app runs fine with webrick, but with lighty I get 404 errors on everything. I found if I don''t edit the lighttpd.conf file to use absolute paths, it works fine. But this is not good for production because I need to run it with the -d
2006 Mar 21
5
RoR and Growing Pains
I have persuaded my company to move towards an RoR shop... from a PHP 5 (with in-house-built framework)... so the jump is not terribly bad. I''m REALLY excited actually! My problem: I am overwhelmed with all the setup Loops I have to jump through to get RoR setup. I tried it on my current Apache 1.34 and decided it''d be easier to make the Lighty (1.4.11) jump. So I did. I get
2006 Jul 14
4
Rails Lighttpd Issue on Fedora
Hi guys, I''m here again with a problem. I have a rails app called brewed. It''s located /home/user/brewed. My lighttpd.conf is located at /home/user/lighty. When I execute lighty on port 80 with: /usr/local/sbin/lighttpd -f /home/user/lighty/lighttpd.conf rails seems to work fine. If I type www.mysite.com/main/index on my browser, the page comes out well. I have my files
2006 Apr 28
1
Apache proxy to lighttpd leads to Rails routing error
Hello, I have an issue I am having trouble figuring out. I have a Rails app running through lighttpd which is accessed through an Apache proxy. My apache config: <location /rails/> ProxyPass http://localhost:81/ ProxyPassReverse http://localhost:81/ </location> RewriteEngine On RewriteRule ^/rails/(.*) http://localhost:81/$1 [P] So when apache sees /rails/ it
2006 Feb 07
4
Can''t stop/start lighttpd
Hello everyone, I?ve been working with Ruby on Rails for about 2 months now and have really enjoyed the ease of use of it. I?m only been doing development on it so I?ve been using WeBrick. Recently, I have built a server running Debian Linux, with ruby 1.8.2, rails 1.0.0, lighty 1.4.3, and Mysql 5.0.18. I used WeBrick to generate a lighttpd.conf file for me, I changed the paths in the
2006 Apr 07
4
Big fcgi problem...
Hi all My lighty spawn 10 fcgi process, some times, one or two of them will eat all most 90% CPU, when i kill them, everything is ok. I want a script to auto kill these Big fcgi, could you give me some advise? regards -- Posted via http://www.ruby-forum.com/.
2006 Mar 28
3
compiling php with fcgi on tiger
I can''t figure out how to compile php with fcg enabled. I found a website which gives an example of how to write options in configure http://scoops.totallyrule.com/articles/2006/02/01/mysql5-ab-package-and-php5 So I wrote ./configure --prefix=/usr/local --program-suffix=5 --enable-fastcgi --enable-discard-path --enable-force-cgi-redirect --with-mysqli=/usr/local/mysql/bin/mysql_config
2006 Apr 30
0
Ruby and Rails on Linux
Hi! 1. I want to install Ruby and Rails on Red Hat... Any RPM available... 2. I am not able to install Fast CGI gem in windows environment... with Lighty.. I am getting following error: Pl. guide me to correct this error... Thanks Siva. C:\>gem install fcgi Attempting local installation of ''fcgi'' Local gem file not found: fcgi*.gem Attempting remote installation of
2007 Feb 15
1
Images and stylesheets are not serving
Hello One of ours sites has just lost all it''s images and styling. It''s not a very busy site at all, so it might have been not working properly for some time now. Here''s how we start it in Lighty <pre> $HTTP["host"] == "gregynog.glam.ac.uk" { server.document-root = "/www/rails/greg/current/public/" server.error-handler-404 =
2006 Feb 25
0
neverending i2/lighttpd problems
So after recompiling ruby a few times to get ssl and readline working, fighting with lighty for awhile, and learning a bit more about linux in the process, I think I''m really close to getting i2 up and running. However, when I try to access my wiki, I get either a blank page or an error 500 and the stack trace below gets sent to the log. If I can''t get this working soon
2006 May 26
0
setup problem, every request trys to download dispatch.fcgi
Has anyone ever seen it where every request tries to download a fcgi file but marked as a .rb file? Im running LightTPD 1.4, Ruby 1.8.4, FastCGI. The lighty config is... var.basedir = "/var/www/sites/" $SERVER["socket"] == "101.0.0.171:80" { var.servername = "stage.butlerandtanner.com" server.document-root = basedir + servername + "/public/"
2005 Dec 19
1
Lighty External Fast CGI Process Load Balacing Note
I''ve just spent a while chasing a false bug in lighttpd and load balancing among external fast cgi processes due to what I think is a documentation bug. Following the info on the wiki page <http://wiki.rubyonrails.com/rails/pages/LighttpdWithProcessScripts>, one would think that something like this works: fastcgi.debug = 1 fastcgi.server = ( ".fcgi" => (
2006 Mar 24
3
1.1RC and Lighttpd
I started what I thought was going to be a 30 minute project on the train this morning to write a little timetracker for myself. Amongst other things (don''t have a model called Task as it conflicts with Rake at the moment, don''t have a model called Action as it disappears in the hash when you submit a form :-), I had to use Webrick as Lighty complained about an unknown
2006 Feb 25
10
Performance issue.. after a while
Hello, I have an project running on a dedicated server: Debian, P4 CPU 3.00GHz, 1GB RAM, ruby 1.8.4 (2005-12-24) [x86_64-linux], rails (1.0.0), activerecord (1.13.2) lighttpd-1.4.10 + fastcgi + mysql 5.0 7 dispatchers. The project is a game, so a typical user would visit 100+ pages. When the server is busiest, it gets 35-40k requests/hour. For some misterious reason after a number of hours the