Hi, Lasse, On Thu, 21 Aug 2003, Lasse Danielsen wrote: >Hello! >After the initial happy time with increased speed and joy, I've experienced >some difficulties. It seems bincimap hangs by some reason. It did not do so >with 1.1.8 or 1.1.9. Here's a quick "top": > PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND >26114 vpopmail 62 0 9996K 4704K run - 73:06 12.50% bincimapd >I'ts curious that it uses ~10M on all processes - is there a connection? I >really do not know where to start looking for the source of the problem, and >was thinking maybe some one on the list knew a plausible cause for it.
I guess they all come from the same large mailbox. In 1.2.0b1, the method for reading data from a message and converting to CRLF changed. It might well be that there is a problem with this. Could you attach to one of the hanging bincimapd processes with gdb for me? gdb <path> <pid> Then do a backtrace with "bt" and paste the output to the list. Note that if the gdb backtrace doesn't contain line numbers, you would have to compile bincimapd with debug info/not strip the binaries. It's also interesting to know what files the processes have open - under /proc/<pid>/fd you will find a list. You could copy the involved files into a test Maildir folder and see if you can reproduce the problem there. I'm sure we can find the bug quite fast, since the diff between 1.1.9 and 1.2.0b1 isn't very big. :-) Andy -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | "It is better not to do something | than to do it poorly."

