Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71914 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8995 invoked from network); 1 Feb 2014 08:52:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Feb 2014 08:52:21 -0000 Authentication-Results: pb1.pair.com header.from=bof@bof.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=bof@bof.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain bof.de designates 80.242.145.70 as permitted sender) X-PHP-List-Original-Sender: bof@bof.de X-Host-Fingerprint: 80.242.145.70 mars.intermailgate.com Received: from [80.242.145.70] ([80.242.145.70:50641] helo=mars.intermailgate.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1F/20-04352-0C5BCE25 for ; Sat, 01 Feb 2014 03:52:19 -0500 Received: (qmail 9562 invoked by uid 1009); 1 Feb 2014 09:52:13 +0100 Received: from 213.135.15.139 by mars (envelope-from , uid 89) with qmail-scanner-1.25-st-qms (clamdscan: 0.96.2/18421. spamassassin: 3.3.1. perlscan: 1.25-st-qms. Clear:RC:0(213.135.15.139):SA:0(0.8/10.0):. Processed in 2.238635 secs); 01 Feb 2014 08:52:13 -0000 X-Spam-Status: No, hits=0.8 required=10.0 X-Antivirus-MYDOMAIN-Mail-From: bof@bof.de via mars X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:0(213.135.15.139):SA:0(0.8/10.0):. Processed in 2.238635 secs Process 9459) Received: from unknown (HELO rofl.localnet) (gmail@bof.de@213.135.15.139) by mars.intermailgate.com with AES256-SHA encrypted SMTP; 1 Feb 2014 09:52:11 +0100 To: Yasuo Ohgaki Cc: internals Date: Sat, 01 Feb 2014 09:52:04 +0100 Message-ID: <4156951.WHjonDuHqZ@rofl> User-Agent: KMail/4.11.5 (Linux/3.13.0-k10-bof; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [PHP-DEV] Re: [VOTE] Introduce session.lock, session.lazy_write and session.lazy_destory From: bof@bof.de (Patrick Schaaf) Hello Yasuo, On Saturday 01 February 2014 10:13:42 Yasuo Ohgaki wrote: > Hi Patrick, > > On Thu, Jan 30, 2014 at 3:37 PM, Patrick Schaaf wrote: > > Unrelated to the previous discussion, and applicable to the base PHP code > > in mod_files.c too, another observation: > > > > Some syscalls can fail with EINTR, when a signal hits while within the > > kernel. This is especially true for flock(LOCK_EX) because in the already- > > locked case the second call will go to sleep for a while waiting for the > > lock to clear. But it is also possible, I think, for the pread/read/write > > calls. The usual handling for the case (-1 return && errno == EINTR) is to > > just repeat the call in a while loop. I think that at least doing so for > > the LOCK_EX calls, would be prudent. > > Could you send bug report for this and assign me? Created https://bugs.php.net/bug.php?id=66623 Don't know how to assign that to you. Thanks for taking care. Patrick