Fixing SpamAssassin high load

Since few days before the upgrade of the home server to Fedora Linux Core 3 I was seeing high load spikes from SpamAssassin. After the upgrade, my load average stayed at 10-15 almost the whole day. I was trying to fix it, but to no avail. At first, I have switched off the Bayes filtering, thinking that that is the part to be blamed. It didn’t help. Than I forced SpamAssassin to run in non-Unicode environment, thinking that that might improve things. Nope.

After playing some more with configuration and Googling, I decided to visit #spamassassin IRC channel. In a matter of seconds I was pointed to the this bug report. I will be trying the posted patches shortly. For now though, a simple change of number of maximum children helped a lot. I have reduced it to 2 from the default value of 5. (Edit /etc/sysconfig/spamassassin)

Unicode saves the day again

I have finally fixed a bug with encoding of the blog. The content was always served as UTF-8, but the encoding was set to iso-8859-1. Editing the file nucleus/language/english.php helped. Your browsers should not be confused any more and Russian characters should work fine in the BlogRoll. Yabadabadu!

Fonts for programmers

Via this entry in Joe Grossberg‘s blog, I came across a couple of pages that link to and compare monospace fonts. Programmers spend a lot of time looking at text monospaced text, thus the choice of good font will probably increase the productivity. Apart from the usual requirements of sharp letters and multiple encodings, good differentiation between “o” (lowercase “o”), “O” (uppercase “o”), and “0” (zero) as well as “i” (lowercase “i”), “I” (uppercase “i”), “l” (lowercase “l”), and 1 (one) are greatly appreciated.

These pages are here and here.

Gramps and GraphViz speak Russian

Today is the very great day in history! :) I’ve managed to convince gramps to correctly export my family tree into GraphViz format. It did preserve all the names in Unicode, so I just had to install a unicode TrueType Arial font and generate a GIF and PNG. Both of them are now available in the “Family tree” section. And I am off to sleep… first time in the last couple of days. :)