similar to: Production deployment speed "wakeup" issue

Displaying 20 results from an estimated 10000 matches similar to: "Production deployment speed "wakeup" issue"

2006 Dec 14
3
reaper spawner
Hi, Anyone know where i can find out more info on Reaper/Spawner. Currently, every time i add a new account on my production machine, i have to restart the whole server. After about 150 accounts, this puts a real strain on the server (it takes 3 full minutes before i can access any site on the server). I think reaper/spawner is my answer, but i am havving trouble figuring out how to use it.
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
2005 Dec 06
0
SwitchTower with spinner/spawner/reaper = teh suxx0r
hey all, So, we''ve been trying to get a nice stable config running for deployment with SwitchTower, spinner spawner and reaper, and I have to say, they are, as it says in the title, teh suxx0r. <warning>I''m annoyed, and wrote this while annoyed</warning> ;) The problems are rife: 1. Because lighttpd has no control over the fcgis, the restart process is
2006 Jan 23
1
Spawner -p and --port not working?
Hi everyone, I''m trying to set a port with spawner, and it''s not working: ruby /var/rails/ldapadmin/current/script/process/spinner -c /var/rails/ldapadmin/current/script/process/spawner --port=7000 -i 4 -d spinner: invalid option: --port=7000 Same with -p: ruby /var/rails/ldapadmin/current/script/process/spinner -c /var/rails/ldapadmin/current/script/process/spawner -p 7000
2006 Mar 23
4
ANN: capistrano-runit-tasks 0.2.0
I''d like to announce the second release of capistrano-runit-tasks, available from http://rubyforge.org/projects/cappy-runit/ It now supports: * File based templates * sv as the service control command in addition to runsvctrl * A much simpler interface for creating additional services. More work still needs to be done though! == TODO * Allow add_service to create more than one
2006 Jan 19
12
Switchtower isn''t restarting lighttpd
I''ve got switchtower set up, and it seems to work fine except for one problem: It doesn''t successfully restart lighttpd. I have the following task in my deploy.rb file: desc "Restart the web server" task :restart, :roles => :app do sudo "/usr/local/etc/rc.d/lighttpd.sh restart" end This is on a FreeBSD system, so it''s using the rc script to
2006 Jul 24
22
which webserver to use in production?
Apologies in advance if this ignites a war of comflicting opinions.... I''m a few days away from going live with my first RoR application. It is completely database centric and each user will have his own queries so cacheing will not really help. I have a dedicated linux server being built by my hosting provider and I need to tell them which webserver to use. The databse is MySQL
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
2006 Jun 28
5
Production deployment
Gang- We are getting ready to launch our ROR application; the last item remaining is the deployment platform. For testing, we had used Apache + MOD_FastCGI. I am not that impressed with it; sometimes it has strange effects. For example, when we start the application, for about 5 minutes or so, the app is very unstable and it gets better over time. My questions is .. should I go with (1)
2005 Dec 17
6
Lighttpd Restart Script
After quite a bit of searching and coding, I customized an init.d/bash script which allows me to manage multiple instances of Lighttpd server running Rails. It targets the specific PID address instead of the default binary location when starting and stopping /usr/local/bin/lighttpd process. This provides the ability in my case to have multiple lighttpd.conf files running many different instances
2006 Mar 31
6
Lighty+Mongrel: More than one connection per client?
I have an action which requests another URL from the same site (for testing purposes), but it keeps timing out. If I use an off-site URL, the action works fine. I also notice that I''m only able to request one page at a time from my server - the rest just spin until the previous requests complete. Is this some setting in Lighty, Mongrel, or my browser (Firefox - I played around with
2006 Jul 07
8
Going to production soon, need server advice
I''ve got a RoR app that will be going to production soon (in the next month or so) and would like to get some feedback on what kind of web server setup people have had good luck with. I''m looking for something that is: 1. Stable 2. Easy to setup 3. Secure (sorry but Windows is ruled out here) My deployment will either be on Fedora Core 5 or possible Mac OS X Server.
2006 Apr 15
9
Mongrel in Production ?
Hi Everyone, I was setting up Lighty+Fcgi on our server for last *couple* ( read zillion ) of hours. I had posted my problems in my previous email. But all in vain.. So, for time being, I switched to Mongrel. And the performance seemed quite good. This is the first time ever I''m using mongrel ( Awesome stuff ZedShaw..Thanks! ). I''m wondering if there are many people around
2006 Jan 14
7
Rails on Resin
Anyone figured out how to get rails/fastcgi to run on Resin. I assume it would be similar to PHP, which there are directions here: http://www.caucho.com/resin-3.0/thirdparty/php.xtp One thing that confuses me is that it wants a server address: <server-address>localhost:8002</server-address> Apparently you start the php process, like this: php -b 8002 And then the PHP process
2006 Mar 07
5
Capistrano: command never finishes?
Hi, I have created a small :restart task to overwrite the default one: task :restart, :roles => :app do sudo "/etc/init.d/lighttpd stop" sudo "/etc/init.d/lighttpd start" end This works fine and lighty does restart, but the last command never finishes, so I never return to the prompt. Here''s my output: cap restart loading configuration
2006 Mar 30
6
Stable Production Environment on Unix/Linux
Hello, I wonder what would be the most stable production runtime environment for a rails application on Unix/Linux. I am not very fond of FastCGI indeed, since it''s not seen any further developement lately. What are your experiences e.g. with the mongrel server? Has anybody used it for production? What are the alternatives? May be some fine lad could just point me to web site
2005 Sep 22
2
production environment
So I''m getting ready to setup a production environment on my boxen (running Fedora Core 3), what are my options? I''ve seen a number of posts about FastCGI, SCGI, etc. and am completely lost as to what I should be setting up on my box (that I hopefully won''t have to touch for a while). I need to run Collaboa, Typo and probably 3 or 4 other apps on this, so
2006 Feb 23
5
Help with SCGI please :(
Hi, While learning Ruby and Rails, I decided I just as well learn Linux along the way... It''s been fun, but I''m stuck at one of those exasperating moments... I hope someone can help me :) I installed Ruby 1.8.4 on Fedora Core 4, then Rails, then lighty, and then SCGI. I used yum to install lighty... and it already comes with mod_scgi. I created my first application in
2006 Feb 10
3
Lighttpd segfaults on first access
I just got a new Debian Sarge server and followed the brainspl.at "Debian Lighttpd Rails Stack" tutorial. The only place I deviated was the version of Lighty. The page uses 1.4.7 and I spotted that 1.4.10 was available. I installed that and couldn''t get anywhere. Lighty died on first access from the test rails app, and even from a ultra basic static config. No log,
2006 Jan 26
7
Switchtower Port Issues
Hi there, I''m having some difficulties finding some decent info on getting Switchtower to function for my needs. I''ve read most of the Switchtower doc on http://manuals.rubyonrails.com/read/chapter/97, however it''s not answering some potent questions I have. 1. The doc mentions, as an example, using an SVN repos at http://svn.switchtower.com/flipper/trunk What if I