[NTLUG:Discuss] Two Questions
TJ Davis
TJDavis at sagu.edu
Tue Jul 9 16:09:09 CDT 2002
First of all I got the mod_jk thing taking care of. Thanks for the help.
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). When I first
boot my system a total of about 100mb of that memory is being used. I log
into the GUI and that bumps it up to around 120mb. I play around with a few
apps for a couple of hours. As I would suspect would happen, I open an app
and it takes up a few mb of memory. As soon as I close that app the memory
is released. 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. 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. 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. 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 "borrowed" is again available. Again, I am using top to
judge all of this. Is there another tool that might be better?
T.J. Davis
-----Original Message-----
From: Chris Cox [mailto:cjcox at acm.org]
Sent: Tuesday, July 09, 2002 3:40 PM
To: discuss at ntlug.org
Subject: Re: [NTLUG:Discuss] Two Questions
TJ Davis wrote:
> I have two questions that are totally unrelated.
>
> First of all. I am using OpenOffice on RedHat Linux 7.3 at home and I
> have noticed that when I close it does not free the memory that it
> used (about 100mb worth). Is there a command I can type or a program
> that I can use to recover this memory? This is a real problem because
> if I close OpenOffice and then open it again then it takes another
> 100mb of RAM. I thought that the system might recover it eventually
> but I left it running all night and this morning it was still unrecovered.
>
How are you mesuring the memory loss? Could be that there is some kind
leak... but would
be interesting to see if the memory is associated with a process or if
it's the kernel.
> Second question. I am trying to configure Jakarta Tomcat and the
> Apache webserver to work together by using mod_jk but I cannot figure
> out where to get mod_jk. Can someone give me some hints on where to
> get mod_jk and a few tips on how to install it?
>
Look in the source for tomcat (something like src/native/apache...).
Building is not particularly trivial.
Things may have changed quite a bit for version 4 also (there's now the
webapp method vs. using mod_jk...
though I hear that mod_jk works for more folks than does webapp).
There is some documentation on the apache jakarta website, but sometimes
it's not in the most
intutitive places (they have a search pane though).
HTH,
Chris
_______________________________________________
http://www.ntlug.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ntlug.org/pipermail/discuss/attachments/20020709/6bbb6340/attachment.html
More information about the Discuss
mailing list