similar to: Restart/Deploy - Reaper can''t find PID

Displaying 20 results from an estimated 8000 matches similar to: "Restart/Deploy - Reaper can''t find PID"

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 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 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 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
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
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 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
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
2005 Dec 06
4
Errno::E232 (The pipe is being closed.)
I get this error on occasion using both Webrick and Apache2/FCGI: Webrick Debug: [06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is being closed. (Errno::E232) [06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is being closed. (Errno::E232) C:/MyApp/Server/public/../config/../vendor/rails/actionpack/lib/action_controller/cgi_process.rb:158:in
2006 Jul 27
5
Dreamhost working deploy.rb? Can anyone post/send me a copy?
Hi, Just trying to get Capistrano working to Dreamhost. I''m hitting a permissions issue on the reaper file at the moment. Has anyone a copy of the capistrano DEPLOY.RB file they could post or send me a copy of please? Thanks Greg -- Posted via http://www.ruby-forum.com/.
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 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 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 Mar 02
2
SwitchTower: why symlink releases/under -> current?
Hi, I have a trouble with deploying my ordinary rails application(myapp). When I execute ''rake deploy'', [...] command finished * executing task symlink * executing "ls -x1 /var/www/myapp/releases" servers: ["app1.olalog.com"] [app1.olalog.com] executing command command finished * executing "ln -nfs /var/www/myapp/releases/under
2013 Mar 03
1
Deploy with Capistrano. Bundle install freezes indefinetly.
I am fighting with this for 5 days... i''m getting crazy! Here is my deploy.rb: require "bundler/capistrano" require "rvm/capistrano" # Load RVM''s capistrano plugin. set :rvm_ruby_string, :local # Or whatever env you want it to run in. ''1.9.3'' set :domain, ''www.xxx.com'' set :application,
2006 Feb 21
0
Deployment question: running multiple applications using symlinks, what does my lighttp.conf look like?
Hi, I''m looking to run several installation of a rails app. Each one has certain unique elements, like database.yml some and some css stuff, possible some templates as well. I''ve set this up like /w/sites/clienta /w/sites/clientb /w/sites/clientc Inside these directories there will be mostly symlinks to: /apps/myapp Urls for these apps will be: http://clienta.example.com
2007 Nov 05
1
deploy ruby on rails application by mongrel
1.download ruby-one click for windows from www.ruby-lang.org? set up. 2.run command: gem install rails --include-dependencies (success) 3.set up mongrel: gem install win32-service(pick the most recent one) gem install mongrel (pick the win32 pre-built) gem install mongrel_service all of the above were successful. then i creat an empty folder "d:\myapp",run the command:
2010 Jan 11
3
Capistrano deploy without irs_process_scripts
Hi, I am reading docs to understand how to deploy with Capistrano my ROR webapps. In guides.rubyonrails.org/2_3_release_notes.html is written: "If you’re one of the (fairly rare) Rails developers who deploys in a fashion that depends on the inspector, reaper, and spawner scripts, you’ll need to know that those scripts are no longer included in core Rails. If you need them, you’ll be able to
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 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/