Hi,
I have a FreeBSD 8.0-RELEASE-p2 machine running within a virtualised XenServer environment (using hardware virtualisation and local disk storage on the VM-host).
This machine is running a NIS-slave for user-sharing across several machines. In this particular case user lookups (like `id steije`) take forever.
If I run a `truss id steije` it keeps on reading the /etc/nsswitch.conf file over and over again (which I think is the problem here):
I've tried disabling NIS in /etc/nsswitch.conf, but even when I turn it off even running `id steije` stays slow.
I have several other (8.0-p2) machines running in the same virtualised environment without having these kind of issues.
Is there anybody with a solution to this problem?
I have a FreeBSD 8.0-RELEASE-p2 machine running within a virtualised XenServer environment (using hardware virtualisation and local disk storage on the VM-host).
This machine is running a NIS-slave for user-sharing across several machines. In this particular case user lookups (like `id steije`) take forever.
If I run a `truss id steije` it keeps on reading the /etc/nsswitch.conf file over and over again (which I think is the problem here):
Code:
stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=44432,size=115,blksize=4096 }) = 0 (0x0)
stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=44432,size=115,blksize=4096 }) = 0 (0x0)
stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=44432,size=115,blksize=4096 }) = 0 (0x0)
stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=44432,size=115,blksize=4096 }) = 0 (0x0)
I've tried disabling NIS in /etc/nsswitch.conf, but even when I turn it off even running `id steije` stays slow.
I have several other (8.0-p2) machines running in the same virtualised environment without having these kind of issues.
Is there anybody with a solution to this problem?