Displaying 20 results from an estimated 10000 matches similar to: "Lightty idle-timeout - does it work?"
2006 Feb 15
4
Lightty 1.4.10 socket file problem
When I run lighttpd 1.4.10 [on Mac OS X] the socket file is called
''fcgi.socket-'', versus ''fcgi.socket-0'' that I get under 1.4.8.
Further, when the FCGI daemon quits, the file does not get deleted,
and I cannot restart my Rails app until I manually remove it.
Can anyone confirm before I raise a bug at lighttpd.net?
2006 Oct 10
7
Problems with RJS w/ Lighttpd & Ubuntu
I have my code working on my local machine no problem, but when I upload
to the server the RJS effects I have aren''t working. The server is
running Ubuntu Dapper w/ lighttpd while on my local machine I''m using
webrick.
For kicks I shut down lightty and booted my app on the server with
webrick and it works fine. So it''s definitely a lightty issue.
Anyone else seen
2006 May 11
3
LightHTTPD FastCgi Error in Production Mode
I''ve been banging my head against the following for about 8 hours now,
and have exhausted my web research options:
/usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21:in
`require'': no such file to load --
/usr/home/matthew.feadler/rails/avclfc/public/../config/environment
(LoadError)
from
/usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21
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 16
18
mongrel lighttpd and ssl
I am wanting to one run instance of lighttpd, many many instances of
mongrel. I also need ssl but only for one of my sites. I understand that
Mongrel does not play with SSL so I am forced to use Lighttpd. I think that
lighttpd only handles ssl or non-ssl on any given instance. Is there a way
for me to accomplish my goal of one lighttpd with multiple mongrels and the
occasional ssl connection?
--
2006 Feb 07
4
Can''t stop/start lighttpd
Hello everyone,
I?ve been working with Ruby on Rails for about 2 months now and have
really enjoyed the ease of use of it. I?m only been doing development
on it so I?ve been using WeBrick. Recently, I have built a server
running Debian Linux, with ruby 1.8.2, rails 1.0.0, lighty 1.4.3, and
Mysql 5.0.18. I used WeBrick to generate a lighttpd.conf file for me, I
changed the paths in the
2006 Apr 15
19
Trouble with Lighty
I''m trying to setup my rails application with Light+fcgi.
This is the error I''m getting when I try to start Lighttpd :
============
[getcapture@alpha getcapture]$ ~/etc/rc.d/lighttpd.sh start
Starting Lighttpd
2006-04-15 11:27:24: (mod_fastcgi.c.1022) execve failed for:
/home/getcapture/application/public/dispatch.fcgi No such file or
directory
[getcapture@alpha getcapture]$
2006 Apr 07
4
Big fcgi problem...
Hi all
My lighty spawn 10 fcgi process, some times, one or two of them will
eat all most 90% CPU, when i kill them, everything is ok.
I want a script to auto kill these Big fcgi,
could you give me some advise?
regards
--
Posted via http://www.ruby-forum.com/.
2006 Jul 29
6
why is webrick running in development mode?
Hi,
I changed my environmnet.rb to say PRODUCTION mode, however when I start
up a server "ruby scripts/server"
a) it runs in development mode (via the logs) - any ideas why?
b) why does webbrick run - I thought by default now it was supposed to
be lightty
Tks
--
Posted via http://www.ruby-forum.com/.
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 May 25
4
downloads dispatch.fcgi for every request!!
Hi All, has anyone ever seen it when they vist the URL in the applicaion
that it just tries to download the FCGI dispatch file?
Im running FC3, Lighttpd1.4.11, Rails 1.1.2 and FastCGI.
i run IRB and get...
irb(main):001:0> require ''fcgi.so''
=> true
irb(main):001:0> require ''fcgi''
=> true
On the default rails install page ''riding on
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" =>
2006 Mar 21
5
RoR and Growing Pains
I have persuaded my company to move towards an RoR shop... from a PHP 5
(with in-house-built framework)... so the jump is not terribly bad. I''m
REALLY excited actually!
My problem: I am overwhelmed with all the setup Loops I have to jump
through to get RoR setup. I tried it on my current Apache 1.34 and
decided it''d be easier to make the Lighty (1.4.11) jump. So I did. I get
2006 Oct 02
1
Problems Deploying a Camping app on TxD
So I''ve been trying all day to get a small camping app I wrote up on
Textdrive to no avail.
Right now I''m getting a 500 error when I go to the site, and it spits this
out (from lightty after i restart it and make a request to the app):
(eval):13:in `initialize'': undefined method `to_hash'' for
#<FCGI::Stream:0x83a35d8> (NoMethodError)
from
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
Hi everybody
I am trying to get RoR to work with lighttpd.
Nearly there, but I am stuck with a strange phenomenon.
If I configure lighttpd to serve pages on say port 2000, I can get at my
testapp fine and see the "Welcome aboard" page.
However, if I configure lighttpd to use port 80, I get a download prompt
from my browser.
If I access my URI like
2005 Dec 28
3
problems with lighty on linux
I''m trying to get our app running on Lighty... I followed Ezra''s
instructions: http://brainspl.at/pages/rails_stack... Currently the app
runs fine with webrick, but with lighty I get 404 errors on everything.
I found if I don''t edit the lighttpd.conf file to use absolute paths, it
works fine. But this is not good for production because I need to run it
with the -d
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" =>
(
2006 Mar 29
42
Production environment for Rails on Win32, anyone interested for a binary release?
Hi all, as part of adopting Rails in my company I had to go through
the hassle of setting up a Rails production environment on Win32
system since we mostly use MS SQL as our database back end and also
because we mostly dealing with customers who become green-blue-purple
as soon as you mention Unix/Linux and run for the door.
I also need to mention that most of our web applications are internal
and
2006 Jan 14
6
Error installing Rails/FastCGI/Apache2
Trying to install rails/fcgi/apache2. Following these instructions:
http://xmlareas.com/ruby-rails-howto.html
Using Fedora Core 4. I installed ruby and ruby-devel using apt-get.
Everything under Adding FastCGI (optional) works fine up to the gem install
fcgi part. Here is what happens:
[root@paulbarry fcgi-2.4.0]# gem install fcgi -r --
-with-fcgi-lib=/usr/local/fcgi/lib
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