I upgraded from rc12 to rc14 last night... sifting through the logs I noticed the following. I point this out since it appears dovecot is in high gear bug-fix mode. This issue is not big for me; I rarely stop dovecot. My init.d script for dovecot is basically
stop) killall dovecot imap-login
I am guessing there might be a more graceful way to stop dovecot? Or rc14 fixed this? I see in rc14 changelog:
- rc13 crashed if client disconnected while IDLEing
but only user1 was IDLE.
Nov 15 21:53:23 myserver dovecot: IMAP(user1@arinbe.com): Disconnected in IDLE Nov 15 21:53:23 myserver dovecot: imap-login: Killed with signal 15 Nov 15 21:53:23 myserver dovecot: IMAP(user2@arinbe.com): Disconnected Nov 15 21:53:23 myserver dovecot: imap-login: Killed with signal 15 Nov 15 21:53:23 myserver dovecot: IMAP(user3@arinbe.com): Disconnected Nov 15 21:53:23 myserver dovecot: imap-login: Killed with signal 15 Nov 15 21:53:23 myserver dovecot: I/O leak: 0x804d7a0 (17) Nov 15 21:53:23 myserver dovecot: I/O leak: 0x804d7a0 (15) Nov 15 21:53:23 myserver dovecot: I/O leak: 0x804d7a0 (19) Nov 15 21:53:30 myserver postfix/master[31974]: terminating on signal 15 Nov 15 21:54:02 myserver dovecot: Dovecot v1.0.rc14 starting up
Jim
On Thu, 2006-11-16 at 11:02 -0500, Jim Horner wrote:
I upgraded from rc12 to rc14 last night... sifting through the logs I noticed the following. I point this out since it appears dovecot is in high gear bug-fix mode. This issue is not big for me; I rarely stop dovecot. My init.d script for dovecot is basically
stop) killall dovecot imap-login
I am guessing there might be a more graceful way to stop dovecot?
Well, killing imap-login processes shouldn't be needed nowadays since they should die by themselves when master dies.
Instead of killall a bit cleaner way would be to do:
kill cat /var/run/dovecot/master.pid
Nov 15 21:53:23 myserver dovecot: I/O leak: 0x804d7a0 (17) Nov 15 21:53:23 myserver dovecot: I/O leak: 0x804d7a0 (15) Nov 15 21:53:23 myserver dovecot: I/O leak: 0x804d7a0 (19)
Could you tell me what this says:
gdb /usr/sbin/dovecot x 0x804d7a0
It should print a function name which exists in that address. Although if those messages are from rc13 then you'd need to do that against the rc13 binary..
Instead of killall a bit cleaner way would be to do:
kill
cat /var/run/dovecot/master.pid
great thanks.
Nov 15 21:53:23 myserver dovecot: I/O leak: 0x804d7a0 (17) Nov 15 21:53:23 myserver dovecot: I/O leak: 0x804d7a0 (15) Nov 15 21:53:23 myserver dovecot: I/O leak: 0x804d7a0 (19)
Could you tell me what this says:
gdb /usr/sbin/dovecot x 0x804d7a0
It should print a function name which exists in that address. Although if those messages are from rc13 then you'd need to do that against the rc13 binary..
It was actually an upgrade from rc12 to rc14; I am 13-phobic. I'll just apologize and say that I don't keep old stuff around. I upgraded to rc14 that night and deleted rc12 that night. It doesn't take much to rebuild back to a previous version so I did take some time just now to rebuild rc12 (on the same machine, etc) and for what it is worth:
(gdb) x 0x804d7a0 0x804d7a0 <login_process_input>: 0x81e58955
I hope this helps.
Jim
participants (2)
-
Jim Horner
-
Timo Sirainen