M
mmccaws2
Hi
I'm developing a CGI script on an intel Mac and noticed that I
probably wrote something that is causing hi cpu utilization. Every
time that I submit the form in the browser starts responding and
hanges. So the question is how do I know if it's a perl problem or an
apache problem. And if it's my Perl code how do I find where it's
hanging.
I do have these error messages:
Timeout waiting for output from CGI script /final.cgi, referer:/
final.cgi?page=register (I've left out the directory info)
Premature end of script headers: final.cgi, referer:/final.cgi?
page=register
perl(677) malloc: *** vm_allocate(size=452612096) failed (error
code=3) referer:/final.cgi?page=register
perl(677) malloc: *** error: can't allocate region, referer:/
final.cgi?page=register
perl(677) malloc: *** set a breakpoint in szone_error to debug,
referer:/final.cgi?page=register
Out of memory!
referer:/final.cgi?page=register
These seem to be saying that I've a perl code problem? Right?
Thanks
Mike
I'm developing a CGI script on an intel Mac and noticed that I
probably wrote something that is causing hi cpu utilization. Every
time that I submit the form in the browser starts responding and
hanges. So the question is how do I know if it's a perl problem or an
apache problem. And if it's my Perl code how do I find where it's
hanging.
I do have these error messages:
Timeout waiting for output from CGI script /final.cgi, referer:/
final.cgi?page=register (I've left out the directory info)
Premature end of script headers: final.cgi, referer:/final.cgi?
page=register
perl(677) malloc: *** vm_allocate(size=452612096) failed (error
code=3) referer:/final.cgi?page=register
perl(677) malloc: *** error: can't allocate region, referer:/
final.cgi?page=register
perl(677) malloc: *** set a breakpoint in szone_error to debug,
referer:/final.cgi?page=register
Out of memory!
referer:/final.cgi?page=register
These seem to be saying that I've a perl code problem? Right?
Thanks
Mike