On Friday 13 November 2009 18:52:03 Wietse Venema wrote: > Thanks for the logging. If you have time, can you change the code > to print information about the non-zero size? This could be a > filesystem feature where ftruncate() does not reset st_size until > the file is rewritten or closed (in which case my attempt to force > easly release of disk blocks are in vain).
This is running on FreeBSD 7.2-RELEASE-p2. The usual UFS file system. > *** ./smtpd_proxy.c.orig Mon Nov 9 19:41:50 2009 > --- ./smtpd_proxy.c Fri Nov 13 12:44:46 2009 Thanks, applied the patch. $ tail -500 -f /var/log/mail.log | egrep -i 'panic|smtpd_proxy|speed-adjust' Nov 13 19:04:14 dorothy postfix/smtpd[65777]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 20081 Nov 13 19:04:38 dorothy postfix/smtpd[65645]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 114 Nov 13 19:04:40 dorothy postfix/smtpd[65624]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 201 Nov 13 19:05:04 dorothy postfix/smtpd[67884]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 49 Nov 13 19:05:12 dorothy postfix/smtpd[68082]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 37 Nov 13 19:05:21 dorothy postfix/smtpd[68339]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 37 Nov 13 19:05:45 dorothy postfix/smtpd[67901]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 43 Nov 13 19:05:45 dorothy postfix/smtpd[67884]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 31 Nov 13 19:06:01 dorothy postfix/smtpd[68614]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 26 Nov 13 19:06:12 dorothy postfix/smtpd[67997]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 25 Nov 13 19:06:13 dorothy postfix/smtpd[68397]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 32 Nov 13 19:06:19 dorothy postfix/smtpd[68557]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 31 Nov 13 19:06:22 dorothy postfix/smtpd[68064]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 26 Nov 13 19:06:23 dorothy postfix/smtpd[68155]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 35 Nov 13 19:06:23 dorothy postfix/smtpd[67953]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 218 Nov 13 19:06:26 dorothy postfix/smtpd[67999]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 37 Nov 13 19:06:27 dorothy postfix/smtpd[68670]: warning: smtpd_proxy_replay_setup: non-zero speed-adjust logfile size: 38 but no more panics. Mark