[Bug 286180] New: kio_smtp uses extreme cpu time when sending mail on Windows

Andre Heinecke aheinecke at intevation.de
Wed Nov 9 11:44:49 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=286180

           Summary: kio_smtp uses extreme cpu time when sending mail on
                    Windows
           Product: kio
           Version: 4.7
          Platform: MS Windows
        OS/Version: MS Windows
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: smtp
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: aheinecke at intevation.de


Version:           4.7 (using KDE 4.7.2) 
OS:                MS Windows

The kio_smtp shows a bug on Windows (which might well lie in the layers below)
that it is extremly slow. 
When sending a mail with the akonadi_maildispatcher agent it takes ~33seconds
until it is sent.

The "slow" step according to debug output lies between the following lines
debug output:

[5428] Debug:kio_smtp(5428)/kssl KIO::TCPSlaveBase::connectToHost: , Socket
state: 3 Socket error: 0 , Connection succeeded: true
<--- 33 seconds pause at 100% cpu -->
5428] Debug:kio_smtp(5428)/kssl KTcpSocket::showSslErrors: "The issuer
certificate of a locally looked up certificate could not be found"

When Switching to TLS:
[5548] Debug:kio_smtp(5548) SMTPProtocol::getResponse: S: >> 220 2.0.0 Ready to
start TLS <<
<--- 32 second pause at 100% cpu --->
[5548] Debug:kio_smtp(5548)/kssl KTcpSocket::showSslErrors: "The issuer
certificate of a locally looked up certificate could not be found"

Test was done on a server with a self signed certifcate with the root
certifcate not installed but certificate errors ignored.

Reproducible: Always

Steps to Reproduce:
1. Install Kmail on Windows and configure an smtp server.
2. Send a mail.
3. Look at cpu usage

Actual Results:  
kio_smtp uses one core at 100% for 33 seconds and then sends the mail

Expected Results:  
The mail should be sent more quickly

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list