Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 44948] New: mod_substitute has a memory leak

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

May 7, 2008, 5:11 AM

Post #1 of 1 (30 views)
Permalink
[Bug 44948] New: mod_substitute has a memory leak

https://issues.apache.org/bugzilla/show_bug.cgi?id=44948

Summary: mod_substitute has a memory leak
Product: Apache httpd-2
Version: 2.2.8
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: critical
Priority: P2
Component: Other Modules
AssignedTo: bugs[at]httpd.apache.org
ReportedBy: karoshi[at]gmx.net


Using Apache 2.2.8 on WinXP, mod_substitute doesn't give back all used memory.


Configuration:
AddOutputFilter SUBSTITUTE html
Substitute "s|foo|bar|"


Create a file that contains the word "foo" a few times (I used a total filesize
of 4 MB).


Use ab to execute some requests:

./ab -n 200 -c 1 http://localhost:8082/foo.html
Memory usage raises from 7 MB to ~12MB, stays there.

./ab -n 200 -c 25 http://localhost:8082/foo.html
Memory usage raises from 7 MB to ~66MB, stays there.

./ab -n 200 -c 100 http://localhost:8082/foo.html
Memory usage raises from 7 MB to ~156MB, stays there.


--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: bugs-help[at]httpd.apache.org

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.