[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Memory leak happening while using open ldap with free-radius and samba
- To: Adarsha S <s.adarsha@gmail.com>
- Subject: Re: Memory leak happening while using open ldap with free-radius and samba
- From: Hallvard Breien Furuseth <h.b.furuseth@usit.uio.no>
- Date: Fri, 05 Jun 2015 13:15:44 +0200
- Cc: openldap-technical@openldap.org
- In-reply-to: <CA+kZdmgM14E6+Pxa=qT6Q4vbimYaoQ+tp61VLKx57xizo0xEDg@mail.gmail.com>
- References: <CA+kZdmgM14E6+Pxa=qT6Q4vbimYaoQ+tp61VLKx57xizo0xEDg@mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
On 05. juni 2015 12:31, Adarsha S wrote:
Please guide me how to identify this memory leak?
Google(find memory leaks).
Try valgrind:
Try to run radiusd as "valgrind --leak-check=full radiusd ..."
It'll report leaks when it exits, or you can tweak radiusd
to report them once in a while when running. With a daemon
you may also need to prevent it from detaching and closing
stdout/stderr.
--
Hallvard