** Attachment added: "Debdiff for gutsy-proposed" http://launchpadlibrarian.net/10936470/postfix-policyd_1.80-2.2ubuntu1.1.dsc.diff
** Description changed: Binary package hint: postfix-policyd The postfix-policyd on my server tends to hang all of a sudden and cause Postfix to temporarily reject all mail. If this happens, the last log line from postfix-policyd is: Dec XX XX:XX:XX hostname postfix-policyd: connecting to mysql database: Until I manually kill/restart the postfix-policyd service, postfix does not accept any mails: Dec XX XX:XX:XX hostname postfix/smtpd[6557]: warning: problem talking to server 127.0.0.1:10031: Connection timed out I'll investigate further (enabled debuglog), but currently I believe it may be related to this (missing) fix: http://svn.linuxrulz.org/WebSVN/diff.php?repname=Policyd&path=%2Fbranches%2Fv1.8x%2Fmysql.c&rev=30&sc=1 (it's included in 1.82, but not the version I'm using). My theory is: Due to server load the "mysql_failure_count >= 3" block gets triggered and than the missing "mysql_close(mysql)" causes this behaviour somehow. At least there's a memory leak AFAICS. I'm using postfix-policyd 1.80-2.2 (build from Debian sources) on a (largly) Feisty server with MYSQLHOST="" in /etc/postfix-policyd.conf, so it should use a mysql socket. + + TEST CASE: + As far as I can see there's no easy way to reproduce this bug. + But I think that the memory leak should be obvious and the other fix (mysql_failure_count=0) has also been adopted upstream. -- postfix-policyd hangs at "connecting to mysql database:" https://bugs.launchpad.net/bugs/175731 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
