We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-05-08 01:55:36 +0200

Email update fails and messageserver5 goes crazy

The other day one of my IMAP email accounts stopped updating, and now even if I trig a manual update, it fails (tries for a while and then stops without errors). Meanwhile the system feels sluggish, so I checked with top and found that messageserver5 consumes close to 100 % cpu during the update, and memory (and swap) fills rapidly.

How do I debug what's happening? I found nothing interesting in /var/log nor in /var/systemlog. Where are all logs? There is a chance that everything will be OK if I remove and re-add the email account, but I'm curious, and I suspect that this might be a bug.

Email update fails and messageserver5 goes crazy

The other day one of my IMAP email accounts stopped updating, and now even if I trig a manual update, it fails (tries for a while and then stops without errors). Meanwhile the system feels sluggish, so I checked with top and found that messageserver5 consumes close to 100 % cpu during the update, and memory (and swap) fills rapidly.

How do I debug what's happening? I found nothing interesting in /var/log nor in /var/systemlog. Where are all logs? There is a chance that everything will be OK if I remove and re-add the email account, but I'm curious, and I suspect that this might be a bug.

Edit 1:

I found that another folder of the same account synced fine.

Output of journalctl -a (filtered by "jolla-email") after failing sync:

May 09 00:43:00 jolla-email[11421]: [D] EmailAgent::executeCurrent:1036 - Executing  "exporting-updates:account-id=4"
May 09 00:43:00 jolla-email[11421]: [W] QMailServiceActionPrivate::newAction:264 - Unable to allocate new action - oustanding: 5
May 09 00:43:00 jolla-email[11421]: [D] EmailAgent::activityChanged:371 - Sync completed.
May 09 00:43:00 jolla-email[11421]: [D] EmailAgent::executeCurrent:1036 - Executing  "retrieve-message-list:account-id=4;folder-id=24"
May 09 00:43:00 jolla-email[11421]: [D] EmailAgent::activityChanged:384 - Activity State Changed: 0
May 09 00:43:00 jolla-email[11421]: [D] EmailAgent::activityChanged:384 - Activity State Changed: 1
May 09 00:44:15 jolla-email[11421]: [D] EmailAgent::activityChanged:321 - Sync completed with Errors!!!.
May 09 00:44:16 jolla-email[11421]: [W] QCopClient::connectToServer:1163 - void QCopClient::connectToServer() QLocalSocket::ConnectionRefusedError "QLocalSocket::connectToServer: Connection refused"
May 09 00:44:16 jolla-email[11421]: [W] QCopClient::connectToServer:1163 - void QCopClient::connectToServer() QLocalSocket::ConnectionRefusedError "QLocalSocket::connectToServer: Connection refused"
May 09 00:44:17 jolla-email[11421]: [W] QCopClient::connectToServer:1163 - void QCopClient::connectToServer() QLocalSocket::ConnectionRefusedError "QLocalSocket::connectToServer: Connection refused"

Output of journalctl -a after successful sync (same account, different folder):

May 09 00:51:22 jolla-email[11421]: [D] EmailAgent::executeCurrent:1036 - Executing  "exporting-updates:account-id=4"
May 09 00:51:22 jolla-email[11421]: [D] EmailAgent::activityChanged:384 - Activity State Changed: 0
May 09 00:51:22 jolla-email[11421]: [D] EmailAgent::activityChanged:371 - Sync completed.
May 09 00:51:22 jolla-email[11421]: [D] EmailAgent::executeCurrent:1036 - Executing  "retrieve-message-list:account-id=4;folder-id=39"
May 09 00:51:22 jolla-email[11421]: [D] EmailAgent::activityChanged:384 - Activity State Changed: 0
May 09 00:51:22 jolla-email[11421]: [D] EmailAgent::activityChanged:384 - Activity State Changed: 1
May 09 00:51:30 jolla-email[11421]: [D] unknown:0 - Messaging :  Custom Field: "qmf-smtp-capabilities-listed" = "true"
May 09 00:51:33 jolla-email[11421]: [D] unknown:0 - Messaging :  Custom Field: "qmf-smtp-capabilities-listed" = "true"
May 09 00:51:33 jolla-email[11421]: [D] EmailAgent::activityChanged:371 - Sync completed.