Displaying 20 results from an estimated 98 matches for "mod_fcgid".
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),
terminate...
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 saw it before we switched to fcgid.
Has anybody else experienced anything simila...
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 Defau...
2008 Jun 12
7
Problem uploading files (possibly an OS X issue?)
I have a running Rails application that uploads files back to the
server occasionally. I recently switched my development machine from a
Linux box to OS X 10.5, using the Apache server built-in on OS X and
mod_fcgid. I thought everything was fine until I recently tried to use
the file upload feature. If I specify a reasonable sized (164 Kb) file
for upload then I get an immediate error, before my controller even
gets to handle the request. This is what is in the log:
/!\ FAILSAFE /!\ Wed Jun 11 17:33:03 -070...
2017 Dec 06
0
CEBA-2017:3308 CentOS 7 mod_fcgid BugFix Update
...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:
380eb1f8aadcacf2b78c0e464cb4c694f8206306fe384142b47a215822eec5ed mod_fcgid-2.3.9-4.el7_4.1.src.rpm
--
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #centos at irc.freenode.net
Twitter: @JohnnyCentOS
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 (wrapper:
/usr/local/sbin/suexec)
[Sat Sep 06 19:48:19 2008] [emerg] (12)Cannot allocate memory:
mod_fcgid: Can't create share memory for size %zu b...
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 environme...
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 seem...
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]...
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? This doesnt seem like a very production ready...
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 mod_fcgid.1.09.tar.gz
4. tar -xvf mod_fcgid.1.09.tar
5. cd mod_fcgid.1.09
6. vi Makefile
Change top_dir to:
top_dir = /usr/lib/httpd
Uncomment #INCLUDES and change to
INCLUDES=-I /u...
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 Mar 04
0
mod_fcgid first connection issue
Hello,
Running apache 2.x with mod_fcgid as recommended. My question is there
seems to be no "per rails instance" configuration which is fine however is
there a fix for this common issue of the "first request is always really
slow". I am finding if nobody hits my site for a little while then the
first request hangs a...
2006 Mar 12
4
Apache not running Fcgid
I''m having the same problems as this fellow, Mr. Cheetham, in getting
my rails app up and running on apache2+fcgid. Webrick runs, but
dispatch.fcgi never actually runs, and apache spits out a grusome
"Premature end of script headers: dispatch.cgi" error message in the
log. Mr. Cheetham describes his problem at
http://www.archivesat.com/Typo_blogging_engine/thread164398.htm
I
2006 May 11
5
Recommendations for Apache 2 with mod_fcgid
...order I should be doing things in terms of upgrades and
installation. I want to be able to make changes to the server one at a
time so that the existing site can continue running with minimal periods
of downtime in between (very important!)
I''m thinking:
1. Upgrade Apache to 2.2 with mod_fcgid running.
2. Check existing site runs fine for a while
3. Upgrade to MySQL 5
4. Check existing site runs fine for a while
5. After a while, bring down the old site and replace it with the Rails
version
6. Reboot the server having turned off PHP.
Note that I have no plans to upgrade PHP, as with th...
2006 Jun 18
2
Hosting multiple Rails applications with Mongrel
Hi,
I run a small web hosting company. We host a few Rails applications using
Apache 2.2 and mod_fcgid.
I have been experimenting with Mongrel and mod_proxy. But I can''t seem to
figure out how to host multiple
Rails - apps with mongrel. Do I have to start a new Mongrel process for
every virtual host on a different port?
Any help would be great.
MJ
-------------- next part --------------
An...
2006 Jun 22
9
Again on Apache 2
...aven installed with gem.
This is what I want to achieve.
I have a personal website (www.troccoli.it) which contains HTML only. I
want to have another website (spagnolo.troccoli.it) where I use Rails.
Both URL are resolved to the same IP: my Linux box.
I have managed to change httpd.conf to use mod_fcgid as follows
...
LoadModule fcgid_module modules/mod_fcgid.so
IPCCommTimeout 40
IPCConnectTimeout 10
...
I have also changed httpd-vhosts.conf (which is include in httpd.conf)
as follows:
...
NameVirtualHost *
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost conta...
2006 Jun 22
1
Problem integrating rails into apache
Hi all,
I''ve read the guide on integrating rails into apache on the
wiki.rubyonrails.com wiki, but I run into a problem.
I am trying to get the cookbook application as treated in the onlamp
tutorial about ruby on rails to work form apache. I can view the
index.html, but visiting cookbook/recipe/list gives me
Application error
Change this error message for exceptions thrown outside
2006 Aug 01
2
apache and fcgid
...d into lighttpd and fastcgi and found both to be
too time consuming and not well enough documented for what I''m doing.
My question is, how do I set up apache and fcgid to actually work? I got
apache installed. I think I got fcgid installed (I read somewhere all I
have to do is move the mod_fcgid.so file to the modules directory). What
I need to do now is properly configure apache so that it works because
right now it says it can''t find anything when I try to go to one of my
controllers. This leads me to believe apache isn''t properly using fcgid.
Is anyone else out the...
2006 May 12
1
Opinion on different web server setups?
...nd a host of small,
low-traffic PHP sites.
The servers are Opteron 148 (2.2GHz) with 1GB RAM (maybe an extra gig
would be of use here) and will run FreeBSD-6.1/amd64.
The setups I''ve either read a lot about - or have deduced are worth
looking into - are these:
- Apache + mod_php + mod_fcgid (Rails) - basically what I have
now, plus Rails
- Apache + mod_fcgid(PHP) + (mod_proxy+Mongrel)
- Lighttpd + mod_fastcgi(Rails & PHP) - the trendy way to do
things :)
- Lighttpd + mod_fastcgi(PHP) + Mongrel
In all cases, the Java load could be quite high in CPU terms
(rendering...