similar to: Random (connections.c.1330) error-handler not found: /dispatch.fcgi

Displaying 20 results from an estimated 3000 matches similar to: "Random (connections.c.1330) error-handler not found: /dispatch.fcgi"

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 Feb 16
0
url.access-deny
Hello, There are several proxy servers that for some reason try every night to download some gif files that do not exist on my site. They make about 70 requests on the same second and that''s not good to my application I was trying to use url.access-deny to deny the access to the unexisting gif files, but for some reason it does not work (meaning that I still see the request in the
2006 Jan 08
4
Finding memory leaks?
Where are the memory leaks and what is the way to fix them? I''m working on a game that was fairly stable in terms the memory consumption and it was staying at around 200MB. Recently it has gone crazy, and unless I restart it, it goes straight up to 350-400+MB after 30 minutes-1hour. I am using Apache 1.3+fcgi in production mode. Also the dispatch.fcgi processes take a really high toll
2006 Mar 25
3
Rails and Lighttpd, hangs?
I know this is kind of a generic question. But, when hitting my lighttpd/rails site on some of the first hits, the site hangs. I think it has something with the lighttpd configuration, possibly something I am missing with rails or ruby? Any ideas or how to track this down. fastcgi.server = ( ".fcgi" => ( "0.0.0.0" => ( "socket" =>
2005 Sep 10
4
has_too_many
Assuming you have Person that has_many :messages, what will it happen if it has 10000 messages? Will rails attempt to initialize @person.messages with 10000 rows from database? If that is the case, is combining finder_sql and counter_sql the common practice to avoid this? Bogdan _______________________________________________ Rails mailing list
2006 Feb 26
3
Fast inserts?
There are cases when I have to create the same record 100 times. Is there a faster way than: 100.times{Obj.create(@params[:obj])} ? Bogdan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060226/75d1e099/attachment.html
2006 Jan 31
3
Random 502 Bad Gateway
I have moved my project to a dedicated server and I am getting a very annoying behaviour. I am able to view the site just fine when using the ip. The name is properly resolved on my computer, however I am getting "Bad Gateway The proxy server received an invalid response from an upstream server." This is simply random. The site works for several minutes, then i get this message for some
2006 Jul 16
3
RJS problem
I have an odd problem while trying to use a simple rjs. _test.rjs : page.alert "test" test.rhtml: <script><%=render_partial(''test'')%></script> When I am attempting to view controller/test the page comes as if it was a text file. So i am actually seeing: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2006 Jan 21
1
db access or @session?
Does it make sense to use the @session to store some values instead of accessing the db on each request? I am trying to optimize the most accessed area, a page that every visitor would access hundreds of times daily. Thanks, Bogdan -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 18
2
link_to_function onmousedown
Hi, Is there some way to produce an anchor that looks like the following using helpers, or should I just code it in the rhtml like this? <a href="#" onmousedown="javascript:foo(); return false"> Thanks, Brad -- Bradley Mazurek
2006 Sep 26
9
Encrypt URL Params, such as the id
Is there any easy way to encrypt the URL params that is seen in the URL. I dont feel comfortable exposing the id of the models to the external user. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2006 Mar 01
15
Is there a perl equivalent of .= in ruby/rails??
I want to make a for loop that concats strings onto a variable: html .= var1 + "this is a test" + whatever What is the syntax that does this in ruby/rails? Also, is there a ''print'' method in ruby? Because when I try to use render_text it will only let me use this once. -- Posted via http://www.ruby-forum.com/.
2006 Mar 13
2
Prototype ajax/javascript q
I''m trying to send to my application the coords x,y on an "input type image" in a html form, but x,y variables are not present in the POST_DATA (are not submitted). Any other field (hidden inputs) are being sent when I click on the image input form field. I use rails 1.0 and prototype 1.4, browsers Seamonkey 2.0, Firefox 1.x and Konqueror, Linux, and I''m just a
2006 Feb 23
0
Logging the pid of the dispatcher.fcgi
Hi, Is there an easy way to log the pid of the dispatcher processing the request? Aparently some of the dispatchers get lazy after a while and I would like to see which are those. Thanks, Bogdan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060223/7405be0e/attachment-0001.html
2006 Feb 09
2
Manually running dispatch.fcgi fails
I''m a newbie trying to setup lighttpd. It is failing with error 500. I tried running dispatch.fcgi by hand and I''m getting: # ./dispatch.fcgi /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'': uninitialized constant RailsFCGIHandler (NameError) from ./dispatch.fcgi:24 Not sure how to proceed from here.
2004 Nov 18
0
Ruby 1.8.2 breaks dispatch.fcgi
Hi, dispatch.fcgi does: require ''fcgi'' FCGI.each_cgi { |cgi| Dispatcher.dispatch(... Because each_cgi is only in fcgi.rb, this is dependant on finding fcgi.rb first. Rub 1.8.2 shows the following $LOAD_PATH /usr/lib/ruby/1.8/i386-linux-gnu /usr/lib/ruby/site_ruby/1.8/i686-linux-gnu /usr/lib/ruby/site_ruby/1.8 /usr/lib/ruby/site_ruby/1.8/i686-linux /usr/lib/ruby/site_ruby
2006 May 26
0
setup problem, every request trys to download dispatch.fcgi
Has anyone ever seen it where every request tries to download a fcgi file but marked as a .rb file? Im running LightTPD 1.4, Ruby 1.8.4, FastCGI. The lighty config is... var.basedir = "/var/www/sites/" $SERVER["socket"] == "101.0.0.171:80" { var.servername = "stage.butlerandtanner.com" server.document-root = basedir + servername + "/public/"
2006 Jan 12
0
Rename dispatch.fcgi and routing stops working
I would like to rename dispatch.fcpi to host1_dispatch.fcgi, host2_dispatch.fcgi, etc in order to allow Switchtower to kill the right fcgi dispatch processes on deployment. But when I rename dispatch.fcgi routing to the controllers stops working, any ideas why this file name is important? ActionController::RoutingError (Recognition failed for ""):
2006 Jan 16
0
Lighttpd/FastCGI dispatch.fcgi processes
I have the fastcgi.server part of my lighttpd.conf like this: fastcgi.server = ( ".fcgi" => ( "test" => ( "socket" => "/tmp/test1.socket", "bin-path" => "/home/paulbarry/public/dispatch.fcgi", "min-procs" => 1, "max_procs" => 2 ) ) ) When I start
2006 Mar 04
4
managing number of dispatch.fcgi processes ?
I have a problem where when I try and access my site a dispatch.fcgi process is started but then exits right after the page has loaded. Requireing it to start all over agin the next time a request is made. I''ve read about people using two or more FCGI processes to help with the request load but how do people do this? Firstly, how do you make a FCGI process persistant? I''m