develooper Front page | perl.libwww | Postings from December 2001

Re: 500 Read error

Thread Previous | Thread Next
From:
Beyond Control Inc.
Date:
December 1, 2001 08:37
Subject:
Re: 500 Read error
Message ID:
000701c17a87$57ee4050$96ac003e@nevermind
You're right.
Eery time such a loop finishes and sthe subroutine exits (thus clearing the
localized useragent object) it gains about 20k of memory.

I don't know if it's relevant, but this is experinced when I turn the script
to an EXE file using perlApp from activestate. I never tested it as a
script.


----- Original Message -----
From: "William R Ward" <bill@wards.net>
To: <libwww@perl.org>
Sent: Friday, November 30, 2001 3:50 AM
Subject: Re: 500 Read error


> beyondcontrol@runbox.com (Beyond Control Inc.) writes:
> > Unfortunatly, if I start it now it *will* work for 10 hours, then die.
> >
> > This is why I find this to be so weird, since I look like IE5, and I
always
> > create a new UserAgent object so that I won't get cookied or anything
like
> > that...
>
> Try cranking up the rate to every 10 seconds and watching memory usage
> using something like "top".  You probably have some kind of memory
> leak.  Consider using a cron job instead of a daemon for this?
>
> --Bill.
>
> --
> William R Ward            bill@wards.net
http://www.wards.net/~bill/
> --------------------------------------------------------------------------
---
>      If you're not part of the solution, you're part of the precipitate.
>
>


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About