Displaying 20 results from an estimated 6000 matches similar to: "fcgi_watch (reaper replacement for shared servers)"
2006 Jul 01
0
fcgi_watch update
I''ve updated fcgi_watch to version 0.3.1. There''s no real functional
difference, but I fixed a bug that caused it to report multiple copies
of the same FCGI process as "running" under certain conditions.
The updated version is here:
http://www.alevans.com/dl/fcgi_watch-0.3.1.tgz
For those just tuning in:
fcgi_watch is a supplement to (or replacement for)
2006 Aug 02
5
monitor fcgi?
Im trying to get a new app up on dreamhost. What fun :/
Id like to try out the ''frao_handler'' which just keeps dreamhost from
automatically killing my fcgi processes. But Im also worried about
things getting out of hand. I seem to remember that captures in views
can cause problems with fcgi (I might just be making that up????), and I
do have few in my app. And well Im
2006 May 18
3
capistrano and Dreamhost issue
Hi,
i''m striving to capistranize a foo app on DH.
Everything is hosted on DH to simplify a bit :
- svn repository (http access)
- the application
- the DB
I used the recipe of Jamis Buck modified by Geoffrey Grosenbach which
you can find here : http://nubyonrails.com/pages/shovel_dreamhost
I did the least modifications possible. As recommended.
1) When I launch the
2006 Jul 23
1
reaper
Hi there,
I have been running the reaper on dreamhost and I''m not sure it is actually
restarting the processes
will the reaper create new processes? because all the PID''s are the same
before and after I run the reaper
Restarting [1344] ruby dispatch.fcgi
Restarting [10172] ruby dispatch.fcgi
Restarting [21592] ruby dispatch.fcgi
Restarting [4931] ruby dispatch.fcgi
Restarting
2006 May 21
2
Reaper and symbolic links
Hello,
I''m trying to restart my application fastcgi processes using reaper.
But I get the following error:
$sudo -u www ./script/process/reaper
Couldn''t find any process matching:
/var/www/example/200605200000/public/dispatch.fcgi
The problem is that it should not look for 20060520000 but for current
which is a symbolic link pointing to 200605200000.
I did the
2006 Jun 29
0
Restart/Deploy - Reaper can''t find PID
Hi
I''ve been using Capistrano to deploy my application for around 3
months now, and in the last week or so the reaper part of the
restart/deploy tasks is failing with the following message:
executing task restart
* executing "/home/user/myapp/current/script/process/reaper
--dispatcher=dispatch.fcgi"
servers: ["myapp.com"]
[myapp.com] executing command
**
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 Jul 05
5
How do I reset rails in production mode on DreamHost?
Hello!
I am testing rails on DreamHost.
I believe it''s running on apache.
In development mode, it ran very slowly.
So I changed it into production mode and switched to fcgi.
It''s very fast now.
But the problem is that if I add actions to a controller, it''s not
applied.
I know that in production mode, I need to restart web server.
But I don''t control the web
2006 May 26
0
Reaper -a restart causes app to hang
I''ve looked through the archive to see if anyone else has encountered
this, but didn''t find anything. The short version is, when I use cap
deploy (and thus reaper -a restart implicitly), my app stops
responding. I''ve verified that using reaper in graceful, reload and
exit modes works as intended. The weird thing is, I watch the logs
and see that my request
2006 Apr 03
1
Reaper Capistrano and FCGI user.group
All,
Looking into Capistrano I have yet to come across anything that discusses
the necessary permissions needed to do a restart of the FCGI processes.
>From what I can see I have two options, run lighttpd as my normal
www.wwwuser/group which does not have a shell account and give sudo
rights to the
user Capistrano logs in to the app server as.
Or give lightty a shell account so that
2006 Aug 04
8
Capistrano /usr/bin/env: ruby: no such file or directory
Hi,
I''m deploying to a prod linux server via Capistrano, but the last step,
running the reaper, won''t complete.
Ruby is stored in /usr/local/bin on the server, and I''m deploying from
winxp.
$ ssh mcalogin@lx07
Password:
mcalogin@LX07:~> env | grep "^PATH"
PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/b
in:/opt/
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.
2007 Mar 29
1
How to restart server programmatically?
I need to be able to restart my server based on a specific database change.
I''ve been trying a call to system("script/process/reaper -a graceful -d
dispatch.fcgi") but that raises a transaction error which rolls back the
save. I wasn''t aware that after_save would rollback. That''s potentially
useful but pretty much not right now. Here''s my code:
def
2006 Apr 20
5
Rails, FCGI, Dreamhost
Is anybody getting acceptable performance with a Rails application on
Dreamhost? By this, I mean response times no greater than 3 seconds, and
no large numbers of FCGI processes that you have to kill manually.
If so, how?
I''ve ended up running a constant ping script (once every ten minutes),
and still have to kill some number of excess dispatch.fcgi processes
every day.
Along with
2005 Dec 17
0
[rails|fcgi bug] Rails app not responding
Hello,
I really can't say if it's rails or fastcgi related, but sometimes
rails is not responding.
See some output from ./script/process/reaper:
./script/process/reaper
Restarting [22804] /usr/local/bin/ruby18 /usr/home/www/public/dispatch.fcgi
Restarting [22806] /usr/local/bin/ruby18 /usr/home/www/public/dispatch.fcgi
Restarting [22807] /usr/local/bin/ruby18
2009 Feb 09
5
"reaper" is not picking up new changes to my application???
Hi,
Can anyone shed any light on why "reaper" (whilst seemingly working re
restarting my mongrel ruby process) does not pick up changes to my
application? (e.g. changing a title in a view for example). It''s like the
"mongrel_rails start etc..." is just restarting the current process but
ignoring the new details re where the new application directory is. That
is
2006 Jul 25
0
configure rails on apache2 without virtual host
Hi, all:
I try to configure rails application on apache2 on fedora box without
using virtual host.
I can''t make it run correctly after following some ''hints'' from the web.
Following is what I have done:
- Apache2 already run well;
- mod_fcgid installed by source;
- ruby fcgi installed by source;
- test ok using some sample test.fcgi
I guessed something wrong with
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 Apr 18
3
Capistrano from windows to linux.
There seems to be a bug when deploying a rails application developed
in windows to a linux box. The rake deploy command attempts to run the
command "/install/path/current/script/process/reaper" but the files do
not have the execute bit set.
What can I do to make sure either the execute bit is run or prepend
the command with sh or ruby?
Thanks.
2006 Mar 18
2
ANN: capistrano-runit-tasks 0.1.0
I''d like to announce the first release of capistrano-runit-tasks.
This came about as I wanted to use runit rather than spinner/spawner/
reaper on my memory limited VPS but should be useable for any setup.
From the README:
This library extends Capistrano to allow processes to be supervised
using the
runit package. It replaces some of the standard tasks with runit
versions and