similar to: SCGI + Lighttpd + SSL crashes - fine without SSL

Displaying 20 results from an estimated 5000 matches similar to: "SCGI + Lighttpd + SSL crashes - fine without SSL"

2007 Jan 09
0
Production Mode with SCGI
Hi, I have an application running on Apache SCGI (Win XP). Once I run it in production mode (scgi_ctrl config -S -e production ) I''m getting stack trace instead of HTTP status 500 (Application Error) and the error is logged production.log. The application works fine without SCGI. Your help is highly appreciated.... Thanx /* production.log */ # Logfile created on Thu Jan 04 16:35:43
2005 Nov 15
11
Collecting thread: Too many open files (Rails+SCGI crash)
I have a problem with running Rails 0.13.1 with scgi_rails 0.4.3 and Apache. After running for some time (more than a day), the SCGI process stops with the following error (from scgi.log): -- [ERR][24189] Collecting thread: Too many open files [ERR][24189] /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:188:in `accept''
2006 Feb 28
6
scgi+lighttpd+windows - why wont it work?
two problems, pls help...I''m under big pressure at work to fix this! I''m having trouble getting scgi and lighttpd running on windows - here''s what I did: On Win XP, I installed ruby, rubygems, and setup my rails app. All works fine with webrick. I then did: gem install cmdparse and gem install highline (as required for the scgi_rails gem according to
2006 Mar 07
0
production.log says status 200, browser says 500?
I have a long running operation (more than a minute) that is running in a request. The operation completes according to the log and the log says that it returns http status 200. Sometimes an error message is written after the 200 log message (included at the end of this message). But the browser get a status 500 from the Apache server. We''re using Apache with SCGI on Windows doing
2006 Aug 02
0
Errno::ENXIO (Device not configured) when using net/https from rails
Cross posting this to the rails list in case it might be rails specific. I really have no clue on this one. OS is Freebsd 6.1. I have the following code that creates a https connection from within a rails controller. Works fine except that if it doesn''t get called for a few hours it starts throwing an exception until I restart rails (apache1.3 + scgi). I wonder if something here
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) ?
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 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,
2006 Feb 23
5
Help with SCGI please :(
Hi, While learning Ruby and Rails, I decided I just as well learn Linux along the way... It''s been fun, but I''m stuck at one of those exasperating moments... I hope someone can help me :) I installed Ruby 1.8.4 on Fedora Core 4, then Rails, then lighty, and then SCGI. I used yum to install lighty... and it already comes with mod_scgi. I created my first application in
2006 Apr 08
0
Typo and Instant Rails 1.2
Instant Rails is at 1.2 and I have installed Typo SVN Revsion 1000. The sidebar changes stall with the spinner running even after the *publish* button is clicked. The changes, themselves, do appear in the actual blog. When the *Sort Alphabetically* is clicked under categories an error occurrred. I changed the code as follows:
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
2006 Feb 27
0
Lighttpd,Apache, FastCGI, SCGI
I am going through the process of transferring my MVC skills from Java and LAMP to RoR. If someone wanted beocme master/expert at both FastCGI and SCGI what would be the setup on windows XP? My thinking is to use: -XAMPP+SCGI on c drive -WAMP+FastCGI on f drive -lighttpd +SCGI or FastCGI and bind different servers to different IPs as I can set IPs via loopback interface to my networkcard.
2006 May 18
2
Lighttpd scgi error on windows
Hi, I have followed the instructions below to get lighttpd and scgi working on windows. http://wiki.rubyonrails.org/rails/pages/HowToDeployWithLighttpdOnWindows When i typ in the following address http://127.0.0.1:9999/ i get just a blank white page. In the scgi.log file i have the following error but dont know what the problem is [INF][3552] Running in production mode on 127.0.0.1:9999
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
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
2005 Dec 01
12
Difficult process of restarting SCGI, Lighttpd, Apache, sessions
I''ve managed to get Rails working using Apache->Lighttpd->SCGI. Restarting everything is really difficult. This appears to be the process: - stop apache - stop lighttpd - stop scgi - make sure scgi still isn''t running (it sometimes does) - if it is, kill it - delete all session files (they often cause permission errors) - start scgi - start apache - start lighttpd - cross
2005 Sep 29
2
[BUG] Quick Fix for SCGI leaked DB connections
Hi Folks, I believe I tracked down the problem with the leaked DB connections. The simple fix is to put: ActiveRecord::Base.threaded_connections = false In your environment.rb file right before environment.rb does any ActiveRecord use. For example, here''s mine: ActiveRecord::Base.threaded_connections = false ActiveRecord::Base.configurations =
2006 Jul 19
4
Rails crashes my fcgid/fastcgi/scgi on apache2/lighttpd :<
Or maybe I crash it and don''t know why. Here is the setup: I have an action that will crash my debian sarge development box using fcgid, fastcgi and scgi running with Apache2, as well as fastcgi running with lighttpd, every time. Here is the action from the controller: ------------------- def crashme @orders = Order.find(:all, :order => "`id` ASC", :offset
2006 Feb 15
0
Lighty/SCGI: not found: /dispatch.scgi
I have a ton of these in my Lighty error log: 2006-02-15 15:55:53: (connections.c.1383) Warning: Either the error-handler returned status 404 or the error-handler itself was not found: /dispatch.scgi 2006-02-15 15:55:53: (connections.c.1385) returning the original status 404 2006-02-15 15:55:53: (connections.c.1387) If this is a rails app: check your production.log And I guess it''s
2006 May 22
1
configuring apache with scgi
i had been trying for weeks to get fcgi to play right with apache. i finally got it working, but it''s far from stable. it was recommended to me that i should try using SCGI and that it is much easier to set up. being new to this stuff though, i''m not sure if there''s a lack of documentation or if there are some things that are just assumed and not known by a noob