Displaying 9 results from an estimated 9 matches for "processlifetime".
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 Aug 15
2
Apache & FCGI: Premature end of script headers:
...roblem, as sometimes everything is
running fine.
Maybe it is a problem related to timing:
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
SocketPath /var/lib/apache2/fcgid/sock
DefaultInitEnv RAILS_ENV production
IPCCommTimeout 50
IPCConnectTimeout 50
MaxProcessCount 40
ProcessLifeTime 86400
IdleTimeout 80
DefaultMaxClassProcessCount 8
</IfModule>
Dispatch.fcgi is running fine if I start direct from command line with
the following message (ignore the warning - I have to clean this up):
../config/../vendor/date.rb:3: warning: already initialized constant
MONTHNAMES
....
2007 May 17
3
Ubuntu rails server
...</Directory>
</VirtualHost>
in fcgid.load
LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so
in fcgid.conf
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
DefaultInitEnv RAILS_ENV production
SocketPath /var/lib/apache2/fcgid/sock
IdleTimeout 60
ProcessLifeTime 6000
MaxProcessCount 32
DefaultMaxClassProcessCount 2
IPCConnectTimeout 6
IPCCommTimeout 6
</IfModule>
My apache version is 2.2.3 and this is the reason that all conf is
separated in files.
These are the settings.
If someone can tellme where is the problemm.
Thanks
--
Posted via ht...
2008 Jul 23
3
Premature end of script headers: dispatch.fcgi
...cgid-script .fcgi
Options +FollowSymLinks +ExecCGI
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
fcgid.conf:
<IfModule mod_fcgid.c>
SocketPath /var/lib/apache2/fcgid/sock
IdleTimeout 3600
ProcessLifeTime 7200
MaxProcessCount 8
DefaultMinClassProcessCount 3
DefaultMaxClassProcessCount 2
IPCConnectTimeout 8
IPCCommTimeout 60
</IfModule>
apache.conf:
<VirtualHost 1.2.3.4:80>
SuexecUserGroup vu2025 vu2025
...
DocumentRoot /var/www/virtual/MY_APPLICATION/new/htdocs/...
2006 Aug 16
3
problems with fastcgi, apache2 and debian sarge
Apache conf:
FastCgiServer /var/www/gissmoh.de/public/dispatch.fcgi -initial-env
RAILS_ENV=prod
uction -processes 5 -idle-timeout 60
<virtualhost 212.87.142.234:80>
ServerName www.gissmoh.de
DocumentRoot /var/www/gissmoh.de/public
CustomLog /var/log/apache2/gissmoh.de/access.log
combined
SetEnv RAILS_ENV production
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 Sep 19
9
RoR with apache2 on SuSE
Hi,
I have an application completed that was built with RoR on windows. So
this of course was tested with the webbrick server. I now want to put
the project on our apache web server for production. I am having a very
hard time getting this accomplished. I followed some of the steps here
(because not all of them worked):
2006 Aug 06
19
Rails *that* slow?
I''m working on my first little rails-application. It''s a rewrite of a
gallery-script i once made (in PHP): http://notdotnet.net
However - my rails-version is waaay to slow :(
http://r.notdotnet.net/
I don''t do any heavy image-processing, I don''t have any
killer-algorithms with a time complexity on O(n^n), and I don''t use any
major hacks.
The only
2006 Jun 16
12
FastCGI times out?
Hello there,
So I''m still struggling with this fastcgi stuff. I''m trying to upload and
process a decent sized ZIP file, but the request dies before it finishes and
I get the following error:
FastCGI: comm with (dynamic) server
"/Users/ryan/Workspace/rails/photos/public/dispatch.fcgi" aborted: (first
read) idle timeout (30 sec), referer: http://photos/album/new/4