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





--- Comment #7 from Christophe Giboudeaux <cgiboudeaux gmx com>  2011-09-14 
08:49:34 ---
One day we'll fix this report title (there's only one mysqld process), anyway:

(In reply to comment #5)
> I consider this to be fixed now (KDEPIM 4.7.1).
> Shutting down Akonadi even when it is just synching a newly added IMAP account
> takes around 20 seconds.

I cannot agree. That highly depends on the resources activity when akonadictl
stop is executed. Reproducing is easy: run "check mail" with several imap
accounts configured and run akonadictl stop and look at the akonadiserver
activity:

With a few imap resources :

[cut]
akonadi_imap_resource_6(28179)/kdecore (KConfigSkeleton)
KCoreConfigSkeleton::writeConfig:
akonadi_imap_resource_6(28179)/libakonadi
Akonadi::CollectionSync::Private::execute: void
Akonadi::CollectionSync::Private::execute() localListDone:  false 
deliveryDone:  true

(repeated for each imap resource)

QProcess: Destroyed while process is still running.
Lost connection to resource
"org.freedesktop.Akonadi.Resource.akonadi_imap_resource_7" , discarding cached
interface 
void Akonadi::NotificationSource::serviceUnregistered(const QString&)
Notification source "akonadi_imap_resource_7" now serving: () 
void Akonadi::NotificationSource::unsubscribe() "akonadi_imap_resource_7" 
ProcessControl: Application
'/kde/inst/kdepim-runtime/bin/akonadi_imap_resource' stopped unexpectedly
(Process crashed)
Application '/kde/inst/kdepim-runtime/bin/akonadi_imap_resource' crashed. No
restart!
Application '/kde/inst/kdepim-runtime/bin/akonadi_imap_resource' exited
normally...
Application '/kde/inst/akonadi/bin/akonadi_agent_launcher' exited normally...
Application '/kde/inst/akonadi/bin/akonadi_agent_launcher' exited normally...
Application '/kde/inst/akonadi/bin/akonadi_agent_launcher' exited normally...
Application '/kde/inst/akonadi/bin/akonadi_agent_launcher' exited normally...
Application '/kde/inst/akonadi/bin/akonadi_agent_launcher' exited normally...
Application '/kde/inst/kdepim-runtime/bin/akonadi_nepomuk_calendar_feeder'
exited normally...
Application '/kde/inst/kdepim/bin/akonadi_nepomuk_email_feeder' exited
normally...
Application '/kde/inst/kdepim-runtime/bin/akonadi_davgroupware_resource' exited
normally...
Application '/kde/inst/kdepim-runtime/bin/akonadi_nepomuk_contact_feeder'
exited normally...
Application '/kde/inst/kdepim-runtime/bin/akonadi_maildispatcher_agent' exited
normally...

but the mail check goes on..

[cut]
akonadi_imap_resource_2(28175)/kdepimlibs (kimap)
RetrieveCollectionMetadataTask::doStart: Not refreshing because of timestamp
akonadi_imap_resource_2(28175)/kdepimlibs (kimap)
RetrieveCollectionMetadataTask::doStart: "/INBOX"
akonadi_imap_resource_2(28175)/kdepimlibs (kimap)
RetrieveCollectionMetadataTask::doStart: Not refreshing because of timestamp
akonadi_imap_resource_2(28175)/kdepimlibs (kimap)
RetrieveCollectionMetadataTask::doStart: "/Drafts"
akonadi_imap_resource_2(28175)/kdepimlibs (kimap)
RetrieveCollectionMetadataTask::doStart: Not refreshing because of timestamp
akonadi_imap_resource_2(28175)/kdepimlibs (kimap)
RetrieveCollectionMetadataTask::doStart: "/kde-commits"
[cut]

and at some point, the Akonadi server is fed up and starts killing the
processes that didn't stop in a reasonable time

QProcess: Destroyed while process is still running.
Lost connection to resource
"org.freedesktop.Akonadi.Resource.akonadi_imap_resource_0" , discarding cached
interface 
void Akonadi::NotificationSource::serviceUnregistered(const QString&)
Notification source "akonadi_imap_resource_0" now serving: () 
void Akonadi::NotificationSource::unsubscribe() "akonadi_imap_resource_0" 
ProcessControl: Application
'/kde/inst/kdepim-runtime/bin/akonadi_imap_resource' stopped unexpectedly
(Process crashed)
Application '/kde/inst/kdepim-runtime/bin/akonadi_imap_resource' crashed. No
restart!

etc..

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to