Richard Livsey
2005-Oct-29 18:23 UTC
Intermittent ''rails application failed to start'' error
I have an import script in a web app using rails. It is run via Ajax updater requests, so the page doesn''t reload but we can still have a progress monitor. The ajax call is to a page which does a small amount of work and then returns the % complete and JS to call another ajax update. This works well and we have a nice progress monitor of what''s going on. The whole process takes about 1/2 hour and every now and again I''m getting an ''Rails application failed to start'' 500 error from the server. It''s annoying that it''s intermittent and I can''t recreate it when I want so it''s hard to test for. Nothing in the logs that I can see. It only happens on this page and at some point during the import. Anyone any ideas on a) why it may be happening b) what I can do to stop it or at least just stop the message reaching the browser Thanks in advance. -- R.Livsey http://livsey.org
Aníbal Rojas
2005-Oct-29 22:39 UTC
Re: Intermittent ''rails application failed to start'' error
Rails Version? FastCGI version? SCGI version? Windows? Linux? With Rails 0.13.1 under Windows 2K Apache + FastCGI that error was extremly common. Using SCGI I got rid of it. Off Topìc: Isn''t such a huge transfer process a littel bit hard to do it over HTTP? -- Aníbal Rojas anibalrojas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org On 10/29/05, Richard Livsey <richard-gfRugNUWsoQdnm+yROfE0A@public.gmane.org> wrote:> I have an import script in a web app using rails. > It is run via Ajax updater requests, so the page doesn''t reload but we > can still have a progress monitor. > > The ajax call is to a page which does a small amount of work and then > returns the % complete and JS to call another ajax update. This works > well and we have a nice progress monitor of what''s going on. > > The whole process takes about 1/2 hour and every now and again I''m > getting an ''Rails application failed to start'' 500 error from the server. > > It''s annoying that it''s intermittent and I can''t recreate it when I want > so it''s hard to test for. > > Nothing in the logs that I can see. > It only happens on this page and at some point during the import. > > Anyone any ideas on > a) why it may be happening > b) what I can do to stop it or at least just stop the message reaching > the browser > > Thanks in advance. > > -- > R.Livsey > http://livsey.org > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >