To answer my own question, in case it helps anyone else. Here are the
steps I took to increase apache's performance.
1. Install libfcgi-ruby1.8. ('gem install fcgi' may work for you)
2. Edit tracks/public/.htaccess as follows
diff .htaccess-new .htaccess-org
3,4c3,4
< AddHandler fcgid-script .fcgi
< #AddHandler fastcgi-script .fcgi
---
> # AddHandler fcgid-script .fcgi
> AddHandler fastcgi-script .fcgi
34c34,35
< RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
---
> RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
3. Edited mod_fcgid.conf as follows
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
SocketPath /var/lib/apache2/fcgid/sock
SharememPath /var/lib/apache2/fcgid/shm
IPCConnectTimeout 20
IPCCommTimeout 40
DefaultInitEnv RAILS_ENV production
IdleTimeout 60
ProcessLifeTime 6000
MaxProcessCount 32
DefaultMaxClassProcessCount 2
</IfModule>
4. Restarted apache and tracks is much faster now.
--
Corey
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss