Netbench fails with samba 2.2 & 3 using oplocks

ZINKEVICIUS,MATT (HP-Loveland,ex1) matt_zinkevicius at hp.com
Wed Nov 29 20:31:31 GMT 2000


We're trying to run netbench against a box running linux (specs posted
below). Using samba 2.0.7, everything runs smoothly, regardless of whether
oplocks (level 1 and 2) are enabled. Using either a recent snapshot of
samba3 head or samba-2.2.0-alpha1 netbench only completes when oplocks are
disabled (level2 oplocks = No, oplocks = No, strict locking = Yes). With
just level1 oplocks enabled netbench clients fail during initialization with
the error "Netbench has encountered an error.  Unable to read from file
readmix.sem". Samba's logs give no indication of a problem. Anybody have any
clues/hints?

Matt Zinkevicius
Modular Network Storage
Hewlett-Packard


Specs:
Pentium III 1000 MHz
256 MB RDRAM
Adaptec 7899P SCSI controller
Seagate 34GB ST336704LC hard drive
ext2, 4K block size
Intel 82557 10/100 NIC
linux kernel 2.4.0pre10
Netbench 6.0, starting with 20 clients

smb.conf (which fails on netbench):
[global]
	change notify timeout = 20
	debug level = 2
	dns proxy = No
	dos filetime resolution = Yes
	encrypt passwords = Yes
	hide dot files = No
	load printers = No
	local master = No
	map archive = No
	map hidden = No
	map system = No
	max log size = 200
	password server = *
	security = share
	server string = 
	socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=8192
SO_RCVBUF=8192
	stat cache = Yes
	wins server = 
	workgroup = WORKGROUP

[shared]
	browseable = Yes
	comment = 
	guest ok = Yes
	guest only = Yes
	level2 oplocks = No
	oplocks = Yes
	path = /vol/1/shared/
	strict locking = No
	writeable = Yes






More information about the samba-technical mailing list