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=24821>.
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=24821

memory handling very slow if cgi-script needs big chunk of memory.

           Summary: memory handling very slow if cgi-script needs big chunk
                    of memory.
           Product: Apache httpd-1.3
           Version: 1.3.29
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_cgi
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I receive data via https post. The data transferred is 12+MB. It takes a very
long time before this is passed to the cgi-script (a little perl application in
this case).

Transferring the same data in compressed form (300kB) needs only a few seconds,
but extracting the data inside the perlscript (using Compress::Zlib::memGunzip)
takes about 8 minutes (during that time I have 50-70% of CPU as user assigned to
the httpd-process, and about 20-30% system). BTW, using gunzip to extract the
same data as a .gz-file, is sort of quicker:

real    0m0.889s
user    0m0.265s
sys     0m0.161s

with earlier versions of Apache13+modssl (eg Apache/1.3.28 (Unix) mod_ssl/2.8.15
OpenSSL/0.9.7c PHP/4.3.0 mod_perl/1.27) I also got lots of "httpd in free():
warning: recursive call" (they _seem_ to have gone with Apache/1.3.29 (Unix)
mod_ssl/2.8.16 OpenSSL/0.9.7c PHP/4.3.0 mod_perl/1.27)

Anything I'm missing here?

Holger Kipp

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to