* UP1000 and Memory Leak
@ 2000-11-22 3:58 kwood
2000-11-22 5:12 ` Christopher C. Chimelis
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: kwood @ 2000-11-22 3:58 UTC (permalink / raw)
To: AXP List
Hey there,
I have a question for you. I have a customer running RH 6.2 on a
UP1000. He has been concerned with what seems to be a persistent memory
leak. Here is the config:
UP1000
128MB Ram
20GB IDE Drive
RH 6.2 Stock, no updates
I reloaded the machine myself just to make sure, but it still does it.
If you log into the machine and run free you will get an amount of used
and free ram. Compare this to the amount you get after running X and
then exiting and you get a different number. Now log out and in and you
get yet a different number. All lower than the one you started with.
Now is this a good example of a memory leak or am I thinking
incorrectly. Shouldn't you have the same amount of ram before and after
running a task and then exiting?
His concern is that when he runs xinit and then netscape, his machine
locks up hard. It seems to be a memory problem as he can't telnet in
and he can't move his mouse (which is usually hardware).
If you have any idea about what I am saying and possibly a way of fixing
or explaining why this happens, could you let me know. I'd appreciate
any help I can get. Thanks
Kevin
--
Kevin Wood
Atipa Linux Solutions
850 East Industrial Park Drive
Suite 8
Manchester, NH 03109
P(603)622-7171 x 15
F(603)622-7272
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: UP1000 and Memory Leak
2000-11-22 3:58 UP1000 and Memory Leak kwood
@ 2000-11-22 5:12 ` Christopher C. Chimelis
2000-11-22 12:58 ` Rich Payne
2000-11-22 14:57 ` Robert Williams
2 siblings, 0 replies; 4+ messages in thread
From: Christopher C. Chimelis @ 2000-11-22 5:12 UTC (permalink / raw)
To: kwood; +Cc: AXP List
On Tue, 21 Nov 2000 kwood@atipa.com wrote:
> I reloaded the machine myself just to make sure, but it still does it.
> If you log into the machine and run free you will get an amount of used
> and free ram. Compare this to the amount you get after running X and
> then exiting and you get a different number. Now log out and in and you
> get yet a different number. All lower than the one you started with.
> Now is this a good example of a memory leak or am I thinking
> incorrectly. Shouldn't you have the same amount of ram before and after
> running a task and then exiting?
Not really. In almost every case, some/most of the memory that was used
by the applications will remain "used" as cache or shared mem (look at the
right columns in free's output). It will be reclaimed and reallocated as
needed, though, by the VM. To be honest, 128MB RAM is not a lot in a RISC
machine, but it should be adequate for most tasks (I've been running with
the same amount of RAM for years now). He may hit swap every so often,
though, especially when trying to run Netscape plus a few other X apps
simultaneously.
> His concern is that when he runs xinit and then netscape, his machine
> locks up hard. It seems to be a memory problem as he can't telnet in
> and he can't move his mouse (which is usually hardware).
>
> If you have any idea about what I am saying and possibly a way of fixing
> or explaining why this happens, could you let me know. I'd appreciate
> any help I can get. Thanks
What kernel is he running? It sounds like either the VM is falling over
(not surprising), he's got a problem when exceeding physical RAM (problem
with swap...or the VM again), or he's got some defective RAM (doubtful
since there would be some other warning signs). If it's either of the
first two, though, it is probably kernel related, hence the question...
C
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: UP1000 and Memory Leak
2000-11-22 3:58 UP1000 and Memory Leak kwood
2000-11-22 5:12 ` Christopher C. Chimelis
@ 2000-11-22 12:58 ` Rich Payne
2000-11-22 14:57 ` Robert Williams
2 siblings, 0 replies; 4+ messages in thread
From: Rich Payne @ 2000-11-22 12:58 UTC (permalink / raw)
To: AXP List
> UP1000
> 128MB Ram
> 20GB IDE Drive
> RH 6.2 Stock, no updates
>
> I reloaded the machine myself just to make sure, but it still does it.
> If you log into the machine and run free you will get an amount of used
> and free ram. Compare this to the amount you get after running X and
> then exiting and you get a different number. Now log out and in and you
> get yet a different number. All lower than the one you started with.
> Now is this a good example of a memory leak or am I thinking
> incorrectly. Shouldn't you have the same amount of ram before and after
> running a task and then exiting?
No, think of disk caching. Also, If I rememebr correctly, 6.2 has kernel
2.2.14-?, that's rather old...I would at least put the 2.2.16-3 update on
there. There's also a glibc update, but I think that was security related?
> His concern is that when he runs xinit and then netscape, his machine
> locks up hard. It seems to be a memory problem as he can't telnet in
> and he can't move his mouse (which is usually hardware).
No, I wouldn't say that is immediatly hardware, especially if it is always
triggered by X+Netscape. How long does the machine run w/o X+Netscape?
--rdp
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: UP1000 and Memory Leak
2000-11-22 3:58 UP1000 and Memory Leak kwood
2000-11-22 5:12 ` Christopher C. Chimelis
2000-11-22 12:58 ` Rich Payne
@ 2000-11-22 14:57 ` Robert Williams
2 siblings, 0 replies; 4+ messages in thread
From: Robert Williams @ 2000-11-22 14:57 UTC (permalink / raw)
To: axp-list
kwood@atipa.com wrote:
> His concern is that when he runs xinit and then netscape, his machine
> locks up hard. It seems to be a memory problem as he can't telnet in
> and he can't move his mouse (which is usually hardware).
This has happened with my UP1000 from time to time,
when I have experimented with different kernels.
My general suspicions and impressions are that
1. The 2.2.14 and 2.2.16 Alpha kernels from RedHat
both have problems or lack features.
2. The 2.2.16 Alpha kernel from the RedHat updates
directory fares better than 2.2.14, but it lacks ide dma,
a must.
3. The best Kernels for UP1000 are those you roll
yourself. Obtain a stock 2.2.16 or 2.2.17 kernel
from ftp.kernel.org:/pub/linux/kernel/2.2.
Obtain patches from ftp.alphalinux.org/pub/people.
The patch for ide dma, really a must, is in hedrick/ there.
The patch for software raid, not so important, is in ...
arg! I can't recall at the moment.
4. There may be other patches here that you might
want to apply, but there appears to be now documentation
anywhere about these options and the ramifications
of applying or not applying them. It seems that the
only way to find out is to query this list.
(Someone correct me if I'm wrong here.)
5. Gnome in RH 6.1 and maybe 6.2 can cause problems
with some alpha systems. It's forced me to used kde
exclusively, at least for now.
Bob Williams
--
Robert Williams
http://bob.usuhs.mil/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-11-22 14:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-22 3:58 UP1000 and Memory Leak kwood
2000-11-22 5:12 ` Christopher C. Chimelis
2000-11-22 12:58 ` Rich Payne
2000-11-22 14:57 ` Robert Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox