Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 1998 12:42:50 -0800
From:      David Greenman <dg@root.com>
To:        "Viren R. Shah" <viren@rstcorp.com>
Cc:        freebsd-chat@FreeBSD.ORG
Subject:   Re: wcarchive user limit 
Message-ID:  <199803272042.MAA07670@implode.root.com>
In-Reply-To: Your message of "Fri, 27 Mar 1998 14:58:04 EST." <199803271958.OAA02674@rstcorp.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803272042.MAA07670>