Re: [Mimedefang] Mimedefang with postfix. Process memory usage over time.

2017-11-12 Thread Dianne Skoll
On Fri, 10 Nov 2017 18:44:20 -0500 Robert Theisen wrote: > Did you find anything of concern in the mimedefang process on your > host that was consuming 8GB RAM? No, and here's the weird thing. I attached using gdb and forced a core dump. The core file was only 98MB in

Re: [Mimedefang] Mimedefang with postfix. Process memory usage over time.

2017-11-10 Thread Robert Theisen
Did you find anything of concern in the mimedefang process on your host that was consuming 8GB RAM? ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit

Re: [Mimedefang] Mimedefang with postfix. Process memory usage over time.

2017-11-10 Thread Robert Theisen
sendmail-milter-8.14.7-5.el7.x86_64 [ext-mx09] [10:31:02 PM] [root@ext-mx09 tmp]# rpm -qa | grep milter sendmail-milter-8.14.7-5.el7.x86_64 [ext-mx09] [10:31:10 PM] [root@ext-mx09 tmp]# rpm -ql sendmail-milter /usr/lib64/libmilter.so.1.0 /usr/lib64/libmilter.so.1.0.1

Re: [Mimedefang] Mimedefang with postfix. Process memory usage over time.

2017-11-10 Thread Dianne Skoll
On Fri, 10 Nov 2017 13:18:15 -0500 Robert Theisen wrote: > { > struct privdata *data; > char *val; > char buf[256]; > if (*macro && *(macro+1)) { > /* Longer than 1 char -- use curlies */ > snprintf(buf, sizeof(buf), "{%s}", macro); >

Re: [Mimedefang] Mimedefang with postfix. Process memory usage over time.

2017-11-10 Thread Dianne Skoll
Hi again, What version of libmilter are you linking against? There was a memory leak in libmilter in versions older then 8.14.4. https://groups.google.com/forum/#!topic/linux.debian.bugs.dist/I3QpUbpdwSM Regards, Dianne. ___ NOTE: If there is a

Re: [Mimedefang] Mimedefang with postfix. Process memory usage over time.

2017-11-10 Thread Robert Theisen
Something that might help. I noticed that the format of the string in memory is ... _ {auth_authen} {auth_author} {auth_ssf} {auth_type} {cert_issuer} {cert_subject} {cipher} {cipher_bits} {daemon_name} {daemon_port} i {if_addr} {if_name} j {mail_addr} {mail_host} {mail_mailer} {tls_version}

Re: [Mimedefang] Mimedefang with postfix. Process memory usage over time.

2017-11-10 Thread Dianne Skoll
On Fri, 10 Nov 2017 10:33:10 -0500 Robert Theisen wrote: [snip] > and that macro gets copied to dbuf at line 952 > > /* Write the standard macros */ > macro = StandardSendmailMacros; > while (*macro) { > append_macro_value(, ctx, *macro); >

[Mimedefang] Mimedefang with postfix. Process memory usage over time.

2017-11-10 Thread Robert Theisen
We have an environment with postfix-2.10.1-6.el7.x86_64 and mimedefang-2.78-6.el7.x86_64 . Postfix is configured to interact with mimedefang via smtpd_milters = unix:/var/spool/MIMEDefang/mimedefang.sock [root@ext-mx02 ~]# uname -a Linux ext-mx02 3.10.0-514.21.2.el7.x86_64 #1 SMP Sun May 28