Go Back   The macosxhints Forums > OS X Help Requests > Networking



Reply
 
Thread Tools Rate Thread Display Modes
Old 03-28-2006, 11:13 AM   #1
pub3abn
Prospect
 
Join Date: Jan 2004
Posts: 16
Runaway smbd processes

For some reason my Mac is being overrun with runaway smbd processes. Every so often a new one appears, until well over 100 are running. Each one consumes 0.6-0.7% of my CPU, and eventually both processors are maxxed out and the whole system crawls almost to a halt, and I am forced to reboot.

I have already set the "max smbd processes" to 10, and "deadtime" to 15. But that does not seem to help.

Here are some additional details that have come up:

My computer has been online this morning for about 2 hours, and already there are 85 smbd processes. If I use the xSMB application (from http://www.xeir.com/) to view active SMB connections, I get a list of about 80 "Active Samba Shares", in this form:

***
init_iconv: Conversion from UTF-16LE to CP0 not supported
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII
init_iconv: Conversion from UTF-8 to CP0 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from US-ASCII to CP0 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from CP0 to UTF-16LE not supported
init_iconv: Attempting to replace with conversion from ASCII to UTF-16LE
init_iconv: Conversion from CP0 to UTF-8 not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
init_iconv: Conversion from CP0 to US-ASCII not supported
init_iconv: Attempting to replace with conversion from ASCII to ASCII
***
...and so forth.

It appears that these are spawned whenever Windows users attempt (unsuccessfully) to connect to my server. I have no idea why this started happening all of a sudden in the past week or so.

Until recently I was successfully sharing folders with Windows users on the network. Now no one is able to connect to my computer, even though its NetBIOS name shows up in the Windows network browser. OS X users are still able to connect through afp, but not through smb.

Does anyone know what could be causing this, or how to fix it? Thanks for any guidance or suggestions.
pub3abn is offline   Reply With Quote
Old 03-28-2006, 12:36 PM   #2
Raven
Hall of Famer
 
Join Date: Jul 2003
Location: Montreal
Posts: 4,782
You failed to mention with version of OS X your running on your server.
__________________
Waffled foreheads are a symptom of broken keyboards and inexperienced users
Raven is offline   Reply With Quote
Old 03-28-2006, 12:41 PM   #3
pub3abn
Prospect
 
Join Date: Jan 2004
Posts: 16
I am running 10.4.5, the regular version, not OS X Server.
pub3abn is offline   Reply With Quote
Old 05-30-2006, 07:51 PM   #4
reg
Prospect
 
Join Date: Jan 2002
Posts: 1
May be linked to setting a printer server in /etc/cups/client.conf

An incaccesible printer server in /etc/cups/client.conf seemed to
have caused the same problem on my computer. So I will now
refrain from using the "ServerName" functionality in /etc/cups/client.conf.

Greetings,
-- reg
reg is offline   Reply With Quote
Old 07-02-2006, 12:13 AM   #5
bikeham
Prospect
 
Join Date: Jul 2006
Posts: 5
Possible fix for runaway smbd processes

In my search for an answer (the problem only appeared after 10.4.7 was installed), I found that the -F parameter to smbd may be the fix.

Read this:

http://www.macwindows.com/OSXServer.html#608

in particular the "solution by Houhaud.

Let me know if it helps.

Steve
bikeham is offline   Reply With Quote
Old 07-03-2006, 09:34 AM   #6
pub3abn
Prospect
 
Join Date: Jan 2004
Posts: 16
Update

Somehow I lost track of this thread, so failed to post any follow-up. Some days after my previous posts, after trying all manner of fixes and troubleshooting, I finally just reinstalled OS X. This fixed the problem for me. Thanks everyone for your comments.
pub3abn is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 04:24 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.