Ubuntu – loadparm.c:4864, leaking memory

14.04memory leak

I’m running Ubuntu 14.04 Server with a LAMP stack, Samba, and FTP, no GUI, just SSHing into the server and working on it. I’m having trouble searching down a solution to this issue, but as far as I can Google for it, it might have something to do with Samba.

no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory?? 

The warning doesn't pop up at any kind of regular intervals or in response to the same or repeated actions. It pops up between things I’m doing – changing directories, editing files, copying stuff, and it often pops up when I first log in.

Has anyone got experience fixing this issue?

Best Answer

This problem is related to the samba PAM module.

There are 2 solutions.

Solution 1:

Remove it with this command:

sudo apt-get remove libpam-smbpass

Reference

Solution 2:

Fix it by updating your PAM authentication module with this command:

sudo pam-auth-update

Remove the SMB password synchronization by using Down Arrow a few times and then Space. Then Tab to select OK and Enter.

Reference

Related Question