I have a micro instance of Ec2 with Django connected to apache via wsgi. Whenever I hit the server httpd hits top of the CPU and memory cycle and page consequently take some time to load.

Can someone help me tweak apache so that it does not consume a lot of memory?


Try removing unnecessary modules, for example if you don't need python or perl you can remove:

LoadModule python_module modules/mod_python.so
LoadModule perl_module modules/mod_perl.so

From the configuration files.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.