System Slow After Uprading Ubuntu

Posted by Aragon N on Server Fault See other posts from Server Fault or by Aragon N
Published on 2012-03-30T12:22:40Z Indexed on 2012/03/30 17:32 UTC
Read the original article Hit count: 287

Filed under:

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?

© Server Fault or respective owner

System Slow After Uprading Ubuntu

Posted by Aragon N on Ask Ubuntu See other posts from Ask Ubuntu or by Aragon N
Published on 2012-03-30T11:39:42Z Indexed on 2012/03/30 11:41 UTC
Read the original article Hit count: 287

Filed under:
|
|

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 php and php-curl... due to being on network, i have exported wmvare machine to internet and firstly i have upgraded system and then install php5 packages on it.

After all replacing it with its old place, i have considered that the new system query is some 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 now what can i have to check for boosting my system as before?

© Ask Ubuntu or respective owner

Related posts about ubuntu