Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 2010 21:01:36 GMT
From:      "Pawe&#322; Kaczor" <paczor@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   alpha/148392: Users of Alpha platform should stay with Dovecot 1.1.16
Message-ID:  <201007052101.o65L1a6o054695@www.freebsd.org>
Resent-Message-ID: <201007052110.o65LA6tk013680@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         148392
>Category:       alpha
>Synopsis:       Users of Alpha platform should stay with Dovecot 1.1.16
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-alpha
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 05 21:10:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Pawe&#322; Kaczor
>Release:        6.3-RELEASE
>Organization:
>Environment:
FreeBSD gustlik.fubar.pl 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Fri Feb 15 13:29:20 CET 2008 root@berta.swired2:/usr/obj/usr/src/sys/MYKERNEL  alpha
>Description:
Hardware is:
AlphaServer 1200
1GB RAM

Dovecot uses PLAIN authentication.

Upgrading Dovecot server above 1.1.16 version leads to many zombie processes that could eat resources.
After upgrade Dovecot runs dovecot-auth processes which starts zombie:
dovecot 10334  0.0  0.0     0     0  ??  Z    10:51PM   0:00.08 <defunct>

ktrace of dovecot-auth reveals this:
 10330 dovecot-auth RET   kevent 0
 10330 dovecot-auth CALL  gettimeofday(0x1200784f0,0x120077620)
 10330 dovecot-auth RET   gettimeofday 0
 10330 dovecot-auth CALL  gettimeofday(0x11ffe998,0)
 10330 dovecot-auth RET   gettimeofday 0
 10330 dovecot-auth CALL  kevent(0x7,0,0,0x120092000,0xa,0x11ffe9a8)
 10330 dovecot-auth RET   kevent 0
 10330 dovecot-auth CALL  gettimeofday(0x1200784f0,0x120077620)
 10330 dovecot-auth RET   gettimeofday 0
 10330 dovecot-auth CALL  gettimeofday(0x11ffe998,0)
 10330 dovecot-auth RET   gettimeofday 0
 10330 dovecot-auth CALL  kevent(0x7,0,0,0x120092000,0xa,0x11ffe9a8)
and loops forever.

The longer Dovecot runs more zombies are created, rate is one per 30 seconds.
Additionally, each connection to Dovecot leaves one more zombie process.
>How-To-Repeat:
Install Dovecot 1.2.x from ports on Alphaserver 1200 and run it with default dovecot.conf (even taken from examples directory). No mather if you use POP3 or IMAP.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007052101.o65L1a6o054695>