Category: gentoo

  • Munin, how to reduce IO with rrdcached

    Few weeks ago Munin was flooding me with message alerts about IO latency, read or write, going too high. Ironically it turned out Munin was the culprit. And the solution was to use rrdcached. Lets see a Munin graph that shows pretty well the difference using rrdcached made: Around week 21, when I deployed this…

  • Backup MX for Mailman, with Exim

    This week a hard disk from one of my servers broke. It has been replaced with just 3 minutes of downtime (kudos to OVH), and right now the RAID array is being rebuilt. Since this is the first time this happens to me, and the server is running a production mailman service, I decided to…

  • Gentoo: How to use Munin to monitor Mailman

    Update 31/12/2012: Now this is a bit simpler, since bug 448414 has been fixed. Before we start with the step-by-step procedure to get the mailman plug-in working, lets recall how to test a munin plug-in: $ sudo munin-run mailman posts.value 24 members.value 21892 The output above is what you should get once the mailman plug-in…

  • Gentoo: How to debug Exim

    If you have some problem with exim, and the logs are not enough, edit the /etc/conf.d/exim file, and add the debugging option (-d): /etc/conf.d/exim# Command-line options for running eximEXIM_OPTS=”-bd -q15m -d” Then restart exim: # /etc/init.d/exim restart The exim daemon will not be detached from the console, the debug information will be printed to the…

  • Gentoo: the HForge overlay

    Just updated the ebuilds for itools and ikaaro in the hforge overlay, so I thought this is a good time to document how to use the hforge overlay. Layman with Git support If you have not installed layman yet, you have to, with the git use flag: /etc/portage/package.useapp-portage/layman git Then emerge layman: $ sudo emerge…

  • Gentoo: Mailman with Nginx & Exim

    UPDATE 2019-06-23: Change /usr/lib/ to /usr/lib64/ (after upgrade to Gentoo profile 17.1) UPDATE 2017-05-11: Use https, with Let’s Encrypt. UPDATE 2014-07-23: Forgot to give nginx access to mailman archives. Stop using sudo. Use service. UPDATE 2012-12-10: the process has been simplified now that bug #37429 is fixed. This is how I installed Mailman in a…