>>>This is obviously in the Apache code somewhere. ????<<<
Until you've (1) reduced this to the smallest possible code that will
generate the error and (2) identified the root cause of the error, you
should assume that the problem is in your code rather than elsewhere.
Rich Shockney
RS Marketing
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Robert
Sent: Sunday, August 19, 2001 6:27 PM
To: Tom McDonald
Cc: Opensrs-Dev
Subject: Re: Interesting OutOfMemory with RACE enabled.
Thanks for getting back to me Tom.
The error shows up in the Apache error_log. The reg_system.cgi simply dies
to a blank screen.
I have yet to get a moment to get back to it. Today hopefully.
I might add, that the operational version of the opensrs code works fine,
with RACE enabled. It's only my modified version thats dying with RACE
enabled.
I'll send the tweeks later, but basically, all I have done is add a bit of
code to give the user a range of payment values in the [credit card] part,
which is then fed to the printer + an email of the details to me.
The whole thing worked fine before I CPAN'd the 5.6.1 to the system. I can
live without RACE for now on that interface, but am curious about the 'out
of memory' error. I'll locate the problem, because I don't want it biting me
later on in more important areas.
This is obviously in the Apache code somewhere. ????
I even 'stripped' the httpd binary thinking that may be it. nope.
well, back to it later.
Cheers
Robert
>
> Saturday, August 18, 2001, 11:51:41 PM, you wrote:
>
> Well, Perl's support for what is needed to use RACE is limited for
> sure. So even a minor change might cause something funky to happen.
> Can you post your changes? Also, is it a 'user' error or a system
> error. In other words, does it appear to really eat all of your
> system's memory (whatever you've allowed for anyway) or do you have
> resource limits for the user which runs reg_system.cgi that could
> cause the error? If you do have user-based resource limits, you
> might want to up the allotment. If it is Apache doing the limiting:
>
> RLimitCPU 60 60 # Number of seconds of CPU time
> RLimitMEM 16777216 16777216 # Number of bytes of memory allowed
> RLimitNPROC 16 16 # Number of simultaneous parent processes
>
> BTW, Perl 5.6.1 is likely the best version to use when implementing
> the RACE option so you would [seemingly] be in good shape. Of course,
> a million other possibilities could be looming so you might want to
> completely disregard what I posted above.:)
>
> Regards,
> -tom
>
> > Pathcing a bit of code here, and today upgraded to Perl-5.6.1, and
modified
> > a few minor (very minor) things in reg_system.cgi and suddenly the
system is
> > telling me "Out of Memory"...
>
> > If I turn off RACE. (UseRace=0) the memory problem goes away? and
> > reg_system.cgi runs fine?
>
> > Is RACE using THAT much ram???? or is it a perl uprgade/race thing?
>
> > or something else entirely.
> > I'm running 256Mb on Unix with heaps of drive space spare , so it
'should'
> > be ok????
>
>
> > ---
> > Quantum Radio: World Music with a difference.
> > http://quantum-radio.net.au/Music/
> > Now Playing: Jai Jai Hanuman-01-Shree Hanum - Traditional Indian
Selection
>
>