Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13452 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53979 invoked by uid 1010); 22 Oct 2004 11:33:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 53953 invoked from network); 22 Oct 2004 11:33:53 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by pb1.pair.com with SMTP; 22 Oct 2004 11:33:53 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id i9MBXrHP021078 for ; Fri, 22 Oct 2004 07:33:53 -0400 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [172.16.18.90]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9MBXqr18088 for ; Fri, 22 Oct 2004 07:33:52 -0400 Received: from radish.cambridge.redhat.com (localhost.localdomain [127.0.0.1]) by radish.cambridge.redhat.com (8.12.10/8.12.7) with ESMTP id i9MBXpBs010372 for ; Fri, 22 Oct 2004 12:33:51 +0100 Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.12.10/8.12.10/Submit) id i9MBXp9Q010371 for internals@lists.php.net; Fri, 22 Oct 2004 12:33:51 +0100 Date: Fri, 22 Oct 2004 12:33:51 +0100 To: internals@lists.php.net Message-ID: <20041022113351.GC9117@redhat.com> Mail-Followup-To: internals@lists.php.net References: <20041022062249.GA8983@redhat.com> <4e89b42604102202533086a25d@mail.gmail.com> <20041022100842.GB9395@redhat.com> <200410221259.04475.edink@emini.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <200410221259.04475.edink@emini.dk> User-Agent: Mutt/1.4.1i Subject: Re: [PHP-DEV] _FILE_OFFSET_BITS=64 considered harmful From: jorton@redhat.com (Joe Orton) On Fri, Oct 22, 2004 at 12:59:04PM +0200, Edin Kadribasic wrote: > However I consider crashing apache children with signal 25 when doing simple > is_file() or fopen() on large files really harmful. Apache flat out refuses > to start if you have enabled php error log and that file happen to be 2GB or > bigger. For Linux at least that was fixed since 2.0.50, or are you using 1.3 still? w.r.t is_file() or open(), can you give more details? open() on a >2Gb file will give EFBIG not die with SIGXFSZ. *writing* beyond 2Gb will die with SIGXFSZ, yes, is that what you mean? I had a patch to make sure SIGXFSZ was ignored but didn't bother with it since the large logfile stuff went in which solves the common problem. Regards, joe