[Samba] get_share_mode_lock: get_static_share_mode_data failed: NT_STATUS_NO_MEMORY

Markus Dellermann saml at use.startmail.com
Fri Nov 15 11:31:44 UTC 2019


Hi all,
hope, its ok, to join here..
Am Donnerstag, 14. November 2019, 14:34:29 CET schrieb Peter Eriksson via samba:
> Upgraded to Samba 4.11.2 and I’ve now too started seeing the message:
> 
> 	get_share_mode_lock: get_static_share_mode_data failed: 
NT_STATUS_NO_MEMORY
> 
> A lot. I modified the source in source3/locking/share_mode_lock.c a bit in
> order to print out the values of the service path, smb_fname &
> old_write_time when it fails and it seems they are all NULL…
> 
> 
> [2019/11/14 14:24:23.358441,  0]
> ../../source3/locking/share_mode_lock.c:457(fresh_share_mode_lock)
> servicepath=0x0, smb_fname=0x0, old_write_time=0x0
> [2019/11/14 14:24:23.358965,  1]
> ../../source3/locking/share_mode_lock.c:598(get_share_mode_lock)
> get_share_mode_lock: get_static_share_mode_data failed: NT_STATUS_NO_MEMORY
> 
> 
> fresh_share_mode_lock() only get’s called from get_static_share_mode_data()
> when dbwrap_record_getvalue(rec) returns a value.dptr == NULL.
> 
> I’m a bit unsure at the moment if this is a real problem is just an annoying
> log entry that can be ignored…
> 
> - Peter
It seems to be the same here since 4.11..:
../../source3/locking/share_mode_lock.c:597(get_share_mode_lock) 

Not sure, if this is related, but it seems we have now much more corruptions on a 
LotusOrganizer-file which is heavily used by some people.
I have to compress often


samba-4.11.2+git.99.f93cc798f2e-lp151.1.1.x86_64

kvm/proxmox system
48GB Ram
free -hm 
cat /etc/samba/smb.conf 


Markus




More information about the samba mailing list