Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13962 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35161 invoked by uid 1010); 1 Dec 2004 04:33:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 34494 invoked from network); 1 Dec 2004 04:33:43 -0000 Received: from unknown (HELO bluga.net) (69.64.38.41) by pb1.pair.com with SMTP; 1 Dec 2004 04:33:43 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by bluga.net (Postfix) with ESMTP id C543921C920; Tue, 30 Nov 2004 22:29:00 -0600 (CST) Received: from bluga.net ([127.0.0.1]) by localhost (bluga.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19115-07; Tue, 30 Nov 2004 22:29:00 -0600 (CST) Received: from [192.168.11.2] (66-65-38-153.nyc.rr.com [66.65.38.153]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bluga.net (Postfix) with ESMTP id 7B86D21C91A; Tue, 30 Nov 2004 22:29:00 -0600 (CST) Message-ID: <41AD49A5.9070902@php.net> Date: Tue, 30 Nov 2004 23:33:41 -0500 User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Wez Furlong Cc: internals@lists.php.net References: <20041201031004.27464.qmail@pb1.pair.com> <4e89b4260411302025c5d80aa@mail.gmail.com> In-Reply-To: <4e89b4260411302025c5d80aa@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at bluga.net Subject: Re: [PHP-DEV] does PHP5 do locking on PHP files that are included in a way PHP4 didn't? From: cellog@php.net (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. > 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