Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Spawning multiple smbclient processes!

Spawning multiple smbclient processes!
Thread Tools
Moderator
Join Date: Oct 2001
Location: San Jose, CA
Status: Offline
Reply With Quote
Jun 2, 2009, 12:34 PM
 
All of a sudden (yesterday), my 2.33 GHz MBP has started spawning multiple smbclient processes for no reason, jacking up my CPU usage and slowing everything down. Activity monitor shows these smbclient processes have different parent processes: Firefox, the Finder, Powerpoint. I haven't changed anything on my system. The only thing that seems to stop it is a reboot. I am on a Windows network at work, but I have all sharing options turned off.

Anybody have any ideas? I can't work like this.

Steve
Celebrating 10 years and 4000 posts on MacNN!
     
Moderator
Join Date: Dec 2000
Location: Polwaristan
Status: Offline
Reply With Quote
Jun 2, 2009, 12:37 PM
 
What does Console tell you?
     
Moderator
Join Date: Oct 2001
Location: San Jose, CA
Status: Offline
Reply With Quote
Jun 2, 2009, 12:52 PM
 
I see this in the System log:

Jun 2 10:21:33 Macintosh-9 com.apple.launchd[424] ([0x0-0xc00c].com.apple.finder[492]): Stray process with PGID equal to this dead job: PID 5792 PPID 1 smbclient
Jun 2 10:21:33 Macintosh-9 com.apple.launchd[424] ([0x0-0xc00c].com.apple.finder[492]): Stray process with PGID equal to this dead job: PID 5786 PPID 1 smbclient
Jun 2 10:21:33 Macintosh-9 com.apple.launchd[424] ([0x0-0xc00c].com.apple.finder[492]): Stray process with PGID equal to this dead job: PID 5785 PPID 1 smbclient
Jun 2 10:21:33 Macintosh-9 com.apple.launchd[424] ([0x0-0xc00c].com.apple.finder[492]): Stray process with PGID equal to this dead job: PID 5784 PPID 1 smbclient


But they just keep spawning for no reason. I've gotten up to at least 10 or 15.

Steve
Celebrating 10 years and 4000 posts on MacNN!
     
Moderator
Join Date: Dec 2000
Location: Polwaristan
Status: Offline
Reply With Quote
Jun 2, 2009, 05:23 PM
 
Some guys at the link below had success turning off Safari's anti-phishing/fraud sites setting and (partially) by clearing ~/Library/Recent Servers

G5 Problems
     
Moderator
Join Date: Oct 2001
Location: San Jose, CA
Status: Offline
Reply With Quote
Jun 3, 2009, 12:58 PM
 
Well, I was able to stop it yesterday by disconnecting my ethernet and turning off Airport without having to reboot. The processes went away and have not come back. I'll have to keep monitoring this.

Steve
Celebrating 10 years and 4000 posts on MacNN!
     
Moderator
Join Date: Dec 2000
Location: Polwaristan
Status: Offline
Reply With Quote
Jun 3, 2009, 06:14 PM
 
If it returns you could packet sniff your activity and see whether those connections are trying to go anywhere.
     
Moderator
Join Date: Oct 2001
Location: San Jose, CA
Status: Offline
Reply With Quote
Jun 5, 2009, 03:21 PM
 
Argh! It's happening again. I can't link it to anything other than Samba trying to provide the list of Windows servers on my work network (and failing, for some reason). Is there any way to prevent that from happening?

Steve
Celebrating 10 years and 4000 posts on MacNN!
     
Moderator
Join Date: Oct 2001
Location: San Jose, CA
Status: Offline
Reply With Quote
Jun 5, 2009, 03:58 PM
 
OK, I think I finally solved it (I hope). I did install Little Snitch and it kept asking for permission to allow an app called nmdb to connect. Well, I didn't know it, but nmdb is part of Samba, which is what smbclient is for. A Google for nmdb came up with this:

Nabble - Samba - General - nmbd Hogging CPU on Mac OSX (10.5.4)

and this:

Apple - Support - Discussions - nmbd Hogging CPU ...

The solution was to delete a stuck cache file called gencache.tdb in the /var/samba/ directory. I noticed that the date on my gencache file was from back in May while the other files were from June (today), a good indication that the file was "stuck" or corrupted. I deleted the file, and the smbclient processes have disappeared.

I hope this helps someone else who has this problem, but I can't imagine what a beginning user would do.

Steve
Celebrating 10 years and 4000 posts on MacNN!
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:48 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2