From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: sisyphus@altlinux.ru
Subject: [sisyphus] [tpot@samba.org: Re: Winbindd Memory Leak]
Date: Thu, 4 Oct 2001 12:00:38 +0300
Message-ID: <20011004120038.A15613@pc152.belcaf.minsk.by> (raw)
Можно надеяться, что дырка, в которую утекает память в Winbindd,
будет закрыта еще до выхода 2.2.2. По крайней мере, причина утекания
обнаружена.
----- Forwarded message from Tim Potter <tpot@samba.org> -----
Date: Thu, 4 Oct 2001 09:32:57 +1000 (EST)
From: Tim Potter <tpot@samba.org>
To: "Esh, Andrew" <AEsh@tricord.com>,
"Samba-Technical (E-mail)" <samba-technical@lists.samba.org>
Subject: Re: Winbindd Memory Leak
Tim Potter writes:
> > The size of the leak varies from 8 to 12 bytes, but the stack
> > is always identical. The call to talloc implies that all of
> > this leaked memory could be freed at one point by calling
> > talloc_destroy. My problem is, I don't know (yet) where to do
> > that. The obvious place is somewhere in the stack listed
> > above, but I don't quite see where yet.
>
> There is a call to lp_talloc_free() in the winbindd main loop
> which should free memory as it is going along. This only frees
> memory from the global tdb used for parameter strings. I suspect
> there is another TALLOC_CTX that is being used, probably in the
> rpc code, that is not being freed. I'm taking a look at it now.
Jeremy and I have decided to do a bit of refactoring (i.e
chainsaw work) on connection and memory management in winbind.
It may make it in to 2.2.
Tim.
----- End forwarded message -----
--
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
`Senior software developer and analyst for SaM-Solutions Ltd.`
---
Only a fool has no doubts.
reply other threads:[~2001-10-04 9:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011004120038.A15613@pc152.belcaf.minsk.by \
--to=a.bokovoy@sam-solutions.net \
--cc=sisyphus@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git