From owner-freebsd-chat Fri Mar 27 12:43:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA06919 for freebsd-chat-outgoing; Fri, 27 Mar 1998 12:43:47 -0800 (PST) (envelope-from owner-freebsd-chat@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA06637 for ; Fri, 27 Mar 1998 12:43:15 -0800 (PST) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id MAA07670; Fri, 27 Mar 1998 12:42:51 -0800 (PST) Message-Id: <199803272042.MAA07670@implode.root.com> To: "Viren R. Shah" cc: freebsd-chat@FreeBSD.ORG Subject: Re: wcarchive user limit In-reply-to: Your message of "Fri, 27 Mar 1998 14:58:04 EST." <199803271958.OAA02674@rstcorp.com> From: David Greenman Reply-To: dg@root.com Date: Fri, 27 Mar 1998 12:42:50 -0800 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Got this message when logging in: > >--- >Logged in to ftp.freebsd.org. >Welcome to wcarchive - home ftp site for Walnut Creek CDROM. >There are currently 3001 users out of 3000 possible. >--- > >Hmm..off-by-one error? or a race condition? Race condition - a context switch occured at just the wrong time and this allowed an extra user in when it shouldn't have. I could add locking around the check/increment of the user count, but why bother? -DG David Greenman Core-team/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message