On Tue, Jun 28, 2016 at 11:59:32AM -0400, Thomas Schulz
wrote:> This with Samba 4.4.3 on Solaris 10.
>
> I have been looking at the logs and see messages such as:
>
> [2016/06/13 14:20:37.074011, 0]
../source3/smbd/oplock.c:242(remove_oplock)
> remove_oplock: failed to lock share entry for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
> [2016/06/13 14:20:37.075061, 0]
../source3/smbd/close.c:266(close_remove_share_mode)
> close_remove_share_mode: Could not get share mode lock for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
> [2016/06/13 14:23:01.072610, 0]
../source3/smbd/oplock.c:242(remove_oplock)
> remove_oplock: failed to lock share entry for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
> [2016/06/13 14:23:01.073817, 0]
../source3/smbd/close.c:266(close_remove_share_mode)
> close_remove_share_mode: Could not get share mode lock for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
> [2016/06/13 15:04:18.057655, 0]
../source3/smbd/oplock.c:242(remove_oplock)
> remove_oplock: failed to lock share entry for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
> [2016/06/13 15:04:18.058317, 0]
../source3/smbd/close.c:266(close_remove_share_mode)
> close_remove_share_mode: Could not get share mode lock for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
> [2016/06/13 15:06:54.056727, 0]
../source3/smbd/oplock.c:242(remove_oplock)
> remove_oplock: failed to lock share entry for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
> [2016/06/13 15:06:54.057446, 0]
../source3/smbd/close.c:266(close_remove_share_mode)
> close_remove_share_mode: Could not get share mode lock for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
> [2016/06/15 09:57:17.972291, 0]
../source3/smbd/oplock.c:249(remove_oplock)
> remove_oplock: failed to remove share oplock for file
packages/winnt/adv084/8.4.1/8.4.1.06/8.4.1.6.iso, fnum 3017253363,
5fc2427:427f00:0
> [2016/06/15 09:57:17.988051, 0]
../source3/smbd/close.c:485(close_remove_share_mode)
> close_remove_share_mode: Could not delete share entry for file
packages/winnt/adv084/8.4.1/8.4.1.06/8.4.1.6.iso
> [2016/06/15 09:57:36.589452, 0]
../source3/smbd/oplock.c:242(remove_oplock)
> remove_oplock: failed to lock share entry for file
packages/winnt/adv084/8.4.1/8.4.1.06/8.4.1.6.iso
> [2016/06/15 09:57:36.590066, 0]
../source3/smbd/close.c:266(close_remove_share_mode)
> close_remove_share_mode: Could not get share mode lock for file
packages/winnt/adv084/8.4.1/8.4.1.06/8.4.1.6.iso
> [2016/06/15 10:00:18.588402, 0]
../source3/smbd/oplock.c:242(remove_oplock)
> remove_oplock: failed to lock share entry for file
packages/winnt/adv084/8.4.1/8.4.1.06/8.4.1.6.iso
> [2016/06/15 10:00:18.589054, 0]
../source3/smbd/close.c:266(close_remove_share_mode)
> close_remove_share_mode: Could not get share mode lock for file
packages/winnt/adv084/8.4.1/8.4.1.06/8.4.1.6.iso
>
> These are on an nfs mounted file system. What could cause this and is
> this something to worry about?
Don't know yet. It is unusual - the first message means it can't
find the open file mode entry that should exist for every open file.
Any chance of more context ?