similar to: mod_fcgid first connection issue

Displaying 20 results from an estimated 40000 matches similar to: "mod_fcgid first connection issue"

2006 Mar 08
3
mod_fcgid first request slow
I have posted this before with not much response so I am posing the question again. Is there a solution for this very apparent issue with mod_fcgid that the "First connection is incredibly slow". It seems its b/c mod_fcgid doesnt keep at least 1 persistent connection around that this first connection needs to start up and then every other request is fast. Is there a solution to this?
2006 May 11
5
Recommendations for Apache 2 with mod_fcgid
Hi, Have been pulling out my hair for the last few days wondering what I''m going to deploy my site onto. I currently have FreeBSD 4.7, Apache 1.3.3, PHP 4 and MySQL 4 running a year-old PHP site. Dated stuff I know! The new version of the site will be entirely Ruby on Rails, and I am wondering what order I should be doing things in terms of upgrades and installation. I want to be
2006 Jun 27
0
mod_fcgid trouble
Hello everyone, I''m having some trouble hosting using mod_fcgid. If I run ruby -d dispatch.rb I get the error: Exception `NameError'' at ./../config/boot.rb:14 - uninitialized constant Rails Any ideas on how to fix this? The weird thing is that running it with webrick works just fine. I tried setting the GEM_HOME environment variable in my environment.rb, but I started to get
2006 Nov 09
0
Apache configuration
i TRY TO CONFIGURE APACHE FOR RUBY ON RAILS ON UNIX. BY THE FOLLOWING WAYl: Install FastCGI 1. wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz 2. gunzip fcgi-2.4.0.tar.gz 3. tar -xvf fcgi-2.4.0.tar 4. cd fcgi-2.4.0 5. ./configure 6. make 7. make install 8. cd ../ Install mod_fcgid 1. cd ~ 2. wget http://fastcgi.coremail.cn/mod_fcgid.1.09.tar.gz 3. gunzip
2006 Apr 27
0
mod_fcgid-1.09 released. Adds DefaultMinClassProcessCount
No more long delays because every dispatch.fcgi got killed for reaching max idle time. mod_fcgid is a GPL, binary-compatible alternative to mod_fastcgi. mod_fcgid is recommended over mod_fastcgi when using Apache2. This release gains a feature that many on Apache2 has been waiting for: DefaultMinClassProcessCount(default 3). Idle fastcgi will not be killed if their count is less than
2008 Sep 06
0
Problem with mod_fcgid on AMD64
Earlier today I reinstalled one of our web servers (Dell PowerEdge 860 running dual or quad core Xeons) with amd64 RELENG_7 as of today, replacing i386 RELENG_7 from about a month back (clean install). After installing Apache 2.2.9 and mod_fcgid 2.2 from ports exactly as on the other i386 machines, Apache fails to start with: [Sat Sep 06 19:48:19 2008] [notice] suEXEC mechanism enabled
2017 Dec 06
0
CEBA-2017:3308 CentOS 7 mod_fcgid BugFix Update
CentOS Errata and Bugfix Advisory 2017:3308 Upstream details at : https://access.redhat.com/errata/RHBA-2017:3308 The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) x86_64: 40e654de557229bc3157fa5a96b965295abf8682f1877a3fdfbac129a1cc53d7 mod_fcgid-2.3.9-4.el7_4.1.x86_64.rpm Source:
2006 Mar 23
1
mod_fcgid
Hello, I''m using rails on apache2 with mod_fcgid and I can''t seem to set the RAILS_ENV properly. I have dev & production vhosts and would like to set the environment from within apache rather than globally via fcgid.conf, and I thought this might work from within the relevant vhost: DefaultInitEnv RAILS_ENV production but it seems to do nothing... Does anyone know the
2006 Jun 07
0
mod_ruby, mod_fcgid performance
anyone ever try to test between mod_ruby and mod_fcgid ? Artit S. -- Posted via http://www.ruby-forum.com/.
2006 Jul 28
4
[mod_fcgid] 503 server temporarily unavailable
Hi There, Every now and then, and recently more and more we get a "503 server temporarily unavailable" error from our rails app. We are running Rails 1.0 with mod_fcgid in Apache 2.0.54 on Debian The thing is I don''t think we have such a heavy load on the server, and I haven''t seen this error occur at all outside the rails app. In fact I don''t think I ever
2006 May 23
12
Mod_fcgid question: is this normal?
I installed mod_fcgid yesterday. It works great for my Rails app. But in my fastcgi.crash.log is constantly get this output: [23/May/2006:08:12:07 :: 29040] starting [23/May/2006:08:18:48 :: 29040] asked to terminate immediately [23/May/2006:08:18:48 :: 29040] terminated by explicit exit [23/May/2006:08:22:03 :: 29391] starting It also shows up in the Apache error log. Is this normal? Or should I
2006 Apr 09
18
I can''t get mod_fcgid to work
Hi, I just installed mod_fcgid on my apache2 server. When I try to load my application I get an "Application error - Rails application failed ..." message. In my Apache2 error-log it says: Premature end of script headers dispatch.fcgi mod_fcgid process /data/www/app/dispacth.fcgi exit (communication error), terminated by calling exit(), return code 1 Any help with this would be
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello, I have a gentoo system that I am trying to remotely develop rails applications on using apache and fcgi. I created the simple hello world example from Dave Thomas'' book to test the system and I receive an "application error" when I try to go to the page. I can startup webrick and use links to view the page just fine, but nothing doing through apache. I have
2006 Jan 04
6
ajax in rails is a security violation
Does anybody have any issues with the AJAX code inside rails? Whenever i use any sites i have built, or even external sites (such as basecamphq) my internal security device blocks access to the Ajax piece with a 400 Bad Request ( i scoured the net for other ajax examples and no isses anywhere else). I think there is something in the AJAX code of rails that is not implemented correctly. Has
2006 May 07
0
apache/lighttpd or apache with fcgid
I am trying to determine (from people''s experience here) if there is a benefit to proxying apache -> lighttpd -> rails instead of just using apache mod_fcgid -> rails. I am having some concerns of the stability of the fcgid apache modules as well as the incredibly painful first connect issue with apache mod_fcgid. Is the lighttpd fcgi more stable and mature than apache ? Is
2006 May 23
2
additional fields in session DB table
I am using active record sessions and everything works fine. I am integrating it with phpbb however so i need some extra fields populated in the session table. In application.rb i put a before_filter to update the session table I have a model for the sessions $ more app/models/session.rb class Session < ActiveRecord::Base set_primary_key "session_id" set_table_name
2006 Jun 28
0
MySQL Errors
I''m working on deploying my app on Solaris 5.8, Apache 2.0.55, mod_fcgid- 1.09, and mysql-4.1.15. I am getting the following error in my log when running through mod_fcgid: > ActiveRecord::StatementInvalid (Mysql::Error: Lost connection to MySQL server during query:... The catch is that I get no errors when using WEBrick or script/console. It took me a while to get the mysql-ruby
2006 Apr 19
3
best way to check session for nil
Hello, What is the best way in rails to check a session hash value for nil ? I have a session hash called user (session[:user]) that sometimes I have to check for a certain variable like session[:user].email. however the following always results in an error if session[:user].email and I always have to do if session[:user] and session[:user].email Is there a cleaner way to do this then
2006 Mar 09
4
cross domain cookies
Does anybody know how to access the domain of a cookie from inside rails? I am try to integrate phpbb forums into my site and one of the things phpbb does is store a cookie. The forums are at forums.domain.com and the site is www.domain.com so i needed to set the cookie domain in phpbb to just be ".domain.com" so both sites can access it. The trouble is when using cookies[] in rails,
2006 May 29
14
Jabber Powered Rails Chatroom
For those who cant access IRC, or just looking for a quick browser based alternative, i started an open jabber powered webchat for rails. Hopefully this will be a nice alternative for people to go to ask questions, get some help, offer some help, etc. I hope the community enjoys it, just trying to give a little back for all the hard work. It can be accessed here http://jabber.dufftech.com