[Dovecot] reload without shutting imap connections down

Reindl Harald h.reindl at thelounge.net
Tue Jul 16 14:54:52 EEST 2013


where do you suspect a crash in "Warning: SIGHUP received"?
https://en.wikipedia.org/wiki/Unix_signal

SIGHUP is used for a lot of software to indicate reload
the configuration without completly restart a service

Am 16.07.2013 13:49, schrieb Daniel Reinhardt:
> From the looks and sounds of things your Dovecot installation and
> configuration is crashing without creating a dump.  What happens prior to
> the aforementioned log entries?
> 
> On Tue, Jul 16, 2013 at 11:44 AM, Hajo Locke <hajo.locke at gmx.de> wrote:
> 
>> Hello,
>>
>> we have some problems with users who report connectionproblems to dovecot
>> sometimes. According to the logs there are dovecot reloads at this times.
>> Seems that a reload also causes dovecot to shut all imapconnections down:
>>
>> Jul 16 13:31:40 myhostname dovecot: master: Warning: SIGHUP received -
>> reloading configuration
>> Jul 16 13:31:40 myhostname dovecot: imap: Server shutting down.
>> bytes=251/675
>>
>> I tried to reload by initscript or sending -HUP manually to pid, dovecot
>> is shutting down imapconnections and i think this is the reason for users
>> to report this problems with some clients.
>> This seems to be new with versions 2.x, i have some old 1.2.x dovecots
>> running and cant find "Server shutting down" in their logs after reload.
>>
>> I have still potential to reduce reloads, but cant avoid them completely.
>> Is there a workaround?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130716/52794311/attachment.bin>


More information about the dovecot mailing list