####################
os: redhat 8.0
hardware: DL360 G3 2 X 2.80
kernel 2.4.18-14smp
samba 2.2.5
####################

i'm using a samba on a linux machine, and share a network appliance
nfs share, it is accessed by 7 win2000 machines by IIS.
while working, the smbd procs "kills" the cpus and causing a very high
load on the server. the server gets very slow.
the dir that the samba shares, is a flat directory that has inside it
197105 files. i know it's a lot but on our old server with redhat 7.2
and samba 2.2.1a
it worked well.

when i strace the smbd procs i see alot of activity of these two
functions:
getdents64
mremap

################################################## ###
the smb.conf file

[global]
smb passwd file = /etc/samba/smbpasswd
wins server = 192.118.132.184
printing = lprng
dns proxy = no
encrypt passwords = yes
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
printcap name = /etc/printcap
max log size = 5000
deadtime = 1
security = share
log level = 1
server string = Samba Server Production
password server = 192.118.132.184
workgroup = mydomain
local master = no
log file = /var/log/samba/%m.log
netbios name = linux4
guest account = nobody
load printers = no
kernel oplocks = no
oplocks = no
locking = no
blocking locks = no


[netapp]
path = /netapp/datalinux/vm_data
public=yes
read only = yes
; share modes = no
;browseable = no
oplocks = no
;level2 oplocks = no
;oplock contention limit = 7
;fake oplocks = yes
locking = no
deadtime = 1
#############################################

if anyone can help please reply.

thanks.