Nick Kew wrote: > > On 20 Feb 2009, at 15:05, Jeff Trawick wrote: > >> (a simple diversion I hope from the other thread; I'll get back to >> that as soon as practical, and I appreciate the contributions there) > > OK, this one's much simpler. > > +1 to your proposals of not autoloading proxy, cache, and all-authnz > with the proviso that basic file-based auth should probably be supported > by default for the benefit of newbies following recipes found on the > 'net. > > OTOH, these'll still have relatively little effect on memory footprint. > That's more up to scripting modules, especially if _they_ load the > kitchen sink. > Oh, shoot; I missed the boat on the optional module packages, and especially a specific scripting module; thanks!
Starting with the minimal SUNWapch installation, vsize is only 12MB (perhaps mostly wasted, but not in the danger zone). Add jk and it grows only slightly. Add dtrace and it grows only slightly. Add just mod_php (no extensions) and it jumps to 23MB. Add the main PHP package, which brings with it a number of extensions loaded by default, and we're up to 60+ MB, clearly in the danger zone). For the typical OpenSolaris installation which will have PHP available, the Apache diet on its own doesn't change the big picture for swap space allocation requirements. Unless someone has a pragmatic way to address the PHP issue, there's no silver bullet. FastCGI is a potential solution but that seems a drastic change for the OOB experience. (If PHP can't go on a diet without consumability issues, then this should fall into the doc delivery.)