<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [NTLUG:Discuss] Two Questions</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>First of all I got the mod_jk thing taking care of.&nbsp; Thanks for the help.</FONT>
</P>

<P><FONT SIZE=2>As for the memory thing I am judging what is going on by using top. I have a total of about 320mb of RAM (2 128mb sticks and 1 64mb stick).&nbsp; When I first boot my system a total of about 100mb of that memory is being used.&nbsp; I log into the GUI and that bumps it up to around 120mb.&nbsp; I play around with a few apps for a couple of hours.&nbsp; As I would suspect would happen, I open an app and it takes up a few mb of memory.&nbsp; As soon as I close that app the memory is released.&nbsp; I do this with a few apps and then when the method stays the same I open OpenOffice and it takes up it's 115mb.&nbsp; However when I close it the memory that it was using does not free up and that is a lot of memory to not get freed.&nbsp; Then, for testing purposes, I reopened it and BAM, there goes another 115mb and now my swap partition is being used and I hate that cuz my little ol' pIII 450 starts to creep.&nbsp; Maybe I am badly misinformed but I was always under the impression that when an app starts it is supposed to request a certain amount of memory space and even request some while it is running but then, when it closes, it is supposed to notify the system that that space it &quot;borrowed&quot; is again available.&nbsp; Again, I am using top to judge all of this.&nbsp; Is there another tool that might be better?</FONT></P>

<P><FONT SIZE=2>T.J. Davis</FONT>
</P>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Chris Cox [<A HREF="mailto:cjcox@acm.org">mailto:cjcox@acm.org</A>]</FONT>
<BR><FONT SIZE=2>Sent: Tuesday, July 09, 2002 3:40 PM</FONT>
<BR><FONT SIZE=2>To: discuss@ntlug.org</FONT>
<BR><FONT SIZE=2>Subject: Re: [NTLUG:Discuss] Two Questions</FONT>
</P>
<BR>

<P><FONT SIZE=2>TJ Davis wrote:</FONT>
</P>

<P><FONT SIZE=2>&gt; I have two questions that are totally unrelated.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; First of all.&nbsp; I am using OpenOffice on RedHat Linux 7.3 at home and I </FONT>
<BR><FONT SIZE=2>&gt; have noticed that when I close it does not free the memory that it </FONT>
<BR><FONT SIZE=2>&gt; used (about 100mb worth).&nbsp; Is there a command I can type or a program </FONT>
<BR><FONT SIZE=2>&gt; that I can use to recover this memory?&nbsp; This is a real problem because </FONT>
<BR><FONT SIZE=2>&gt; if I close OpenOffice and then open it again then it takes another </FONT>
<BR><FONT SIZE=2>&gt; 100mb of RAM.&nbsp; I thought that the system might recover it eventually </FONT>
<BR><FONT SIZE=2>&gt; but I left it running all night and this morning it was still unrecovered.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>How are you mesuring the memory loss?&nbsp; Could be that there is some kind </FONT>
<BR><FONT SIZE=2>leak... but would</FONT>
<BR><FONT SIZE=2>be interesting to see if the memory is associated with a process or if </FONT>
<BR><FONT SIZE=2>it's the kernel.</FONT>
</P>

<P><FONT SIZE=2>&gt; Second question.&nbsp; I am trying to configure Jakarta Tomcat and the </FONT>
<BR><FONT SIZE=2>&gt; Apache webserver to work together by using mod_jk but I cannot figure </FONT>
<BR><FONT SIZE=2>&gt; out where to get mod_jk.&nbsp; Can someone give me some hints on where to </FONT>
<BR><FONT SIZE=2>&gt; get mod_jk and a few tips on how to install it?</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>Look in the source for tomcat (something like src/native/apache...). </FONT>
<BR><FONT SIZE=2>&nbsp;Building is not particularly trivial.</FONT>
<BR><FONT SIZE=2>Things may have changed quite a bit for version 4 also (there's now the </FONT>
<BR><FONT SIZE=2>webapp method vs. using mod_jk...</FONT>
<BR><FONT SIZE=2>though I hear that mod_jk works for more folks than does webapp).</FONT>
</P>

<P><FONT SIZE=2>There is some documentation on the apache jakarta website, but sometimes </FONT>
<BR><FONT SIZE=2>it's not in the most</FONT>
<BR><FONT SIZE=2>intutitive places (they have a search pane though).</FONT>
</P>

<P><FONT SIZE=2>HTH,</FONT>
<BR><FONT SIZE=2>Chris</FONT>
</P>
<BR>
<BR>
<BR>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2><A HREF="http://www.ntlug.org/mailman/listinfo/discuss" TARGET="_blank">http://www.ntlug.org/mailman/listinfo/discuss</A></FONT>
</P>

</BODY>
</HTML>