search for: scgi_service

Displaying 17 results from an estimated 17 matches for "scgi_service".

2006 Jan 27
5
Multiple Apps running under Lighttpd with scgi on a Windows Box ... possible?
I''ve run into a problem on one of my development machines. I''m trying to run multiple rails apps on one dev machine that runs Windows. Problem is that is seems that I can only run one scgi_service at a time, meaning that only one of my apps will function at a time. Anyone know how I can get around this, other than getting a *nix box (which I should have soon, hopefully) ? Lighttpd.conf (part of it): var.test= "C:/Rails/Test" $HTTP["host"] == "test" { s...
2006 Feb 28
6
scgi+lighttpd+windows - why wont it work?
...as required for the scgi_rails gem according to http://www.zedshaw.com/projects/scgi_rails/) Then I downloaded scgi_rails-0.4.3.gem and installed it. I then ran scgi_ctrl config -S and entered a password (is this pwd supposed to map to the db or something??). When I cmd to my rails app and type scgi_service, i get the following nasty error: c:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:393:in `trap'': unsupported signal SIGHUP (ArgumentError) from c:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:393:in `run'' from c:/ruby/lib/ruby/gems/1.8/...
2006 Mar 07
0
production.log says status 200, browser says 500?
.../cgi_process.rb:161:in `flush'' d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/cgi_process.rb:161:in `out'' d:/ruby/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/dispatcher.rb:38:in `dispatch'' d:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service:23:in `process_request'' d:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service:21:in `synchronize'' d:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service:21:in `process_request'' d:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:29...
2007 Jan 09
0
Production Mode with SCGI
...ession_management_support'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:117:in `process'' c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in `dispatch'' c:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service:23:in `process_request'' c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize'' c:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service:21:in `process_request'' c:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:291:in `read_header'' c:/r...
2006 Apr 03
12
scgi?? do i need it for ruby?
This might be obvious to everyone but it is something that i haven''t been able to find an answer to. Do I need to have either scgi/fastcgi/cgi running on either lighttpd/apache for ruby scripts to work? If yes, why? I have installed the scgi server and i can get the service to run, i have also installed the following mod_fastcgi/2.4.2 mod_ruby/1.2.4 Ruby/1.8.2(2004-12-25) mod_scgi,
2005 Nov 15
11
Collecting thread: Too many open files (Rails+SCGI crash)
.../1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:205:in `collect_thread'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:195:in `listen'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:412:in `run'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service:61 [INF][24189] Exited accept loop. Shutdown complete. -- The SCGI process shuts down and the application is unavailable. That has happened two times now. The first time, I figured it might have something to do with opening files (and StringIO''s) without closing them. So I replaced every...
2006 Aug 02
0
Errno::ENXIO (Device not configured) when using net/https from rails
...ement_support'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/session_management.rb:117:in `process'' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/dispatcher.rb:38:in `dispatch'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service:23:in `process_request'' /usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service:21:in `process_request'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:291:in `read_header''...
2005 Oct 17
12
SCGI Rails Runner 0.4.1 (getting closer)
Hi All, Alright, this release is getting closer. It''s nearly complete except the docs on my site aren''t written yet. There is however a full README with RDoc documentation and several packages including a gem release. Please check out the latest release at: * Announcement: http://www.zedshaw.com/ * README and RDoc:
2006 Apr 12
4
Instant Rails SCGI Problem
I have installed instant rails and configured it http://instantrails.rubyforge.org/wiki/wiki.pl?Getting_Started I can get typo and webrick to work on webrick localhost:3000 but cant get anything to work with scgi. When i start the scgi server i get a blank dos window screen. When i type www.mycookbook.com into the browser i get the following Unable to connect Firefox can''t
2005 Oct 19
35
Why you MUST use SCGI for Rails development
Hello happy Railers, I used to develop with a local out-of-the-box Apache and load times were pretty slow (like a few seconds each page). "Well, it''s the price to pay for no compile / cache / etc..." I thought. Nonsense. Yesterday I installed SCGI, and now I''ve got the best of both worlds: rails development env uses my very latest modifications, while SCGI ensures I
2006 Jun 05
1
starting a non blocking child process
>From a ruby program I would like to start another process which should continue to run even after the parent process dies. Is there any way I could achive this? >From the child process I want to start an instance of SCGI server which should continue to run even if the parent process dies. Thanks in Advance, Jatinder -------------- next part -------------- An HTML attachment was
2006 May 26
0
SCGI + Lighttpd + SSL crashes - fine without SSL
...9;' /usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:188:in `listen'' /usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:186:in `listen'' /usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:412:in `run'' /usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service:61 >From a previous post, scgi is supposed to be getting an invalid request when this occurs, but why would this happen? Anyone else have this problem? Thanks very much ahead of time.
2006 Apr 08
0
Typo and Instant Rails 1.2
...rozen rails). I like to see in the SCGI console which app is running, so I added the following change which is just cosmetic. To display the environment and the port in the SCGI console window, I made the following changes: C:\InstantRails-1.2\ruby\lib\ruby\gems\1.8\gems\scgi_rails-0.4.3\bin\scgi_service <typo:code lang="ruby"> # Added Port for display -- Ed Gard def configure_rails(environment, port) ENV["RAILS_ENV"] = environment # Added to display environment and port -- Ed Gard STDERR.puts("Environment: #{environment}; Port: #{port}") require &q...
2005 Oct 27
0
SQL Server - Connection Failure after 10 mins
Hey guys, For some strange reason, I started getting this error message this morning: Execute OLE error code:80004005 in Microsoft OLE DB Provider for SQL Server Connection failure HRESULT error code:0x80020009 IF I restart apache and scgi_service, the problem goes away. However, 10 minutes later, it comes back Any ideas? _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2005 Dec 28
8
Rails app lags after inactivity
Hi all. I have two Rails applications. Each is on its own VPS hosted by Pipespring (excellent service btw). My app runs lightning quick - AFTER the first load. If I visit my site after a period of inactivity (i.e. no visitors to my site), it takes up to 10 seconds to load that first time. After that I can hop around with no problems. Has anyone run into this before? Ideas? - Rabbit
2006 Apr 03
9
Problem with Windows not finding methods
I am running (testing) a noob-tube for myself as follows: Windows XP SP2 lighty ruby 1.8.x rails 1.1 scgi I have everything working fairly well, but with one minor exception: the actions that I have defined as follows are not found. class MytestController < ApplicationController def index render_text "Hello Nurse!" end def dilbert render_text "Dilbert
2005 Nov 21
10
Anybody using SCGI in production?
Or does anybody prefer fastcgi/fcgi? I''m using webrick for development, but plan on using scgi when I switch to production (because it appears to be an update to fastcgi, and I couldn''t get fastcgi working anyhow). thanks csn __________________________________ Yahoo! Mail - PC Magazine Editors'' Choice 2005 http://mail.yahoo.com