From owner-freebsd-database Tue Dec 7 9:14:59 1999 Delivered-To: freebsd-database@freebsd.org Received: from forrie.net (forrie.net [216.67.12.69]) by hub.freebsd.org (Postfix) with ESMTP id B9A7314F44 for ; Tue, 7 Dec 1999 09:14:57 -0800 (PST) (envelope-from forrie@forrie.com) Received: from forrie (boomer.navinet.net [216.67.12.90]) by forrie.net (8.9.3/8.9.3) with ESMTP id MAA10644 for ; Tue, 7 Dec 1999 12:14:57 -0500 (EST) Message-Id: <4.2.2.19991207121457.00b0b720@216.67.12.69> X-Sender: forrie@216.67.12.69 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Tue, 07 Dec 1999 12:15:11 -0500 To: freebsd-database@freebsd.org From: Forrest Aldrich Subject: Problems with DB lib Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-database@FreeBSD.ORG Precedence: bulk We've experienced problems with db (1.85) and locking race conditions. In one example, we use sendmail and DRAC to perform pop-before-smtp authentication. We began experiencing rpc timeouts (DRAC) and core dumps, due to what I believe is/was a problem with sendmail keeping the db open for exclusive i/o too long (there could be other factors I'm unaware of). However, the problem is not isolated with that application, and according to the DRAC author, this problem is seen only in BSD-derived systems. He runs his on a Solaris system with 3,000+ users and has never had the race condition occur. We have 173 users and I had to disable it, and another pop-before-smtp hack we had because it rendered the process unusable. The author of DRAC asked me: >>>>>> I wonder if you could contact anyone who knows about file locking in FreeBSD to see where the bottleneck is? There may even be some faster mechanism available that we don't know about. <<<<<< Could someone in-the-know kindly help out? Thanks, _F To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-database" in the body of the message