[rt-users] mod_fastcgi or mod_fcgi, whats your expirience?

Vivek Khera vivek at khera.org
Wed Jan 24 16:53:16 EST 2007


On Jan 23, 2007, at 8:47 AM, Torsten Brumm wrote:

> who is using mod_fastcgi and who mod_fcgi? Can me tell someone the  
> pros and cons? We are still using mod_fastcgi and we have a lot of  
> problems. Did some have a good configuration example for both??

What does "lot of problems" mean?  Perhaps if you described the  
symptoms we could help fix the cause...

I use mod_fastcgi on FreeBSD 6.1 with Apache 2.0, perl 5.8.8, SSL  
enabled.  i have to do an apache reload (graceful restart) once per  
night to force it to restart the fastcgi processes as they seem to  
memory bloat and we process a lot of tickets.  I'd love it if they  
had the equivalent of Apache::SizeLimit from mod_perl...

### RT3 FastCGI

<Directory "/usr/local/rt3">
     AllowOverride None
     Order allow,deny
     Allow from all
</Directory>


# set idle timeout a bit longer than RT's idle timeout.
FastCgiServer /usr/local/rt3/bin/mason_handler.fcgi -processes 8 - 
idle-timeout 305

<VirtualHost *:443>
     ServerName www.example.com
     DocumentRoot "/usr/local/rt3/share/html"
     AddDefaultCharset UTF-8
     ErrorLog /var/log/httpd-rt-error.log
     CustomLog /var/log/httpd-rt-access.log combined
     AddHandler fastcgi-script fcgi

     Alias /NoAuth/images /usr/local/rt3/share/html/NoAuth/images
     Alias / /usr/local/rt3/bin/mason_handler.fcgi/

     SSLEngine on
     SSLCipherSuite ALL:!ADH:!EXPORT56:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:- 
LOW:+EXP:+eNULL

     SSLCertificateFile /usr/local/etc/apache2/ssl.crt/ 
www.example.com.crt
     SSLCertificateKeyFile /usr/local/etc/apache2/ssl.key/ 
www.example.com.key
     <Files ~ "\.(cgi|shtml|phtml|php3?)$">
         SSLOptions +StdEnvVars
     </Files>
     SetEnvIf User-Agent ".*MSIE.*" \
          nokeepalive ssl-unclean-shutdown \
          downgrade-1.0 force-response-1.0
</VirtualHost>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070124/493d9f9b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2530 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070124/493d9f9b/attachment.bin>


More information about the rt-users mailing list