Hi! a tweak that i think you could do is to serve static content with lighthhtpd and the dynamic (symfony) with apache ... it can be easily set by using lighthttpd as proxy server .. This way, you will not be forced to activate a 32MB process to serve a 3KB image. I am not sure... but, i might think that would apache will get the request, will process, and after that will return the content to light httpd (this moment, the apache thread will shut down), wich will let lighthttpd to serve the content to the (maybe a slow) user. Alecs
On Tue, Feb 3, 2009 at 2:07 PM, Sumedh <[email protected]> wrote: > > Hi Friends, > > We recently ran into a problem where a lot of Apache processes were > hogging up memory... > > We haven't tuned Apache, and are using it almost as it is...what are > typical performance tunings I should do on Apache? > > I saw this thread - > > http://groups.google.com/group/symfony-users/browse_thread/thread/d2fa4a88a9b352f1/8bcb82307c82b0a1?lnk=gst&q=lighttpd#8bcb82307c82b0a1 > > and this post - > > http://www.markround.com/archives/30-LigHTTPd-and-Apache-Symfony-benchmarks.html > > And see conflicting opinions... :) > > In particular, > > 1. How safe it is to use Worker MPM as against Prefork with PHP? How > much benefit that'll give on a Linux box? What care would I need to > take in the code? > > 2. Using only Lighthttpd vs. using it only for resource files...any > opinions? > > 3. How can I reduce the number of Apache processes that seem to take > 16mb of memory each? Will reducing Keep Alive timeout help? > > 4. What kind of apache settings one should have for a typical symfony > site running on a box with 1 GB memory? If each apache process takes > about 16mbs, server will run out of gas with only a few concurrent > users...like 30? :( > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
