12.04 Slow NIS performance with Ubuntu
I have setup NIS client on Ubuntu, however programs such as 'finger' function very slowly. With same settings, this works much faster on Fedora. the difference is about 0.5seconds vs 5 seconds. IP is used in yp.conf for the server settings (the yp.conf is same in the Fedora and Ubuntu box). I tried installing nscd but it didnt help and also it was not existent on Fedora anyway.
Any ideas on what might be the problem?
# cat nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-
# `info libc "Name Service Switch"' for information about this file.
passwd: files compat
group: files compat
shadow: files
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: files nis
#
# cat yp.conf
#
# yp.conf Configuration file for the ypbind process. You can define
# NIS servers manually here if they can't be found by
# broadcasting on the local net (which is the default).
#
# See the manual page of ypbind for the syntax of this file.
#
# IMPORTANT: For the "ypserver", use IP addresses, or make sure that
# the host is in /etc/hosts. This file is only interpreted
# once, and if DNS isn't reachable yet the ypserver cannot
# be resolved and ypbind won't ever bind to the server.
# ypserver ypserver.
domain XXX.YY server X.Y.Z.Q
ypserver X.Y.Z.Q
ypserver X.Y.Z.Q1
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Evren Yurtesen for more information if necessary.