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 From owner-freebsd-database Tue Dec 7 9:21:16 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 C2E5415328 for ; Tue, 7 Dec 1999 09:21:14 -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 MAA10794; Tue, 7 Dec 1999 12:21:12 -0500 (EST) Message-Id: <4.2.2.19991207122026.00a9f860@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:21:26 -0500 To: "Kurt Jaeger" , freebsd-database@freebsd.org From: Forrest Aldrich Subject: Re: Problems with DB lib In-Reply-To: References: <4.2.2.19991207121457.00b0b720@216.67.12.69> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-database@FreeBSD.ORG Precedence: bulk Yes, I believe we tried 2.x also... and experienced the same problem. 1.85 is integrated into the FreeBSD OS. And it appears that only BSD systems suffer from this -- which is why I'm hoping a Core Member will help fix/resolve it. That or I'll be forced to take the system down and go to Solaris :) _F At 06:19 PM 12/7/99 +0100, Kurt Jaeger wrote: >Hi! > > > 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. > >Have you tried to upgrade to db 2.7.x or even 3.x ? > >See www.sleepycat.com or so. > >-- >MfG/Best regards, Kurt Jaeger 21 years to go ! >LF.net GmbH pi@LF.net Oberon.net GmbH pi@oberon.net >Vor dem Lauch 23 fon +49 711 90074-23 Friedrich-Ebert-Str.1 >D-70567 Stuttgart fax +49 711 7289041 40210 Duesseldorf fon +49 211 179253-11 >For Redmond: "nuke the site from orbit -- it's the only way to be sure." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-database" in the body of the message