From owner-freebsd-ports Wed Sep 12 15:57:43 2001 Delivered-To: freebsd-ports@freebsd.org Received: from pc1-cove4-0-cust214.bir.cable.ntl.com (pc1-cove4-0-cust214.bir.cable.ntl.com [213.105.93.214]) by hub.freebsd.org (Postfix) with ESMTP id 770DE37B406; Wed, 12 Sep 2001 15:57:39 -0700 (PDT) Received: from ntlworld.com (alpha.private [192.168.0.2]) (authenticated) by pc1-cove4-0-cust214.bir.cable.ntl.com (8.11.3/8.11.3) with ESMTP id f8CMvU421361 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO); Wed, 12 Sep 2001 23:57:38 +0100 (BST) (envelope-from ianjhart@ntlworld.com) Message-ID: <3B9FE85A.4D33E107@ntlworld.com> Date: Wed, 12 Sep 2001 23:57:30 +0100 From: ian j hart X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: ports@FreeBSD.ORG Cc: dwcjr@FreeBSD.ORG Subject: samba oplocks (was samba PDC / kernel tuning) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [cc: maintainer] FreeBSD 4.4-RC with NIS Samba 2.2.2a_1 (and _2) as PDC Win95B +IE4.02 +DUN1.3 +Y2KDHCP +IE5.5SP2 clients Got the server running okay. Now I'm getting "no response received to oplock break request..." [mostly the logon.bat file] Some of the daemons which suffer this peg the CPU at 98%, which causes all the other processes to slow down. I've had network/system loads of 20+. Race? This goes away if I disable oplocks (no really), but this causes some clients to fail to load the logon.bat file. This is a major problem as all the shares load via 'net use'. I can reproduce this with as few as 8 clients when they are logged on in very quick succession. With normal network load many (25%) of the clients will lock solid. Giving each user a separate logon.bat helps but doesn't cure, as I cannot do this with all the shared files! Since this is a read-only share (except admin) I don't see how it can block at all. Then again file locking is akin to black magic as far as I'm concerned. I note that kernel oplocks are on by default. Would it be worth trying an earlier version of samba? In which case, which one. Bearing in mind I need PDC support for Win95 (only). I've tried bandwidth limiting (2Mb/s) but this didn't help. Since I've had some limited success today I've obtained a repreve on installing NT. However if I cannot fix this by Friday that's what I'll be doing at the weekend. TIA -- ian j hart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message