Displaying 20 results from an estimated 9000 matches similar to: "lighttpd fcgi and rails banchmarks"
2006 Mar 27
2
dispatch.fcgi hanging after lighttpd shutdown
Hi.
I''m using RoR 1.0 with FastCGI and lighttpd on a Debian 3.1 box. I
have configured lighttpd to do adaptive spawning of the FastCGI
processes.
However, after shutting down lighttpd the FastCGI processes remain
running.
Did this problem occur to anyone of you? Is there a fix?
I''d be really grateful for every answer.
Regards,
Manuel Holtgrewe
2006 Jan 24
17
Updated lighttpd to 1.4.9 - error running dispatch.fcgi
Hi all,
I just updated lighttpd from 1.4.8 to 1.4.9 and it now refuses to
start with the following error:
2006-01-24 23:12:24: (mod_fastcgi.c.989) execve failed for: public/
dispatch.fcgi No such file or directory
2006-01-24 23:12:24: (mod_fastcgi.c.1015) the fastcgi-backend public/
dispatch.fcgi failed to start:
2006-01-24 23:12:24: (mod_fastcgi.c.1019) child exited with status 2
2006 Mar 13
2
Excessive Errno::EBADF with dispatch.fcgi
I''m running Ruby on Rails via FastCGI in an Apache environment, and I
get the following error, a lot.
(from log/fastcgi.crash.log)
[13/Mar/2006:15:52:51 :: 94704] Dispatcher failed to catch: Bad file
descriptor (Errno::EBADF)
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `close''
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `each''
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 Jun 26
2
running lighttpd -> Recognition failed for "/"
i have tried several tutorials on the web for getting my app to run
under lighttpd and fastcgi..
my setup is fedora core 5..
i used this to get everything installed:
http://www.digitalmediaminute.com/howto/fc4rails/
but i kept getting errors, as the machine i am installing it is a remote
machine, i couldn''t get it to work right..
i next tried this:
2006 Jan 19
3
lighttpd config on os x
I finally got around to installing lighttpd on my mac for dev work,
followed the instructions at
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
When I go into my rails app and type "./script/server" I get the
following errors:
baggio:~/work/teore pergesu$ ./script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
2006 Jan 14
4
Rails URLs always try to open non-existent files
The lighttpd config file is set up like this...
Rails url: //host/controller/method/id
Lighttpd tries to open the file ''controller/method/id'' from the document root.
Of course this doesn''t work and generates an error 404
This gets caught with: server.error-handler-404 = "/dispatch.fcgi"
Which turns the request into "/dispatch.fcgi"
That gets caught
2006 Apr 24
6
Error starting lighttpd
Hi, I''m getting the following error message when I try to start lighttpd:
BEGIN ERROR:
$ script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
2006-04-24 03:29:39: (mod_fastcgi.c.1022)
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX.
Everything builds fine (and webrick runs just fine) but lighttpd barfs:
edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$
script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache,
both running FastCGI. I''m going to explain the configuration, but first:
update.
gem install camping --source code.whytheluckstiff.net
== Mounting Root for Lighttpd+FastCGI ==
server.port = 3045
server.bind = "192.168.0.103"
server.modules = (
2005 Jun 24
14
apache2 fastcgi (fcgi) internal server errors, still :(
hi all,
I can blab, but here is a sample of my /var/log/apache2/error.log, it
has all the info:
any ideas what I can do prevent 500s from hitting my users? (besides
redirecting them with javascript to the same URL which will be fine on
the next request? :)
thanks,
_alex
[Fri Jun 24 12:30:45 2005] [error] [client 172.20.0.175] FastCGI:
incomplete headers (0 bytes) received from
2006 Mar 23
2
Lighttpd Configuration Problems
Hey Folks!
I''ve got a Fedora Core 4 machine that I''m installing Ruby on Rails on,
following this set of instructions:
http://www.digitalmediaminute.com/howto/fc4rails/
Everything has gone well up until I get to the part about configuring
lighttpd to use virtual hosts. Here''s the chunk of code I''ve got in my
config file that appears to be the culprit.
2005 May 10
1
Some Rails-Lighttpd questions
I followed the instructions from the ~/RailsOnDebian tutorial to set up
Rails on a FreeBSD. (That tutorial is down, can it be hosted somewhere
else?).
Now I have some questions regarding the configuration of Lighttpd for Rails.
If there are FAQs in my questions don''t hesitate to point me to the right
resource...
Probably a trivial one: where do I access a Rails site when it is
2006 Mar 15
0
FCGI hanging w/ LightTPD in about 24-48 hours
I started an earlier thread about this ... Someone suggested a different
version of LightTPD, since the version I was using had some known issues
with FCGI. Well, we''ve upgraded to LightTPD 1.4.11 and the problem is
still happening.
We have Rails running under fcgi (one process) under LightTPD. This, in
turn, is proxied to by Apache. This is on a test IP, so only a few
people should
2006 Mar 28
3
compiling php with fcgi on tiger
I can''t figure out how to compile php with fcg enabled.
I found a website which gives an example of how to write options in
configure
http://scoops.totallyrule.com/articles/2006/02/01/mysql5-ab-package-and-php5
So I wrote
./configure --prefix=/usr/local --program-suffix=5 --enable-fastcgi
--enable-discard-path --enable-force-cgi-redirect
--with-mysqli=/usr/local/mysql/bin/mysql_config
2006 Mar 02
6
Lighttpd and fastcgi problems...
Hi,
I''m having difficulty getting ruby running via Lighttpd and fastcgi. My
lighttpd.conf reads:
server.port = 81
server.pid-file = "/tmp/test_lighttpd.pid"
server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi",
"mod_accesslog", "mod_simple_vhost" )
server.document-root = "/tmp/mis/public"
2006 Feb 27
3
Rails via Lighttpd
I am trying to get Rails running through Lighttpd, on a Suse 10 box
running Rails 1.0.0 and Lighttpd 1.4.10
I followed the instructions in the wiki
(http://wiki.rubyonrails.com/rails/pages/Lighttpd) but keep getting the
same error:
linux:/etc/lighttpd # lighttpd -f lighttpd.conf
2006-02-27 12:32:17: (mod_fastcgi.c.997) execve failed for:
2006 May 26
2
Lighttpd Config
Hi this is a newbie question that should be easy enough for somebody to
answer, I''m horrible at this web server configuration stuff.
I''m running Rails on Fedora Core 5 with Lighttpd and MySql. I''ve created a
rails application ''logapp''. I have an entry in /etc/hosts like...
127.0.0.1 logapp
So when I point my browser to ''logapp''
2006 May 21
3
First try with lighttpd
Hi,
I have a Rails application sitting on my computer that works just fine
with webrick. I would like to try to serve it locally with lighttpd
I followed the instructions on the hivelogic site for installing lighttpd
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
Then I looked on page 457 in the Agile Rails book for instructions
about configuring the rails app for
2006 Jan 28
3
App running fine on Webrick, ActiveRecord::ConnectionNotEstablished in lighttpd
My app runs fine on webrick, but I get a
ActiveRecord::ConnectionNotEstablished when I try to run it on
lighttpd. Here''s the app''s lighttpd config:
$HTTP["host"] =~ "(www\.)?mysite\.com" {
server.document-root = "/home/pergesuteore/public/"
server.error-handler-404 = "/dispatch.fcgi"
fastcgi.server = ( ".fcgi" =>
(