Displaying 20 results from an estimated 5000 matches similar to: "fcgi_watch update"
2006 Jun 21
0
fcgi_watch (reaper replacement for shared servers)
fcgi_watch is a supplement to (or replacement for)
<rails_app>/script/process/reaper.
The standard reaper script searches for all processes started with a
given pathname using the output from a ps command, and performs an
action on them. There are problems with this approach, at least on some
shared servers:
- The pathname seen from a script is not necessarily the same as the
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 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 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 Aug 12
3
Capistrano deployment pathname error
When I try to do a deployment with Capistrano I get the error "No such
file to load -- pathname" when Cap tries to execute reaper. Any ideas
what''s causing this or how I can troubleshoot it? (Output follows.)
Thanks.
Evan
-----BEGIN OUTPUT-----
[evans-powerbook:~/Desktop/asktheguys] evan% clear ; rake remote:deploy
(in /Users/evan/Desktop/asktheguys)
loading
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
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 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
**
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 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 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
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
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 Jul 19
1
A couple of problems
Hi Ezra,
Thanks for the great work on BackgrounDRb. I have come across a
couple of problems.
1. I wanted to define a simple class in the worker file to wrap up and
pass back some data to my controller. It seems that if I create the
class either inside or outside of my worker class (in the same file)
it gets wrapper by a DRb::DRbUknown object and therefore cannot be
accessed from my controller.
2006 May 19
9
[NEW SITE] psitsNOT
psitsNOT ("Photoshop it''s NOT") is an over-the-web image editing
application made with Rails, RMagick, and AJAX. It provides everything
you need to make a raw digital image look good on the web.
http://psitsnot.alevans.com
You''ll need an OpenID URL to log in.
Feedback is welcomed!
--Al Evans
--
Posted via http://www.ruby-forum.com/.
2007 Mar 30
1
Re: FLAC: same features as WavPack
To clarify, I am one of the REAPER developers.
To say that FLAC itself is not broken is sort of meaningless--FLAC
itself is just a specification. So yes, it is just libFLAC that is
broken. I have spent QUITE a bit of time trying to sort out why it fails
on 24 bit mode.. If there are some specific alignment requirements of
samples, please point me to the documentation of them, but we have
2007 Mar 30
0
Re: FLAC: same features as WavPack
Hi Justin,
I am using flac on the Mac OS X command-line with AIFF input files.
In fact, you can use my Mac installer for flac to get everything you
need for working 24-bit files in FLAC. You can also build flac from
the open-source project to get the same thing.
It sounds like you're using libFLAC, and the REAPER programmers are
unable to get it working with 24-bit. Have you tried
2006 Jun 02
0
psitsNOT now available as a Rails Engine
psitsNOT ("Photoshop it''s NOT!") is an AJAX powered image editor for
Rails. Although it doesn''t pretend to be feature-rich, psitsNOT lets you
rotate and crop; adjust brightness, contrast, and color balance; then
reduce grain, enhance color contrast, sharpen, and set the final size of
an image. It does a great job at enhancing digital photos for display on
the web.