Xi6.org

Apache web server slow to respond, Poor performance Ubuntu Linux

by on Mar.14, 2009, under linux/ubuntu

If you’re finding that when going to your web page it’s taking a little too long to make the connection, or its just running sluggsih – it may be trying to resolve your ip via a DNS lookup.

There are many performance tweaking options to tune your apache configuration, but I’m going to start by handling just this one.

Now by default HostnameLookups should be Off. And can be found in

/etc/apache2/apache2.conf
HostnameLookups Off

But you may also want to add it to the httpd.conf

/etc/apache2/httpd.conf

And restart apache

sudo /etc/init.d/apache2 restart

This may or may not fix your performance issues, but it sure did help me greatly! (Even though it was set to off in the apache2.conf file, adding it to the httpd.conf file increased my performance)

An interesting article you may find useful HERE

:, , , ,
No comments for this entry yet...

Leave a Reply

You must be logged in to post a comment.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...