Throttling respawn problems with org.samb…
apple Verified ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
I have been getting a LOT of "throttling respawn" problems with org.samba.nmbd and a warning that it is going to happen again, and again, and again, every time wasting 5 to 10 seconds.
There is a lot of lag to this.
Can anybody tell me about org.samba.nmbd, and where it came from, and how to get it to stop slowing down my system?
My Mac mini is running OS X 10.5.4 and is unexpanded.
7 replies
Sign in or join Beachball Help to reply.
- 0
J D McIninch ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
SAMBA is the Windows file and printer sharing support package use by Mac OS X, Solaris, and Linux. NMBD is the NetBIOS over IP name service (it's through this mechanism that you computer takes part in the Windows' Network Neighborhood view and is browsed as a Windows file/print-sharing computer).
The error stems from nmbd starting up, then crashing, and then starting again. OS X sets up nmbd to be run as a service by a program called launchd. Launchd has been set up to automatically restart nmbd if it crashes for some reason (which is called "respawning" nmbd). If NMBD is crashing immediately as it starts, this would leave launchd having to restarting it tens or hundreds of times a second -- something that could gobble up a lot of resources on your computer. So, launchd keeps track of how frequently it has to restart it, and injects a pause between restarts, if it's happening too often.
Why is is happening? Well, generally it means that the configuration files for SAMBA have errors in them somewhere. I can't imagine how that would happen normally, unless you put some very strange letters in your computer name or something. You can get rid of the problem by turning off Windows file/print sharing.
Assuming you want to keep the Windows sharing turned on, I would consider changing the computer name and Windows workgroup name (and maybe the names of any strangely named printers) and saving them. This should cause OS X to rewrite the configuration files and make any corrections.
Avoid using non-ASCII characters in computer, workgroup, and printer names.
If that doesn't help, see if there's a clue provided by reading the messages in Console.app.
- 0
beta_zero ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
J D McIninch wrote:
SAMBA is the Windows file and printer sharing support package use by Mac OS X, Solaris, and Linux. NMBD is the NetBIOS over IP name service (it's through this mechanism that you computer takes part in the Windows' Network Neighborhood view and is browsed as a Windows file/print-sharing computer).The error stems from nmbd starting up, then crashing, and then starting again. OS X sets up nmbd to be run as a service by a program called launchd. Launchd has been set up to automatically restart nmbd if it crashes for some reason (which is called "respawning" nmbd). If NMBD is crashing immediately as it starts, this would leave launchd having to restarting it tens or hundreds of times a second -- something that could gobble up a lot of resources on your computer. So, launchd keeps track of how frequently it has to restart it, and injects a pause between restarts, if it's happening too often.
Why is is happening? Well, generally it means that the configuration files for SAMBA have errors in them somewhere. I can't imagine how that would happen normally, unless you put some very strange letters in your computer name or something. You can get rid of the problem by turning off Windows file/print sharing.
Assuming you want to keep the Windows sharing turned on, I would consider changing the computer name and Windows workgroup name (and maybe the names of any strangely named printers) and saving them. This should cause OS X to rewrite the configuration files and make any corrections.
Avoid using non-ASCII characters in computer, workgroup, and printer names.
If that doesn't help, see if there's a clue provided by reading the messages in Console.app.
I have yet to buy a copy of Windows.
In case I neglected to mention it, I am running Mac OS X 10.5.4 and hope I will never have to buy a copy of Windows.
How do I turn off this Windows file/print sharing feature? Can you talk me through it, step by step?
- 0
J D McIninch ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Open System Preferences.
Click on the "Sharing" icon.
Click on "File Sharing" from the list on the left. This is both for Mac and Windows file sharing. If you want to use Mac file sharing, leave it checked.
Click on the "Options" button in the lower right corner.
Uncheck the box labeled "Share files and folders using SMB", then click "Done".
Ta-da.
- 0
beta_zero ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
J D McIninch wrote:
Open System Preferences.Click on the "Sharing" icon.
Click on "File Sharing" from the list on the left. This is both for Mac and Windows file sharing. If you want to use Mac file sharing, leave it checked.
Okay....
Click on the "Options" button in the lower right corner.
Huh? Where? Although there is a little question mark graphic in the lower right corner, I don't see an "options" button ANYWHERE.
You must have OS X 10.5.4 confused with some other version.
On the other hand, there
is a table on the lefthand side of the window (is that what a 'pane' is?), and none of the little boxes are checked. So, if I check one of the boxes, does that mean that the service is going to be masked out? Or does that mean that the service will be granted?Uncheck the box labeled "Share files and folders using SMB", then click "Done".
Ta-da.
- 0
J D McIninch ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Here's a picture:
!http://www.mcininch.info/misc/sharing
paneloptions.jpg! - 0
beta_zero ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Sorry, but mine does not have any of those checkmarks, and there is no display of options. There is no reference to the word 'options,' even.
I will have to theorize that there are some people who permit remote logins, and inasmuch as they authorize file sharing, find themselves confronted with a range of options.
- 0
J D McIninch ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
In this case, you may want to enable and then disable file sharing there. If you have file sharing turned off, then there should be an entry at the top level of /System/Library/LaunchDaemons/smbd.plist called 'Disabled' (a boolean, with value 'true'). You can manually edit the plist and add (after <dict>):
<key>Disabled</key>
<true/>... which you can also accomplish by going to Terminal app and typing:
*sudo launchctl unload -w org.samba.smbd*