* mem leaks in RH6.0 on Alpha?
@ 2000-10-03 16:54 David Rysdam
2000-10-03 17:16 ` Greg Lindahl
2000-10-03 17:55 ` Matt Wilson
0 siblings, 2 replies; 9+ messages in thread
From: David Rysdam @ 2000-10-03 16:54 UTC (permalink / raw)
To: axp-list
I've got a fairly large program that I've ported to
Linux (Intel and Alpha). Running some stress tests on
the Alpha I found that I was leaking memory (enough to
bring the machine down, eventually). I couldn't find
any memory trackers to run on Alpha, so I worked on
Intel. I found some issues (using LeakTracer, which
does new/delete stuff) and fixed them.
After a while I ran into a wall because I couldn't
seem to fix the all the item LeakTracer was reporting
AND I was still leaking memory faster than LeakTracer
indicated I should be. I figured it must be
malloc/free stuff. So I d/l'd mpr (which does
EVERYTHING). It showed me I had some system lib leaks
(glibc 2.1.1). Researching these on the internet, I
found some references to taking nisplus out of
/etc/nsswitch.conf. I did this and found it improved.
But Alpha is still leaking like all get-out. I'm
reaching the end of my rope, here. I have multiple
problems:
1) I don't have any definitive way to prove I have a
memory leak. I keep seeing references to "look at the
buffer line, ignore the cache, consult the ham
sandwich" but none of it makes sense.
2) I can't find any tools for finding mem leaks that
will run on Alpha Linux.
3) I've never tried to fix mem leaks before and
neither has anyone else at my location. I'm totally
lost.
Help!
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: mem leaks in RH6.0 on Alpha?
2000-10-03 16:54 mem leaks in RH6.0 on Alpha? David Rysdam
@ 2000-10-03 17:16 ` Greg Lindahl
2000-10-03 17:52 ` Jeff Sturm
2000-10-03 17:55 ` Matt Wilson
1 sibling, 1 reply; 9+ messages in thread
From: Greg Lindahl @ 2000-10-03 17:16 UTC (permalink / raw)
To: axp-list
> I've got a fairly large program that I've ported to
> Linux (Intel and Alpha). Running some stress tests on
> the Alpha I found that I was leaking memory (enough to
> bring the machine down, eventually).
RedHat 6.0 is ancient. Even if you discovered where the leaks are in, say,
libc, they're probably subsequently fixed. You should really upgrade before
you waste too much time chasing fixed bugs.
-- g
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: mem leaks in RH6.0 on Alpha?
@ 2000-10-03 17:29 David Rysdam
2000-10-03 18:22 ` Reinier Bikker
0 siblings, 1 reply; 9+ messages in thread
From: David Rysdam @ 2000-10-03 17:29 UTC (permalink / raw)
To: axp-list
No can do, we supposedly support back to RH6.0. OTOH,
I could install something more recent and see if the
behavior is better thereby proving it an OS issue.
--- Greg Lindahl <glindahl@hpti.com> wrote:
> > I've got a fairly large program that I've ported
> to
> > Linux (Intel and Alpha). Running some stress
> tests on
> > the Alpha I found that I was leaking memory
> (enough to
> > bring the machine down, eventually).
>
> RedHat 6.0 is ancient. Even if you discovered where
> the leaks are in, say,
> libc, they're probably subsequently fixed. You
> should really upgrade before
> you waste too much time chasing fixed bugs.
>
> -- g
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mem leaks in RH6.0 on Alpha?
2000-10-03 17:16 ` Greg Lindahl
@ 2000-10-03 17:52 ` Jeff Sturm
0 siblings, 0 replies; 9+ messages in thread
From: Jeff Sturm @ 2000-10-03 17:52 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
>
> > I've got a fairly large program that I've ported to
> > Linux (Intel and Alpha). Running some stress tests on
> > the Alpha I found that I was leaking memory (enough to
> > bring the machine down, eventually).
>
> RedHat 6.0 is ancient. Even if you discovered where the leaks are in, say,
> libc, they're probably subsequently fixed. You should really upgrade before
> you waste too much time chasing fixed bugs.
Greg's right... the glibc in RH6.0 had a lot of problems. Upgrading might help
your problem, and eliminate some unaligned traps as well.
But if you are serious about a leak detector for Alpha, why not try the
Boehm-Demers-Weiser garbage collector at
<uri:http://www.hpl.hp.com/personal/Hans_Boehm/gc/index.html>? It works well on
Alpha. It's main purpose is not as a leak detector of course, but it can serve
that purpose. See <uri:http://www.hpl.hp.com/personal/Hans_Boehm/gc/leak.html>.
--
Jeff Sturm
jeff.sturm@commerceone.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mem leaks in RH6.0 on Alpha?
2000-10-03 16:54 mem leaks in RH6.0 on Alpha? David Rysdam
2000-10-03 17:16 ` Greg Lindahl
@ 2000-10-03 17:55 ` Matt Wilson
1 sibling, 0 replies; 9+ messages in thread
From: Matt Wilson @ 2000-10-03 17:55 UTC (permalink / raw)
To: axp-list
The NIS+ and libresolv leaks in 6.0 have been fixed; try the glibc
package from 6.2 to verify.
Cheers,
Matt
On Tue, Oct 03, 2000 at 09:54:39AM -0700, David Rysdam wrote:
> I've got a fairly large program that I've ported to
> Linux (Intel and Alpha). Running some stress tests on
> the Alpha I found that I was leaking memory (enough to
> bring the machine down, eventually). I couldn't find
> any memory trackers to run on Alpha, so I worked on
> Intel. I found some issues (using LeakTracer, which
> does new/delete stuff) and fixed them.
>
> After a while I ran into a wall because I couldn't
> seem to fix the all the item LeakTracer was reporting
> AND I was still leaking memory faster than LeakTracer
> indicated I should be. I figured it must be
> malloc/free stuff. So I d/l'd mpr (which does
> EVERYTHING). It showed me I had some system lib leaks
> (glibc 2.1.1). Researching these on the internet, I
> found some references to taking nisplus out of
> /etc/nsswitch.conf. I did this and found it improved.
>
> But Alpha is still leaking like all get-out. I'm
> reaching the end of my rope, here. I have multiple
> problems:
>
> 1) I don't have any definitive way to prove I have a
> memory leak. I keep seeing references to "look at the
> buffer line, ignore the cache, consult the ham
> sandwich" but none of it makes sense.
>
> 2) I can't find any tools for finding mem leaks that
> will run on Alpha Linux.
>
> 3) I've never tried to fix mem leaks before and
> neither has anyone else at my location. I'm totally
> lost.
>
> Help!
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
> http://photos.yahoo.com/
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: mem leaks in RH6.0 on Alpha?
2000-10-03 17:29 David Rysdam
@ 2000-10-03 18:22 ` Reinier Bikker
0 siblings, 0 replies; 9+ messages in thread
From: Reinier Bikker @ 2000-10-03 18:22 UTC (permalink / raw)
To: axp-list
On Tue, 3 Oct 2000, David Rysdam wrote:
: No can do, we supposedly support back to RH6.0. OTOH,
: I could install something more recent and see if the
: behavior is better thereby proving it an OS issue.
:
You should install something better anyway, because of the local root
exploit. get 2.1.3-21 from updates/6.2
Reinier.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mem leaks in RH6.0 on Alpha?
@ 2000-10-09 21:19 William H. Magill
2000-10-10 13:55 ` Greg Lindahl
0 siblings, 1 reply; 9+ messages in thread
From: William H. Magill @ 2000-10-09 21:19 UTC (permalink / raw)
To: axp-list
> 1) I don't have any definitive way to prove I have a
> memory leak. I keep seeing references to "look at the
> buffer line, ignore the cache, consult the ham
> sandwich" but none of it makes sense.
>
> 2) I can't find any tools for finding mem leaks that
> will run on Alpha Linux.
>
> 3) I've never tried to fix mem leaks before and
> neither has anyone else at my location. I'm totally
> lost.
From last week's "Encompass" (formerly known as DECUS) user group
meeting in LA, ....
Both spike - a post link application optimizer - and, dcpi - a whole
system or application performance analysis tool, are being ported
from Tru64 to Alpha Linux.
http://www.tru64unix.compaq.com/dtk/
I don't recall the time frame.
--
www.tru64unix.compaq.com
www.tru64.org
comp.unix.tru64
T.T.F.N.
William H. Magill Senior Systems Administrator
Information Services and Computing (ISC) University of Pennsylvania
Internet: magill@isc.upenn.edu magill@acm.org
http://www.isc-net.upenn.edu/~magill/
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: mem leaks in RH6.0 on Alpha?
2000-10-09 21:19 William H. Magill
@ 2000-10-10 13:55 ` Greg Lindahl
0 siblings, 0 replies; 9+ messages in thread
From: Greg Lindahl @ 2000-10-10 13:55 UTC (permalink / raw)
To: axp-list
> Both spike - a post link application optimizer - and, dcpi - a whole
> system or application performance analysis tool, are being ported
> from Tru64 to Alpha Linux.
While spike and dcpi are both great tools, they won't help with memory
leaks.
-- g
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: mem leaks in RH6.0 on Alpha?
@ 2000-10-10 14:52 Phil Carmody
0 siblings, 0 replies; 9+ messages in thread
From: Phil Carmody @ 2000-10-10 14:52 UTC (permalink / raw)
To: axp-list
On Tue, 10 October 2000, "Greg Lindahl" wrote:
>
> > Both spike - a post link application optimizer - and, dcpi - a whole
> > system or application performance analysis tool, are being ported
> > from Tru64 to Alpha Linux.
>
> While spike and dcpi are both great tools, they won't help with memory
> leaks.
The names "electric fence" and "purify" come to mind as heap checkers. Not only do they detect block which have been allocated but never freed, but they also detect buffer overruns.
I don't know if they're free (as in love*), or how to use them, but at least they can help you in a web search.
Phil
* as in Courtney
Judge Lewis Kaplan's idiocy finally proved August 17, 2000:
"Defendants, on the other hand, are adherents of a movement
that believes that information should be available without
charge to anyone clever enough to break into the computer
systems or data storage media in which it is located."
_______________________________________________________________________
Free Unlimited Internet Access! Try it now!
http://www.zdnet.com/downloads/altavista/index.html
_______________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2000-10-10 14:52 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-03 16:54 mem leaks in RH6.0 on Alpha? David Rysdam
2000-10-03 17:16 ` Greg Lindahl
2000-10-03 17:52 ` Jeff Sturm
2000-10-03 17:55 ` Matt Wilson
-- strict thread matches above, loose matches on Subject: below --
2000-10-03 17:29 David Rysdam
2000-10-03 18:22 ` Reinier Bikker
2000-10-09 21:19 William H. Magill
2000-10-10 13:55 ` Greg Lindahl
2000-10-10 14:52 Phil Carmody
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox