David Landgren

Show:

What's happening?

  • speed up sqlgrey-logstats.pl

    I wondered why the stats program was so slow. At first I thought it was the way the report tables were processed, so I optimised that. This didn't make much difference (heh) so I profiled the code and discovered the real hot spots. -- It turns out that the code spent most of the time parsing each line of the logfile for no purpose, since most lines have nothing to do with sqlgrey. So I added...

    2007-01-21 21:12:29 UTC in SQLgrey Postfix greylisting service

  • Comment: sqlgrey died with a Callback called exit during global destr

    I forgot to log in when submitting the bug, never mind. I wound up writing the following watchdog script. Feel free to add it the distribution #! /usr/local/bin/perl -w # # watch-sqlgrey - make sure that sqlgrey is still listening on its port # # copyright (C) David Landgren 2006 # license: This file is distributed under the same terms as Perl itself my $logfile = '/var/log/sqlgrey';...

    2006-11-16 15:59:11 UTC in SQLgrey Postfix greylisting service

  • make mkprinterpkg more error-aware

    If unzip is not in your path, mkprintpkg will complain about not being able to do its job, without explaining why. This patch simply adds better error messages. It also adds a new command-line switch (--keep-tmp) to stop temporary directories from being cleaned up at exit, which can in turn be used to inspect what is contained in the print driver archive.

    2002-09-18 14:07:50 UTC in Imprints Project

About Me

  • 2002-09-18 (7 years ago)
  • 613645
  • dlandgren (My Site)
  • David Landgren

Send me a message