<br><font size=2 face="sans-serif">Umberto</font>
<br>
<br><font size=2 face="sans-serif">Thank you for taking care onon this
old but still open issue!</font>
<br>
<br><font size=2 face="sans-serif">I created </font>
<br><font size=2 face="sans-serif">http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1661
and</font>
<br><font size=2 face="sans-serif">http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1662</font>
<br>
<br><font size=2 face="sans-serif">Benedikt</font>
<br>
<br><font size=2 face="sans-serif">(Sorry! I was not able to add your e-mail-adress
to cc. Bugzilla denied to do so. I suppose</font>
<br><font size=2 face="sans-serif">you can handle this anyway.)</font>
<br>
<br><font size=2><tt>Umberto Nicoletti <umberto.nicoletti@gmail.com>
schrieb am 13.02.2006 10:25:02:<br>
<br>
> Benedikt,<br>
> since I am looking this issue would'n t you mind opening a bug for
the<br>
> inclusion of msConnPoolCloseUnreferenced in mapscript and one for
the<br>
> memory leaks (add me to the cc list)?<br>
> <br>
> <br>
> Reagrds,<br>
> Umberto<br>
> <br>
> On 1/2/06, Benedikt Rothe <umn-ms@hydrotec.de> wrote:<br>
> ><br>
> > Hi list members,<br>
> ><br>
> > From former threads I got the impression, that there are some
folks<br>
> > interested in the Oracle/Mapserver/Java/Tomcat.<br>
> ><br>
> > Therfore I'd like to share experiences I made with using Connection-Pooling<br>
> > of<br>
> > Oracle-Connections inside Java/Tomcat.<br>
> ><br>
> > Testenvironment: Mapserver 4.6.2; Suse-Linux; Tomcat 4.1.31;
Sun-Java 1.4.2<br>
> > Simulating 5 Browsers, which produce maps, query features, make
selections,<br>
> > query-legend-pics frequently.<br>
> ><br>
> > - After using synchronized "enough" I didn't have crashes
of Tomcat.<br>
> ><br>
> > - Big memory leak: Between the first 5 requests and the next
100 requests<br>
> >    the Tomcat-process became about 400MB bigger.  (I
use "top" for<br>
> >    watching memory-footprint.)<br>
> ><br>
> > - Cleaning the Connection-Pool "by hand". This means:<br>
> >   Opening the function msConnPoolCloseUnreferenced in mappool.c<br>
> >   for use in Java and call it after every request.<br>
> ><br>
> > - After this I still have memory leaks:  About 100MB for
30.000 requests.<br>
> >   (I also made a test: 25.000 requests without Connection
pooling. Memory<br>
> > increased<br>
> >     and decreased as expected  in this case.)<br>
> ><br>
> > - Performancecomparison in my testcase:<br>
> >   Without use of connection-pooling: ~ 50 Request per minute<br>
> >   With use of connection-pooling: ~75 Request per minute<br>
> ><br>
> ><br>
> > As a result I have the following encouragements:<br>
> > - Making msConnPoolCloseUnreferenced  availabe for mapscript
via swig.<br>
> >   (I made a hack by directly editing mapscript/java/mapscript_wrap.c
and<br>
> >    Java-Files in mapscript/java/edu/umn/gis/mapscript.)
I<br>
> > think this<br>
> >   function could be part of the mapscript-Object?<br>
> ><br>
> > - Investigations on the memory leaks. Both leaks shouldn't occure.
(I'll do<br>
> >   this, if I find time. but ...)<br>
> ><br>
> > - Fernando Simon: What about using OCI-Connection-Pooling  for
oracle<br>
> > instead the mappool.c?<br>
> ><br>
> > http://oraclesvca2.oracle.com/docs/cd/B14117_01/appdev.101/b10779/oci09adv.htm#452244<br>
> >   (If you don't have time, I maybe could help coding. But
would it become<br>
> > part uf Mapserver?)<br>
> ><br>
> > Happy new year to everybody<br>
> > Benedikt Rothe<br>
</tt></font>