Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 62098 invoked from network); 12 Mar 2010 17:52:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Mar 2010 17:52:17 -0000 Received: (qmail 64007 invoked by uid 500); 12 Mar 2010 17:51:37 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 63908 invoked by uid 500); 12 Mar 2010 17:51:37 -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 63900 invoked by uid 99); 12 Mar 2010 17:51:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 17:51:37 +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 (athena.apache.org: domain of lists@itech7.com designates 209.85.223.196 as permitted sender) Received: from [209.85.223.196] (HELO mail-iw0-f196.google.com) (209.85.223.196) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 17:51:33 +0000 Received: by iwn34 with SMTP id 34so1313775iwn.15 for ; Fri, 12 Mar 2010 09:51:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.156.80 with SMTP id v16mr59473ibw.79.1268416271077; Fri, 12 Mar 2010 09:51:11 -0800 (PST) In-Reply-To: <4B9A7B92.5000701@inkworkswell.com> References: <4B9A7B92.5000701@inkworkswell.com> From: Nilesh Govindarajan Date: Fri, 12 Mar 2010 23:20:51 +0530 Message-ID: To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [users@httpd] mod_php script 'queue' On Fri, Mar 12, 2010 at 11:06 PM, Reese wrote: > On 12-Mar-10 11:31, Nilesh Govindarajan wrote: >> >> On Fri, Mar 12, 2010 at 6:49 PM, Bruno - e-comBR >> wrote: > >>> It's causing a little throuble for me. When a PHP script generates a >>> bigger >>> report(taking about ten minutes or more), the user seems to be impatien= t. >>> They're doing refreshs on the page. So, for each refresh apache is >>> queuing a >>> new script, and just begin running this when the queue is empty again. >>> >>> What do you suggest me? >>> >>> Thank you, >>> Bruno Moreira Guedes >>> >> >> I don't use mod_php, so don't know about its behavior. But I recommend >> you inform the users that the report can take upto ten minutes to >> generate and to be patient. That's the only solution I see. > > Else, if you can make the PHP script 'smart' in some way so that a > popup or other visual indicator will give constant, visual feedback > on the progress of the request. With a "Cancel" button that functions > to kill the original request while blocking page refreshes. They can > start over from scratch if they like. > > Reese > > > > --------------------------------------------------------------------- > 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 > =A0" =A0 from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > I think that's possible with AJAX-JSON combination. But the cronjob solution will be best if he doesn't know PHP (an administrator's job is not to tweak the web-interface!) --=20 Nilesh Govindarajan Site & Server Administrator 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