Hello, Four dispatch.fcgi processes are being launched for each domain, even though I only want one. I have two domains, and for each domain I''ve configured: "min-procs" => 1, "max_procs" => 1 How do I configure it so only one dispatch.fcgi process is launched for each? Below I''ve posted my lighttpd.conf and a ps aux. Thanks, Sean ===============================================root@smallcity:/var/rails/shelikes# more /etc/lighttpd/lighttpd.conf server.port = 80 server.pid-file = "/var/run/lighttpd.pid" server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi", "mod_accesslog" ) server.document-root = "/var/www/" server.indexfiles = ( "index.html" ) accesslog.filename = "/var/log/lighttpd/access_log" server.errorlog = "/var/log/lighttpd/error_log" $HTTP["host"] =~ "(www\.|)smallcity\.ca" { server.document-root = "/var/rails/smallcity/public/" accesslog.filename = "/var/rails/smallcity/log/access.log" server.indexfiles = ( "dispatch.fcgi", "index.html" ) server.error-handler-404 = "/dispatch.fcgi" # rails stuff #### fastcgi module fastcgi.server = ( ".fcgi" => ( "smallcity" => ( "socket" => "/tmp/smallcity.socket", "bin-path" => "/var/rails/smallcity/public/dispatch.fcgi", "min-procs" => 1, "max_procs" => 1 ) ) ) } $HTTP["host"] =~ "shelikes.smallcity.ca" { server.document-root = "/var/rails/shelikes/public/" accesslog.filename = "/var/rails/shelikes/log/access.log" server.indexfiles = ( "dispatch.fcgi", "index.html" ) server.error-handler-404 = "/dispatch.fcgi" # rails stuff #### fastcgi module fastcgi.server = ( ".fcgi" => ( "shelikes" => ( "socket" => "/tmp/shelikes.socket", "bin-path" => "/var/rails/shelikes/public/dispatch.fcgi", "min-procs" => 1, "max_procs" => 1 ) ) ) } # mimetype mapping mimetype.assign = ( ".rpm" => "application/x-rpm", ".pdf" => "application/pdf", ".sig" => "application/pgp-signature", ".spl" => "application/futuresplash", ".class" => "application/octet-stream", ".ps" => "application/postscript", ".torrent" => "application/x-bittorrent", ".dvi" => "application/x-dvi", ".gz" => "application/x-gzip", ".pac" => "application/x-ns-proxy-autoconfig", ".swf" => "application/x-shockwave-flash", ".tar.gz" => "application/x-tgz", ".tgz" => "application/x-tgz", ".tar" => "application/x-tar", ".zip" => "application/zip", ".mp3" => "audio/mpeg", ".m3u" => "audio/x-mpegurl", ".wma" => "audio/x-ms-wma", ".wax" => "audio/x-ms-wax", ".ogg" => "audio/x-wav", ".wav" => "audio/x-wav", ".gif" => "image/gif", ".jpg" => "image/jpeg", ".jpeg" => "image/jpeg", ".png" => "image/png", ".xbm" => "image/x-xbitmap", ".xpm" => "image/x-xpixmap", ".xwd" => "image/x-xwindowdump", ".css" => "text/css", ".html" => "text/html", ".htm" => "text/html", ".js" => "text/javascript", ".asc" => "text/plain", ".c" => "text/plain", ".conf" => "text/plain", ".text" => "text/plain", ".txt" => "text/plain", ".dtd" => "text/xml", ".xml" => "text/xml", ".mpeg" => "video/mpeg", ".mpg" => "video/mpeg", ".mov" => "video/quicktime", ".qt" => "video/quicktime", ".avi" => "video/x-msvideo", ".asf" => "video/x-ms-asf", ".asx" => "video/x-ms-asf", ".wmv" => "video/x-ms-wmv", ".bz2" => "application/x-bzip", ".tbz" => "application/x-bzip-compressed-tar", ".tar.bz2" => "application/x-bzip-compressed-tar" ) ===============================================root@smallcity:/var/rails/shelikes# ps aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 1480 520 ? Ss 11:40 0:00 init [2] syslog 15508 0.0 0.0 1692 720 ? Ss 11:40 0:00 /sbin/syslogd -u syslog root 15755 0.0 0.0 1596 484 ? Ss 11:40 0:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg klog 15780 0.0 0.0 1484 480 ? Ss 11:40 0:00 /sbin/klogd -P /var/run/klogd/kmsg root 16355 0.0 0.0 3456 1224 ? S 11:40 0:00 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf root 16356 0.1 0.4 18876 17380 ? S 11:40 0:01 /usr/bin/ruby1.8 /var/rails/smallcity/public/dispatch.fcgi root 17433 0.0 0.0 2572 1308 ? S 11:40 0:00 /bin/sh /usr/bin/mysqld_safe root 17460 0.1 0.4 18876 17380 ? S 11:40 0:01 /usr/bin/ruby1.8 /var/rails/smallcity/public/dispatch.fcgi root 17550 0.1 0.4 18876 17380 ? S 11:40 0:01 /usr/bin/ruby1.8 /var/rails/smallcity/public/dispatch.fcgi root 17625 0.1 0.4 18876 17380 ? S 11:40 0:01 /usr/bin/ruby1.8 /var/rails/smallcity/public/dispatch.fcgi root 17649 0.1 0.4 18612 17112 ? S 11:40 0:01 /usr/bin/ruby1.8 /var/rails/shelikes/public/dispatch.fcgi root 17687 0.1 0.4 18612 17112 ? S 11:40 0:01 /usr/bin/ruby1.8 /var/rails/shelikes/public/dispatch.fcgi root 17711 0.1 0.4 18612 17112 ? S 11:40 0:01 /usr/bin/ruby1.8 /var/rails/shelikes/public/dispatch.fcgi root 17744 0.1 0.4 18612 17112 ? S 11:40 0:01 /usr/bin/ruby1.8 /var/rails/shelikes/public/dispatch.fcgi mysql 18094 0.0 0.1 26072 4000 ? Sl 11:40 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --us root 18099 0.0 0.0 1464 492 ? S 11:40 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld root 22290 0.0 0.0 4684 1780 ? Ss 11:40 0:00 /usr/sbin/sshd root 22362 0.0 0.0 7468 2652 ? Ss 11:40 0:00 sshd: root@pts/0 root 25901 0.0 0.0 2696 1628 pts/0 Ss 11:41 0:00 -bash root 5635 0.0 0.0 2520 904 pts/0 S+ 11:42 0:00 screen root 5942 0.0 0.0 2676 1420 ? Ss 11:42 0:00 SCREEN root 7389 0.0 0.0 2712 1636 pts/1 Ss 11:42 0:00 /bin/bash root 8136 0.0 0.0 2116 860 pts/1 R+ 11:50 0:00 ps aux --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---