Excessive dbwrap_watch.c messaging_send messages in log

Bug #1670400 reported by Owen Dunn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Description: Ubuntu 14.04.5 LTS
Release: 14.04

Samba Version: 2:4.3.11+dfsg-0ubuntu0.14.04.4

Samba appears to be working fine for us, but the log files in /var/log/samba are full of lines like:

[2017/03/06 15:37:55.927454, 1] ../source3/lib/dbwrap/dbwrap_watch.c:362(dbwrap_watch_record_stored)
  messaging_send to 5902 failed: NT_STATUS_OBJECT_NAME_NOT_FOUND

coming in occasional bursts of about five within a second.

Looking around the documentation for dbwrap I find that 5902 is supposed to be a pid that's registered an interest in some tdb file, and indeed:

dbwrap_tool --persistent passdb listwatchers

...does list 15116 and 5902. (Actually, you can put anything in there in place of passdb...) However, neither process exists, so it's not surprising that samba can't send messages to them. Can these `dead watchers' be removed? Is there a way to stop them hanging around in the first place?

Thanks,

Owen

Revision history for this message
Nish Aravamudan (nacc) wrote :

Hello and thank you for filing this bug report. Someone will need to investigate where that message is coming from and why it's being sent for pids that no longer exist.

Changed in samba (Ubuntu):
status: New → Triaged
tags: added: trusty
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

First of all, apologies for taking so long to reply to this bug. For some reason it seems to have fallen through the cracks and nobody noticed it for quite a while.

I am not sure if this is a still valid bug. Trusty is not supported anymore, and I can't seem to reproduce this on Impish. In fact, the "listwatchers" operation on dbwrap_tool doesn't exist anymore:

# dbwrap_tool --persistent passdb listwatchers
ERROR: invalid op 'listwatchers' specified
       supported ops: fetch, store, delete, exists, erase, listkeys

I installed samba inside an Impish LXD container, and I don't see the warning in the log files.

I am therefore marking this bug as Incomplete and removing the trusty tag for now. If you are still experiencing this issue, please reply to this bug and, if possible, provide steps to reproduce the problem.

Thank you.

Changed in samba (Ubuntu):
status: Triaged → Incomplete
tags: removed: trusty
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.