search for: ipcconnecttimeout

Displaying 13 results from an estimated 13 matches for "ipcconnecttimeout".

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 Aug 15
2
Apache & FCGI: Premature end of script headers:
...uot; I cant see any generel configuration problem, 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:...
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
2007 May 17
3
Ubuntu rails server
...cgid_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 http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~---...
2006 Jun 29
0
can''t run rails application
Hello, I''m trying to run Rails on Apache 2.0 with mod_fcgid. It seems like fcgi has been set up ok, but still I can''t run my rails application. Here is my httpd.conf IPCCommTimeout 40 IPCConnectTimeout 10 DefaultInitEnv RAILS_ENV production SocketPath /tmp/fcgidsock <VirtualHost *:80> <Location /> RewriteEngine On RewriteOptions MaxRedirects=3 RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ dispatch.fcgi [...
2006 Feb 12
1
fcgid -> errors
Hi, I''m trying to get rails running on Debian stable with Apache 2, mod_fcgid, Rails 1.0. The application works fine with webrick (*). Let''s start here: @eugene [/var/www/ls2/linuxsi/public] $ ./dispatch.fcgi Status: 500 Internal Server Error Seems to result in the following in the log files: [12/Feb/2006:12:18:40 :: 4105] starting [12/Feb/2006:12:18:40 :: 4105] terminated
2008 Jul 23
3
Premature end of script headers: dispatch.fcgi
....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/public ... ScriptAlias /cgi-bin/ /var/www/virtual/MY_APPLICATION/new/cgi-bin/ <Directory /var/...
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 Jun 22
9
Again on Apache 2
....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 container. # The first VirtualHost section is used for all requests that do not # match a ServerName o...
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