Archive for April 21st, 2012

Samba taking too much CPU

Since I upgraded to Oneiric, I’ve been noticing problems with smbd. In particular, smbd has been taking up an inordinate amount of CPU. It’s been sitting around 30%, which is impressive since this is a quad-core machine. Nothing should be able to hit the CPU that hard. Especially not smbd, which really doesn’t have much going on unless it’s processing major file transfers.

Turns out that I am not the only person having this issue (of course). And it turns out the solution is rather easy:

You can delete /var/cache/samba/printing/<printer>.tdb files and restart samba:

rm /var/cache/samba/printing/<printer>.tdb
/etc/init.d/smbd restart

via Log Files – SME Server.

Profile picI am a 40-ish uber-geek, Daoist and family man. Blessed to have one incredible wife and three wonderful kiddos. Dao has been kind to me.

Archives
April 2012
S M T W T F S
« Sep   Sep »
1234567
891011121314
15161718192021
22232425262728
2930  
QR Code
Top categories