[Dovecot] Major CPU spike for SSL parameters?
Willem Riede
wriede at riede.org
Sun Jan 22 15:27:48 EET 2006
On 01/22/2006 07:25:07 AM, Timo Sirainen wrote:
> On Thu, 2006-01-19 at 21:49 -0500, Peter Chiu wrote:
> > I applied the patch to master-settings.c and the problem is still there
> >
> > Jan 19 20:01:51 foxmulder dovecot: SSL parameters regeneration completed
> >
> > foxmulder:~$ uname -srp
> > FreeBSD 6.0-RELEASE-p3 i386
> >
> > foxmulder:etc$ grep ssl dovecot.conf
> > ssl_cert_file = /etc/ssl/certs/dovecot.pem
> > ssl_key_file = /etc/ssl/private/dovecot.pem
> > ssl_parameters_regenerate = 48
>
> Hmm. That patch fixed it with me. What happens if you set
> ssl_parameters_regenerate = 0?
It is so strange - it certainly doesn't happen on all 64 bit machines - it
doesn't on my opteron (even without your patch):
[root at athena ~]# grep "SSL parameters" /var/log/m*log*
/var/log/maillog.1:Jan 16 19:10:43 athena dovecot: SSL parameters regeneration completed
[root at athena ~]# uname -a
Linux athena.riede.org 2.6.15-1.1826.2.10_FC5 #1 SMP Wed Jan 11 18:13:37 EST 2006 x86_64 x86_64 x86_64 GNU/Linux
[root at athena ~]# egrep "ssl_(cer|key_f|para)" /etc/dovecot.conf
ssl_cert_file = /etc/pki/dovecot/dovecot.pem
ssl_key_file = /etc/pki/dovecot/private/dovecot.pem
#ssl_parameters_regenerate = 168
Regards, Willem Riede.
More information about the dovecot
mailing list