Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 59608 invoked from network); 30 May 2010 15:25:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 May 2010 15:25:11 -0000 Received: (qmail 70726 invoked by uid 500); 30 May 2010 15:25:08 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 70709 invoked by uid 500); 30 May 2010 15:25:08 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 70701 invoked by uid 99); 30 May 2010 15:25:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 May 2010 15:25:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@itech7.com designates 209.85.212.45 as permitted sender) Received: from [209.85.212.45] (HELO mail-vw0-f45.google.com) (209.85.212.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 May 2010 15:25:02 +0000 Received: by vws9 with SMTP id 9so348602vws.18 for ; Sun, 30 May 2010 08:24:40 -0700 (PDT) Received: by 10.224.79.209 with SMTP id q17mr1168512qak.340.1275233080160; Sun, 30 May 2010 08:24:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.245.137 with HTTP; Sun, 30 May 2010 08:24:10 -0700 (PDT) In-Reply-To: References: From: Nilesh Govindarajan Date: Sun, 30 May 2010 20:54:10 +0530 Message-ID: To: users@httpd.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Buffering Output to Disk On Sun, May 30, 2010 at 8:40 PM, Leonardo wrote: > Hi, everyone. I have a PHP script that is a huge content generator, > and it's making my server run out of memory very often, because the > content is generated faster than the user can download it, I guess. So > I assume that it's buffering the output on memory. My question is if > there's any way Apache would buffer the script output on disk, not on > RAM. I don't want to cache the output. It must be generated at every > user request. What can I do? > > Thanks. > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project= . > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > =C2=A0 " =C2=A0 from the digest: users-digest-unsubscribe@httpd.apache.or= g > For additional commands, e-mail: users-help@httpd.apache.org > > I don't think this can be done with Apache. You need to use PHP's bufferring mechanism. Wait for someone else to reply, may be they know Apache based bufferring solution :? --=20 Nilesh Govindarajan Facebook: nilesh.gr Twitter: nileshgr Website: www.itech7.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org