[Samba] nmbd Hogging CPU on Mac OSX (10.5.4)

James Peach jorgar at gmail.com
Sun Aug 24 22:52:09 GMT 2008


2008/8/21 Mark Jackson <kirky76 at googlemail.com>:
> Hi All,
>
> Firstly, I know this is a MacOS X issue and not sure if you guys can help,
> but I'm really hoping you can since I don't appear to be getting any joy
> elsewhere.
>
> Running OSX 10.5.4 and recently (last week) nmbd is hogging the CPU. I know
> this is a part of the Samba server on OSX, hence the post to this mail-list.
>
> When I disconnect from the network, nmbd goes away and doesn't hog the CPU.
> Reconnect, within a minute it comes back. Happens on both Wired and Wireless
> connections. I don't have filesharing enabled within OSX.
>
> Checked the logs in /var/logs/samba/log.nmbd and the last entries are below.
>
> My Mac is on my corporate network which is 99% Windows, if that matters...?
>
> Any thoughts or comments appreciated as this is getting quite frustrating
> now.
>
> Thanks,
> Mark
>
> [2008/08/21 09:09:28, 0, pid=118]
> /SourceCache/samba/samba-187.4/samba/source/lib/util_tdb.c:tdb_log(662)
>  tdb(/private/var/samba/gencache.tdb): tdb_rec_read bad magic 0xd9fee666 at
> offset=2592
> [2008/08/21 09:09:33, 0, pid=118]
> /SourceCache/samba/samba-187.4/samba/source/lib/util_tdb.c:tdb_log(662)
>  tdb(/private/var/samba/gencache.tdb): tdb_rec_read bad magic 0xd9fee666 at
> offset=2592
> [2008/08/21 09:09:33, 0, pid=118]
> /SourceCache/samba/samba-187.4/samba/source/lib/util_tdb.c:tdb_log(662)
>  tdb(/private/var/samba/gencache.tdb): tdb_rec_read bad magic 0xd9fee666 at
> offset=2592
> [2008/08/21 09:09:33, 0, pid=118]
> /SourceCache/samba/samba-187.4/samba/source/lib/util_tdb.c:tdb_log(662)
>  tdb(/private/var/samba/gencache.tdb): tdb_rec_read bad magic 0xd9fee666 at
> offset=2592
> [2008/08/21 09:09:34, 0, pid=118]
> /SourceCache/samba/samba-187.4/samba/source/nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
>  find_domain_master_name_query_fail:
>  Unable to find the Domain Master Browser name WORKGROUP<1b> for the
> workgroup WORKGROUP.
>  Unable to sync browse lists in this workgroup.
> [2008/08/21 09:09:34, 0, pid=118]
> /SourceCache/samba/samba-187.4/samba/source/nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
>  find_domain_master_name_query_fail:
>  Unable to find the Domain Master Browser name WORKGROUP<1b> for the
> workgroup WORKGROUP.
>  Unable to sync browse lists in this workgroup.
> [2008/08/21 09:24:43, 0, pid=118]
> /SourceCache/samba/samba-187.4/samba/source/nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
>  find_domain_master_name_query_fail:
>  Unable to find the Domain Master Browser name WORKGROUP<1b> for the
> workgroup WORKGROUP.
>  Unable to sync browse lists in this workgroup.
> [2008/08/21 09:24:43, 0, pid=118]
> /SourceCache/samba/samba-187.4/samba/source/nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
>  find_domain_master_name_query_fail:
>  Unable to find the Domain Master Browser name WORKGROUP<1b> for the
> workgroup WORKGROUP.
>  Unable to sync browse lists in this workgroup.
> [2008/08/21 09:29:54, 0, pid=118]
> /SourceCache/samba/samba-187.4/samba/source/lib/util_tdb.c:tdb_log(662)
>  tdb(/private/var/samba/gencache.tdb): remove_from_freelist: not on list at
> off=8736
> [2008/08/21 09:29:54, 0, pid=118]
> /SourceCache/samba/samba-187.4/samba/source/lib/util_tdb.c:tdb_log(662)
>  tdb(/private/var/samba/gencache.tdb): tdb_free: left free failed at 8736

gencache.tdb is corrupt, delete /var/samba/gencache.tdb.

-- 
James Peach | jorgar at gmail.com


More information about the samba mailing list