OpenARC
OpenARC copied to clipboard
Memory leak in OpenARC-1.0.0.Beta.0
There appears to be a memory leak in OpenARC-0.1.0. It has been consuming an increasing amount of memory on my system, and is disproportionate to the similar OpenDKIM:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
opendkim 9894 0.0 53.6 1570348 1096412 ? Ssl Jan18 7:25 /usr/local/sbin/openarc -c /etc/openarc.conf
opendkim 29899 0.0 0.5 690144 11228 ? Ssl Feb18 1:46 /usr/sbin/opendkim -x /etc/opendkim.conf
Signing mode only, my openarc.conf is below:
AuthservID mailhub.convivian.com
Syslog yes
Mode s
Socket local:/var/spool/postfix/var/run/opendkim/openarc.sock
PidFile /var/spool/postfix/var/run/opendkim/openarc.pid
OversignHeaders From
Domain convivian.com
KeyFile /etc/opendkim/keys/convivian.com
Selector default
UserID opendkim
InternalHosts 0.0.0.0/0
InternalHosts ::/0
Any pointers on how to debug?
Have you checked #86 ?
Yes, seems likely my leak is one of those -- do you consider it "safe" to run the devel branch in production, or are there plans for a new release soon?
No ideia about the new release but I'm using 0.1.0 with this patch and have a watchdog that restarts opoenarc if it uses too much memory.
@jeredfloyd a new release should be coming in the near future
I am still observing this issue in OpenARC-1.0.0.Beta.0; if anything it appears to have worsened. Any debugging tips?