Memory leak with Version 4.0.0alpha12-GIT-77b9b97
Michael Wood
esiotrot at gmail.com
Tue Mar 27 09:20:32 MDT 2012
Hi
I'm running Samba4 version 4.0.0alpha12-GIT-77b9b97. I know it's very
old, but it works, and I have had troubles with upgrades that make me
hesitant to upgrade:
https://bugzilla.samba.org/show_bug.cgi?id=8669
https://bugzilla.samba.org/show_bug.cgi?id=8683
I am only using Samba for authentication via LDAP.
Today the LDAP authentication stopped working. kinit still worked
fine, though. The logs showed the following:
[Tue Mar 27 12:08:23 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
TLS gnutls_handshake failed - Internal error in memory allocation.
[Tue Mar 27 12:08:46 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
TLS gnutls_handshake failed - A TLS packet with unexpected length was received.
[Tue Mar 27 12:09:38 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
TLS gnutls_handshake failed - Internal error in memory allocation.
[Tue Mar 27 12:10:04 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
TLS gnutls_handshake failed - Internal error in memory allocation.
[Tue Mar 27 12:10:18 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
TLS gnutls_handshake failed - Internal error in memory allocation.
[Tue Mar 27 12:10:51 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
TLS gnutls_handshake failed - A TLS packet with unexpected length was received.
[Tue Mar 27 12:10:54 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
TLS gnutls_handshake failed - Internal error in memory allocation.
[Tue Mar 27 12:10:55 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
TLS gnutls_handshake failed - Internal error in memory allocation.
and indeed it seemed to have used up all the swap space on the box.
Killing samba and restarting it got it working again.
It seems like there is a memory leak somewhere.
I suspect you will not be able to tell me off hand whether there was a
known memory leak in the above version that has since been fixed, but
in case there was a known memory leak that has now been fixed, I would
appreciate being told that :)
Also, I assume there have been database changes since Alpha 12. Would
things work find with current Git without running upgradeprovision?
Or if I did want to upgrade, what would be the recommended procedure?
I asked once before what order dbcheck and upgradeprovision should be
run in and got no reply.
Thanks.
--
Michael Wood <esiotrot at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memory-month.png
Type: image/png
Size: 47907 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120327/e9368a96/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memory-year.png
Type: image/png
Size: 44915 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120327/e9368a96/attachment-0003.png>
More information about the samba-technical
mailing list