Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#20232 - dbmail-imapd uses 100% CPU if some file was attached to mail
Attached to Project:
Community Packages
Opened by Victor (only-victor) - Tuesday, 20 July 2010, 08:25 GMT
Last edited by Ionut Biru (wonder) - Friday, 23 July 2010, 08:23 GMT
Opened by Victor (only-victor) - Tuesday, 20 July 2010, 08:25 GMT
Last edited by Ionut Biru (wonder) - Friday, 23 July 2010, 08:23 GMT
|
DetailsDescription:
If I send mail without attached files, then all work well. But if I attach file which size more than 2M, then dbmail-imapd uses 100% CPU and works long time. After I accept message. I used diffirent mail clients. This problem starts after dbmail-lmtpd or dbmail-smtp fully accepted message and dbmail-imapd starts to save message into sent folder. Additional info: * dbmail-2.2.16 + postfix-2.7.1 + postgresql-8.4.4 #### dbmail.log DEBUG when attached file size 2.8M ##################### Jul 14 22:13:04 mail-musson dbmail-imapd[3281]: Info:[serverchild] serverchild.c,SetChildSigHandler(+152): signal handler placed Jul 14 22:13:04 mail-musson dbmail-imapd[3230]: Message:[server] pool.c,scoreboard_state(+584): Scoreboard state: children [4/100], spares [3 (3 - 10)] Jul 14 22:13:05 mail-musson dbmail-lmtpd[3255]: Info:[sort] sort.c,sort_and_deliver(+55): Destination [test@musson.ua] useridnr [6], mailbox [(null)], source [0] Jul 14 22:13:05 mail-musson dbmail-lmtpd[3255]: Info:[misc] misc.c,find_bounded(+350): Found nothing between '+' and '@' Jul 14 22:13:05 mail-musson dbmail-lmtpd[3255]: Info:[sort] sort.c,sort_deliver_to_mailbox(+127): useridnr [6] mailbox [INBOX] Jul 14 22:13:05 mail-musson dbmail-lmtpd[3255]: Info:[sort] sort.c,sort_deliver_to_mailbox(+166): user [6] has right to deliver mail to [INBOX] Jul 14 22:13:05 mail-musson dbmail-lmtpd[3255]: Message:[sort] sort.c,sort_deliver_to_mailbox(+196): message id=1844, size=3922481 is inserted Jul 14 22:13:05 mail-musson dbmail-lmtpd[3255]: Info:[sort] sort.c,sort_and_deliver(+102): Keep was not cancelled. Message will be delivered by default. Jul 14 22:13:05 mail-musson dbmail-lmtpd[3255]: Info:[delivery] pipe.c,insert_messages(+625): successful sort_and_deliver for seridnr [6] Jul 14 22:13:05 mail-musson dbmail-lmtpd[3255]: Info:[serverchild] serverchild.c,PerformChildTask(+397): connection closed ############################################################## In this time: dbmail-imapd LOADs CPU 100% from 22:13:05 till 22:13:30 ############################################################## Jul 14 22:13:30 mail-musson dbmail-imapd[3241]: Info:[imap] imap4.c,IMAPClientHandler(+302): Executing command append... Jul 14 22:13:32 mail-musson dbmail-imapd[3241]: Message:[db] db.c,db_imap_append_msg(+2618): message id=1846 is inserted Jul 14 22:13:32 mail-musson dbmail-imapd[3241]: Info:[imap] imap4.c,IMAPClientHandler(+321): Finished command append [0] Jul 14 22:13:32 mail-musson dbmail-imapd[3241]: Info:[imap] imap4.c,IMAPClientHandler(+191): COMMAND: [A004 LOGOUT] Jul 14 22:13:32 mail-musson dbmail-imapd[3241]: Info:[imap] imap4.c,IMAPClientHandler(+302): Executing command logout... Jul 14 22:13:32 mail-musson dbmail-imapd[3241]: Message:[imap] imapcommands.c,_ic_logout(+126): user (id:6) logging out @ [2010-07-14 22:13:32] Steps to reproduce: |
This task depends upon
Closed by Ionut Biru (wonder)
Friday, 23 July 2010, 08:23 GMT
Reason for closing: Not a bug
Additional comments about closing: Reason for request: This problem was resolved yesterday in current dbmail repository. So this bug is closed
Friday, 23 July 2010, 08:23 GMT
Reason for closing: Not a bug
Additional comments about closing: Reason for request: This problem was resolved yesterday in current dbmail repository. So this bug is closed
So this bug is closed.