Archive for the ‘Debian/Linux’ Category

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.

HowToAmzDownload – pymazon – A Python based downloader for the Amazon mp3 store. – Google Project Hosting

I love Amazon’s MP3 store. Probably more than I should! It is so easy to click the “Buy with 1-Click” button that is next to a song and *poof* there it is in my Amazon cloud drive, and playable via the Amazon Cloud Player. There is one big issue for those of us running a Linux distribution that isn’t 32-bit Ubuntu 9.04, then you are screwed. There’ve been many hacks to try to get the downloader to run, but most are either a pain in the ass or just plain don’t work.

Of course, since we are Linux uses, we know that someone will eventually come along and write their own solution. And that is exactly what did. Hence, we have pymazon!

pymazon – A Python based downloader for the Amazon mp3 store.

Installation is surprisingly easy, it took all of 5 minutes for me to download, compile and install pymazon. I can definitely say it runs without problems on 64-bit Linux Mint Lisa (based on Ubuntu Oneiric).

Amazon MP3 fans, unite! And grab pymazon!

Easy tutorial to send email through Gmail with sSMTP

Every now and then I install a fresh install of Linux Mint, I always forget at least one program or utility. And that tends to be an smtp server. I’ve used Postfix in the past, but I find sSMTP to be a lot easier, and less resource intensive.

I use GMail, both for incoming and outgoing email. I can never remember exactly how to configure sSMTP to work with GMail. Fortunately, Mark Sanborn did it for me!

Send Mail with Gmail and sSMTP, via nixtutor.

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.

April 2020
« Sep    
QR Code
Top categories