Re: UNIVERSAL::can function failing under heavy load
- From: xhoster@xxxxxxxxx
- Date: 26 Aug 2005 15:46:51 GMT
"lee" <gary.hansen@xxxxxxxxxxxxx> wrote:
> Thanks for the reply and sorry for the lazy description of the error
> message. The error message actually contains the name of an object.
> And indeed that object does contain a copy method, and produces no
> error messages under other circumstances that we have tested. We are
> unable to determine why it would fail. As mentioned, most the reports
> have come during hi load on the web site.
Is the high load due to other things running, or because very many
instances of this same code are running? If the load is due to this code,
then it is not surprising that that is when you encounter the error. If
there is a 0.0000001 chance of encountering a corner-case bug in your code,
you are more likely to encounter it when there are 10,000 cases executed
per second than when there are 10 cases per second.
> I have concluded that
> perhaps it is a memory problem, perhaps it is being over-written, so
> that it the can method is failing or something like that. Was curious
> if someone had seen something like this.
Nope. But in the last-resort else block, I would print out the
Data::Dumper on the object, not just the stringified reference. Then I
would run copy() on it anyway, to so if "can" was right about there not
being a copy method.
BTW, @Deep_copy_stack doesn't seem to be lexically scoped. I dont' see how
that would cause this particular problem, but I'd fix it anyway just in
case.
Xho
--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
.
- Follow-Ups:
- Re: UNIVERSAL::can function failing under heavy load
- From: lee
- Re: UNIVERSAL::can function failing under heavy load
- From: Jim Gibson
- Re: UNIVERSAL::can function failing under heavy load
- References:
- UNIVERSAL::can function failing under heavy load
- From: lee
- Re: UNIVERSAL::can function failing under heavy load
- From: Jim Gibson
- Re: UNIVERSAL::can function failing under heavy load
- From: lee
- UNIVERSAL::can function failing under heavy load
- Prev by Date: Re: UNIVERSAL::can function failing under heavy load
- Next by Date: Re: UNIVERSAL::can function failing under heavy load
- Previous by thread: Re: UNIVERSAL::can function failing under heavy load
- Next by thread: Re: UNIVERSAL::can function failing under heavy load
- Index(es):
Relevant Pages
|
|