Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


NIS or NFS problem

Posted on 2004-09-12
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

paranoidcookie earned 1000 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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

722 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