Displaying 20 results from an estimated 5000 matches similar to: "Runaway FCGI Processes with Debian, Apache"
2006 May 15
5
Australian Ruby/Rails Web Host
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: rebecca.vcf
Type: text/x-vcard
Size: 414 bytes
Desc: not available
Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060515/4cd2f87d/rebecca.vcf
2006 Apr 11
2
using log4r and rails
hey everyone. i know somebody else had started a thread on this subject,
but since no one seems to be answering that thread i thought i would
start one of my one.
i''m doing a project for a client and we need some seriously verbose
logging. it looks like log4r can do what i need, but i can''t for the
life of me figure out how to plug it into rails. everywhere talks about
how
2006 Apr 22
6
Friendly Reminder (OT)
Today, I had a tragic hard drive crash. I hadn''t updated anything to SVN in
two weeks.
I''m posting this here as a reminder to my beloved Rails community.
Everyone, right now..... make a backup of your rails work. Make sure its on
two disks. Many of you already do that automatically, but just make sure its
working.
Two near-release rails plugins were lost in the tragic crash
2006 Mar 09
3
problem with find()
I''m trying to update records in a table based on data I get back from a form.
In the simplest case, the params structure returned from the form is:
{"illness"=>{"1"=>{"illness_date"=>"", "qualifier"=>""}}}
The controller code works (i.e., updates the first record) when I do the following:
params[:illness].each do
2006 Apr 03
11
Rails VPS Business Hosting
Greetings,
Does anyone have experience with Rails VPS hosting? I''m basically
looking for a hosting reseller option so I can have control of my
clients domains and hosting. I''m looking for something easy to use;
although I like learning it all, and am learning a lot, I am most
definitely not a command line linux user type as of yet.
The one that I''ve looked at
2006 May 08
4
Rubyy on rails hosting
All,
Could any of you recommend an out fit for hosting my rails app that is
not expensive with excellent support. Thanks
Patrick
2007 Jan 03
2
error_message_on broken?
Hi,
in my app, using the error_message_on form helper like this:
<label for="user_name">User name:</label>
<%= error_message_on ''user'', :name %>
<%= f.text_field :name %>
generates the following error:
undefined method `errors'' for :user:Symbol
I am using edge revision 5813 and the simply_helpful plugin. Is there a
way to fix this?
2006 Mar 09
2
issuing raw SQL in Rails
Hi -- I have a need to run the following SQL in a test:
"DELETE FROM agents_bookings"
Does anyone know of a way that I can just execute this?
It is to clear a many-to-many relationship in the teardown function of a
test.
Cheers,
doug.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 16
5
TimeZone, TZInfo, daylight savings, and composed_of
Does anyone know the best way to track time zone information. There doesn''t
seem to be much documentation on this. So far it seems like a simple db
field like
create table accounts (
id int unsigned not null auto_increment,
name varchar(50) not null,
time_zone varchar(50) not null,
...
primary key (id)
)
and a class like
class Account < AR
...
2006 Feb 23
7
Session Based Record Locking - Solutions?
All,
I''ve written a simple job/opportunity tracking database app via RoR.
I have about 10 internal users.
Sometimes 2 people will want to update the same record at more or less
the same time and they collide.
In particular user 1 may edit a record, then get distracted, and
finally an hour later they click save.
During that hour user 2 may have pulled up the record, edited it, and
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 May 19
5
more fcgi problems
Finally got fcgi installed with apache. Now whe I click on "About your
application''s environment" on the Rails Welcome page, it simply prints
out the dispatch.fcgi script as shown below. I would appreciate any help
I can get on this. I can provide other infomation if necessary.
#!/usr/local/bin/ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
#
2006 Mar 07
6
fcgi dispatcher crashing
I''m trying to set deploy an app on apache2 with the fcgid module, but can''t
seem to get anywhere.
Things work fine with cgi, but when i switch to fcgi, i''m stuck with a ''503:
Service Temporarily Unavailable''. There''s no error being logged anywhere,
afaik.
Trying to run dispatch.fcgi from the shell doesn''t work either. It bombs
out,
2006 Aug 15
2
Apache & FCGI: Premature end of script headers:
Hi,
I have quite a problem right now. After finish of development I
installed rails with fcgi and apache on my production env. Everything
seems to be configured ok, but once I while I get the famous error
message:
" Premature end of script headers: dispatch.fcgi"
I cant see any generel configuration problem, as sometimes everything is
running fine.
Maybe it is a problem related to
2006 Mar 14
5
Dreamhost and fcgi....help!
I''ve got my app running under cgi, but I keep getting pwned by fcgi.
- app is installed at www.mydomain.com
- web root is www.mydomain.com/public (this works w/ regular cgi)
- /public has correct permissions
- .htaccess: rewrite rule changed to use .fcgi
- shebang on dispatch.fcgi and dispatch.rb is set to #!/usr/bin/ruby1.8
(also tried just ruby)
-environment.rb : running in prod
Any
2006 Apr 09
18
I can''t get mod_fcgid to work
Hi,
I just installed mod_fcgid on my apache2 server.
When I try to load my application I get an
"Application error - Rails application failed ..." message.
In my Apache2 error-log it says:
Premature end of script headers dispatch.fcgi
mod_fcgid process /data/www/app/dispacth.fcgi exit (communication
error),
terminated by calling exit(), return code 1
Any help with this would be
2006 Aug 01
2
apache and fcgid
So I decided to just go with apache2 and fcgid. I looked into Mongrel
and apache and I looked into lighttpd and fastcgi and found both to be
too time consuming and not well enough documented for what I''m doing.
My question is, how do I set up apache and fcgid to actually work? I got
apache installed. I think I got fcgid installed (I read somewhere all I
have to do is move the
2006 Apr 30
2
restart with capistrano
Hi all
I bumped into the following issue: when trying to restart with capistrano,
it does restart, but with the app from the old deployment directory.
desc "Restart the app server."
task :restart, :roles => :app do
run "mongrel_rails restart -c #{current_release}"
end
Has anybody a better solution for that ?
--
Roberto Saccon
-------------- next part --------------
An
2006 Apr 19
4
Deployment with Capistrano
Hey all,
Has anyone out there got Mongrel deployments working with Capistrano?
I''ve had a crack at setting it up, and I''ve found that after a
deployment (with updated symlinks) that a mongrel restart does not
pick up the new deployed site. It seems to me (in my linkted
experience) that the HUP that is sent to mongrel does not re-evaluate
the ./current symlink that Cap puts in
2006 Mar 12
4
Apache not running Fcgid
I''m having the same problems as this fellow, Mr. Cheetham, in getting
my rails app up and running on apache2+fcgid. Webrick runs, but
dispatch.fcgi never actually runs, and apache spits out a grusome
"Premature end of script headers: dispatch.cgi" error message in the
log. Mr. Cheetham describes his problem at
http://www.archivesat.com/Typo_blogging_engine/thread164398.htm
I