Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13964 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40563 invoked by uid 1010); 1 Dec 2004 06:29:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40285 invoked from network); 1 Dec 2004 06:29:02 -0000 Received: from unknown (HELO ns.jool.nl) (217.119.228.145) by pb1.pair.com with SMTP; 1 Dec 2004 06:29:02 -0000 Received: (qmail 54270 invoked from network); 1 Dec 2004 06:29:01 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 1 Dec 2004 06:29:01 -0000 Received: from mc-scan.tno.nl (mc-scan.tno.nl [134.221.128.7]) by webmail.jool.nl (IMP) with HTTP for ; Wed, 1 Dec 2004 07:29:01 +0100 Message-ID: <1101882541.41ad64ad74ad5@webmail.jool.nl> Date: Wed, 1 Dec 2004 07:29:01 +0100 To: Greg Beaver Cc: Wez Furlong , internals@lists.php.net References: <20041201031004.27464.qmail@pb1.pair.com> <4e89b4260411302025c5d80aa@mail.gmail.com> <41AD49A5.9070902@php.net> In-Reply-To: <41AD49A5.9070902@php.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 134.221.128.7 Subject: Re: [PHP-DEV] does PHP5 do locking on PHP files that are included in a way PHP4 didn't? From: D.Kingma@jool.nl Quoting Greg Beaver : > Wez Furlong wrote: > > It shouldn't be locking the file. > > > > Is there any chance that you have a "zombie" process that does have a > > lock? I noticed some weird locking behaviour like this today using a > > recent cygwin release (seems like bash held a lock on a directory that > > I had cd'ed into earlier in the day). This was totally unrelated to > > PHP. > > I use Zend IDE, so yes, this is possibly the cause, I will experiment > with all the zend extensions unloaded and see if it fixes it. This is a known bug in one of the Zend studio versions. Try closing Zend Studio and see if this fixes the problem. David > > > Are you also sure that this isn't the infamous > > need-to-sleep(1)-after-unlink-before-creating-a-new-file problem that > > has existed on Windows for while? > > Perhaps it crept into XP SP 2? The thing is, it only happens in PHP 5, > PHP 4 has had no race condition issues. > > There is a delicate balance between the registry/dependency registry > that has caused problems, but this race condition seems to be completely > unrelated, as the race was always caused on the .lock file. This occurs > on any old random file that is being installed. > > Greg > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.