You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Vadim Gritsenko <vg...@yahoo.com> on 1999/02/08 16:14:11 UTC

mod_jserv/3857: Memory leaks while using servlets.

>Number:         3857
>Category:       mod_jserv
>Synopsis:       Memory leaks while using servlets.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Feb  8 07:20:01 PST 1999
>Last-Modified:
>Originator:     vgritsenko@yahoo.com
>Organization:
apache
>Release:        Apache/1.3.3 (Win32) ApacheJServ/1.0b1
>Environment:
Windows NT 4.0, SUN's JDK 1.2, JSDK 1.2, ApJServManual: true or false.
>Description:
If use Apache JMeter to URL such as http://myhost/servlets/SimpleServlet,
every request will lead to memory leak. 
When out of virtual memory occures, apache write to log something
like "ouch malloc()...".
>How-To-Repeat:
Just use Apache JMeter to any server (preferrable in local network) with
request to any installed servlet. 
JMeter parameters: 10 threads, constant delay 100.
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]