Re: [Hampshire] preventing apache timeout on long-duration p…

Top Page
Author: Steve Kemp
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] preventing apache timeout on long-duration page generation

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57a8f100.hantslug.org.uk.3277': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Thu Nov 30 16:04:44 2006 GMT
gpg: using DSA key C0CFC6B3CD4C0D9D
gpg: Can't check signature: No public key
On Thu, Nov 30, 2006 at 03:39:04PM +0000, Victor Churchill wrote:

> I'd quite like to be able to put some indicator to the same screen
> area each time, a la apt-get, e.g. "[1000/45096]" then "[2000/45096]"
> (where the 45096 is, for example, the total number of rows to be
> processed in a particular query) and each indicator overwrites the
> previous one. .


> but (i) the divs don't seem to appear until the end of the script's
> run when they all arrive in a rush;


Are you explicitly disabling your buffering in the perl script?

If not add something like this to the start:

$| = 1;

That should allow things to work correctly, but if it doesn't
then I admit to cluelessness...

Steve
--
Debian GNU/Linux System Administration
http://www.debian-administration.org/

> blanked out by the later ones so one ends up with a solid black blob
> on the screen; (iii) I don't really like using an absolute position.
>
> Any CSS guru got a suggestion?
>
> thanks,
> victor
>
> --
> Please post to: Hampshire@???
> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
> LUG URL: http://www.hantslug.org.uk
> --------------------------------------------------------------


--
Steve
--
http://www.steve.org.uk/