Mantis - Resin
Viewing Issue Advanced Details
3117 minor always 12-04-08 16:09 07-21-11 16:27
ferg  
ferg  
urgent  
closed 3.2.1  
no change required  
none    
none  
0003117: many virtual hosts
(rep by Matthew Schmidt)

So if ${resin.root} is /usr/resin, then we just make a hosts directory (that I guess could be a link to somewhere else) and then drop directories in there for each virtual host, using a config file for setting CNAMEs. Seems simple enough. Do you have any recommendations on what we'd do if we wanted each virtual host to have a separate db config so we didn't actually need to duplicate the app for each of the virtual hosts? I suspect that would quickly get unmanageable :)

For the mysql_connect thing, that's actually quite cool :) One thing we've seen with Drupal is that when Apache gets backed up with a lot of connections, Drupal tries to open 1 for each connection, leading to a db overload. Being able to limit that to a pool of 50 will probably help things not get out of control :)


There are no notes attached to this issue.