Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28690 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83323 invoked by uid 1010); 5 Apr 2007 15:28:09 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 83308 invoked from network); 5 Apr 2007 15:28:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Apr 2007 15:28:09 -0000 Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 66.249.92.172 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 66.249.92.172 ug-out-1314.google.com Linux 2.4/2.6 Received: from [66.249.92.172] ([66.249.92.172:42007] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2A/1C-19248-78515164 for ; Thu, 05 Apr 2007 11:28:09 -0400 Received: by ug-out-1314.google.com with SMTP id o4so1048699uge for ; Thu, 05 Apr 2007 08:28:05 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rFHgpzukAe0Tf1/ftUS+aM4c4NaPhC35iYMOlS3Qz+RWIbCfjl18TpIr6+kGd8siy5qaBha267HjKs19T3ayEjy+WbZViW/xkgQbz6VJN6ELI/zGY6VJnVOqSmmGm6Ij0Va0BRej/dUDjj+5ObLRX9QrypCsYU4gIszgl0Cp+kI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FzRzRqmPWcEdZtzOCa7Ihc1nDHRYBKfINjtcOb8Jyuo+/thlUnxBN7gPGtviRpTnHN9Gx/117jLGgyY1A/dRG5tU0MDHkrOKyI09PkggLDrQsPUYOkOlfjEKEBiVbJUEUEaW+Z3QlYkk8limvKw6GjocgwmrrXrpg5qkrUB/6iU= Received: by 10.78.20.13 with SMTP id 13mr330148hut.1175786884639; Thu, 05 Apr 2007 08:28:04 -0700 (PDT) Received: by 10.78.48.5 with HTTP; Thu, 5 Apr 2007 08:28:04 -0700 (PDT) Message-ID: <10845a340704050828j51702b8er225e03cda3ed1863@mail.gmail.com> Date: Thu, 5 Apr 2007 16:28:04 +0100 Reply-To: RQuadling@GoogleMail.com To: "Rasmus Lerdorf" Cc: "Ilia Alshanetsky" , "Matt Wilmas" , internals@lists.php.net In-Reply-To: <46151481.9090809@lerdorf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <007b01c77735$89410420$0201a8c0@pc1> <46148933.7030709@lerdorf.com> <646617A7-86A7-4E64-94CE-8E5D5766741A@prohost.org> <46151481.9090809@lerdorf.com> Subject: Re: [PHP-DEV] Build failure From: rquadling@googlemail.com ("Richard Quadling") Is it possible that at the lowest layer within the C library that 4K blocking is performed? On 05/04/07, Rasmus Lerdorf wrote: > Ilia Alshanetsky wrote: > > Rasmus, > > > > Sorry for the delay in the reply. According to my tests on linux using > > the sample script provided by the original bug reporter having no lock > > causes a problem when the error message is >4k in length. In this case > > multiple buffers are used and corruption can happen (it did on a dual > > cpu machine with 10 error log writing threads running), which is why I > > feel the lock is needed. > > Did you do this test before or after you condensed the fprintf calls > into a single call? With multiple fprintf calls there would be a > problem, but with a single one I don't see how it could possibly screw > it up. > > -Rasmus > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"