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
No related posts.

