System Slow After Uprading Ubuntu
- by Aragon N
I have an Ubuntu network machine which has release of 10.04.1 LTS Lucid. On this system I have Apache, PostgreSQL and django. For some app. development I have to install PGP and php-curl. Due to being on network, I have exported a VMware machine to the Internet and firstly I have upgraded the system and then installed php5 packages on it.
I don't know is it all about django or apache configuration. Maybe some Apache settings had changed. In this case in apache where I have to look at ?
After all replacing it with its old place, I see that the new system query is slow according to another.
Old system query time : 140 ms
New system query time : 9.11 s
I have checked /etc/network interface and it seems there is no problem. I have checked /etc/resolv.conf and it seems OK I have checked /etc/nsswitch.conf and only host section is different from old one which old system has hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
and then I have checked time host -t A services.myapp.com and I got
real 0m0.355s
user 0m0.010s
sys 0m0.020s
and I have checked apache2 HostnameLookups :
find /etc/apache2/ -type f | xargs grep -i HostnameLookups
It returned :
/etc/apache2/apache2.conf:# HostnameLookups: Log the names of clients or just their IP addresses
/etc/apache2/apache2.conf:HostnameLookups Off
and now what can I have to check for boosting my system as before?