Memory leak in smbd
Ken Cross
kcross at nssolutions.com
Sat Dec 14 21:11:01 GMT 2002
Guys:
While running NetBench against SAMBA_3_0, there appears to be a memory
leak. The smbd process just keeps growing and I eventually see things
like this in the log:
[2002/12/14 19:42:52, 0] smbd/oplock.c:oplock_break(716)
oplock_break: malloc fail for output buffer.
[2002/12/14 19:42:52, 0] smbd/open.c:open_mode_check(697)
open_mode_check: FAILED when breaking oplock (3) on file
clients/client11/~dmtmp/WORD/BASEMACH.DOC, dev = 426, inode = 70
[2002/12/14 19:42:56, 0] lib/util.c:Realloc(937)
Memory allocation error: failed to expand to 17408 bytes
[2002/12/14 19:42:56, 0] lib/util.c:Realloc(937)
Memory allocation error: failed to expand to 17408 bytes
[2002/12/14 19:42:56, 0] smbd/oplock.c:oplock_break(711)
oplock_break: malloc fail for input buffer.
[2002/12/14 19:42:56, 0] smbd/open.c:open_mode_check(697)
open_mode_check: FAILED when breaking oplock (3) on file
clients/client12/~dmtmp/WORD/BASEMACH.DOC, dev = 426, inode = 74
[2002/12/14 19:42:56, 0] lib/util.c:Realloc(937)
Memory allocation error: failed to expand to 17408 bytes
[2002/12/14 19:42:56, 0] lib/util.c:Realloc(937)
Memory allocation error: failed to expand to 17408 bytes
[2002/12/14 19:42:56, 0] lib/util.c:Realloc(937)
Memory allocation error: failed to expand to 17408 bytes
[2002/12/14 19:42:57, 0] lib/util.c:Realloc(937)
Memory allocation error: failed to expand to 17408 bytes
[2002/12/14 19:42:57, 0] lib/util.c:Realloc(937)
Memory allocation error: failed to expand to 17408 bytes
[2002/12/14 19:42:57, 0] lib/util.c:Realloc(937)
Memory allocation error: failed to expand to 17408 bytes
smbd in malloc(): warning: recursive call.
smbd in malloc(): warning: recursive call.
smbd in malloc(): warning: recursive call.
smbd in malloc(): warning: recursive call.
smbd in malloc(): warning: recursive call.
Anyone else seen this?
Thanks,
Ken Cross
More information about the samba-technical
mailing list