×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Troubleshooting

Why is my Linux Server slow? by ElTech
Posted: 1 Aug 03

Why is my Linux Server slow?

I have found that the following can cause a Linux server to slow down when connected or not connected to a Network.

a-DNS unreachable or invalid:

the /etc/resolv.conf file contains a DNS server not reachable by the Linux server or invalid DNS. To change the DNS type PICO /etc/resolv.conf (PICO works like the Notepad program in Windows). Backspace the old DNS and enter the new DNS. To Use the hosts file for DNS resolution when no DNS server is available, use nameserver ...
To save the file in PICO type Ctrl+X then press Y and then press Enter

b-Permissions for the /etc/resolv.conf file are not set correctly:

you may set the permissions by typing
chmod 755 /etc/resolv.conf
or you can delete the /etc/resolv.conf file and recreate it by typing rm /etc/resolv.conf and then recreate it by using PICO /etc/resolv.conf

c-If the server is using the /etc/HOSTS file, the file may not have an entry that the Linux server is looking for:

The Linux server may be looking for tek-tips.com but cannot resolve the IP using the HOSTS file because that entry is not in the HOSTS file. Use PICO /etc/HOSTS and enter any additional entries.

d-The server may need to be restarted

e-The Network file may be missing a hostname or other information
pico /etc/sysconfig/network
The line HOSTNAME= needs to have a hostname after it
HOSTNAME=helper.tek-tips.com
Also check the GATEWAY= line for the correct gateway
pico /etc/sysconfig/network-scripts/ifcfg-eth0
Check IPADDR= and NETMASK= for the correct IP address and Subnet Mask
I always recommend to compare the network setting from a working machine to the problem machine.

tek-tips.com username eltech

Back to Linux (server) FAQ Index
Back to Linux (server) Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close