NIS or NFS problem

Posted on 2004-09-12
Last Modified: 2012-06-21
    We are using a freeBSD server which acts as NIS,NFS and DNS serer.The server configuration is as follows :P4 1.7Ghz ,3*128MB . We are using 4 nos of DAX 5016 switches with 16 ports .There are about 50 clients.All client machines have linux installed in them .Our network is using cat5 cables and has 100Mbps bandwidth.the server is having about 80 users accounts and their homes in it.The home is mounted using NFS.
     The problem is:
       During shift change when there is login from most of the machines ,the network hangs.The problem mainly occurs when users login to NIS server at shift
change.The network is slow at that time.It takes 10 minutes to login.When we
type a command (eg.#ls), result of the command takes 1 min to
display.There is delay when we move from one tab to another tab of any
browser(mozilla or opera).But the problem stops in about 30 to 45 min.(when every one has logged in).During this time the server load is 0.05,0.03,0.00
        When I check the logs there are 2 messages
      ypserve[115]:res_mkquery failed
      ypserve[115]:DNS query failed

In the client[LINUX machines] the error is
 RPC:sendmsg returned error 22
 lockd:RPC call returned error 22

We have recrimped the network replaced all switches ,but the problem has not been solved.I think it is the problem i\of NIS or NFS. what could cause this  problem and how could I fix it?

Question by:santoshunair

Accepted Solution

paranoidcookie earned 250 total points
ID: 12062883
Sounds like a dns timeout to me, depending on how you have set up nfs it tries to do reverse dns lookups, it there is no reverse address for the computer it will time out. 50 times out at once could cause the network to become very very slow.

I would suggest either disabling lookups, or better make sure your clients get reverse lookups either by alwasy assiging the same ip using MAC address ir using dynamic dns (would require bind 9 dhcp 3 server).

Hope that helps

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video discusses moving either the default database or any database to a new volume.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now