Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

DO NOT REPLY [Bug 11316] New: - my perl CGI script appears to leak, runs out of memory

From: <bugzilla(at)apache.org>
Date: Wed Jul 31 2002 - 01:55:18 EDT


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11316>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11316

my perl CGI script appears to leak, runs out of memory

           Summary: my perl CGI script appears to leak, runs out of memory
           Product: Apache httpd-2.0
           Version: 2.0.39
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_cgi
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: duncan.lindley@computershare.com.au

I have a standard apache 2 compile, i have configured suexec, and execcgi on the default cgi root.

I have gnatsweb, and gnats4 being tested, I added some functionality to (the already 4000+line) gnatsweb script. it still runs under strict;

I found that with my added code, I would run out of memory on large gnats databases. (I make a 2d hash to count bugs by state/person/category). The code appears fine and I have had other programmers double check.

I could run out of memory faster by assinging more varibles (unused ad overwritten in a foreach loop) like $str = $counts{$fullname."_".$_}+0; not an uncommon command or worthy of losing memory over.

I also, can rename the script form gnatsweb.pl to gnatsweb12345678.pl and the script would stop 8 chars shorter.
I looked thru the docco a little, and i had a poke in bungzilla but have not found anything.

This does not happen to me on 1.3, although I have not compiled suexec, this script was not configured to run under suexec on the 2.0.39 install..

Do you need help?X

I'm happy to do some debugging for you guys if you need.

Thanks!!



To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org Received on Wed Jul 31 05:55:00 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:43:45 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library