Bug 285833 - akonadi_maildir_resource eats all my CPU
Summary: akonadi_maildir_resource eats all my CPU
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Maildir Resource (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-05 17:10 UTC by Médéric Boquien
Modified: 2012-10-13 22:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Médéric Boquien 2011-11-05 17:10:48 UTC
Version:           unspecified (using KDE 4.7.3) 
OS:                Linux

I recreated a kmail/akonadi configuration from scratch. With a local repository containing ~10k mails, akonadi_maildir_resource eats a CPU permanently.

Reproducible: Always

Steps to Reproduce:
Start akonadi.

Actual Results:  
akonadi_maildir_resource eats a CPU.

Expected Results:  
akonadi_maildir_resource eats almost no CPU.
Comment 1 Médéric Boquien 2011-11-05 17:12:51 UTC
Maybe it is useful, iotop says that akonadi_maildir_resource writes a lot on the disk for no apparent reason.

 TID  PRIO  USER     DISK READ  DISK WRITE  SWAPIN     IO>    COMMAND                                                                                                                                                                       
 2270 be/4 mederic     0.00 B/s   44.98 M/s  0.00 % 42.40 % akonadi_agent_launcher akonadi_maildir_resource akonadi_maildir_resource_0
Comment 2 Médéric Boquien 2011-11-05 17:22:04 UTC
In a couple of hours it has written ~250GB on the drive, which is bad as it is a SSD.
Comment 3 Médéric Boquien 2011-11-05 17:29:16 UTC
Here is what the akonadi console debugger tells me.

akonadi_maildir_resource_0 (0x7fba540364e0) 4 BEGIN 
akonadi_maildir_resource_0 (0x7fba540364e0) 4 OK Begin completed 
akonadi_maildir_resource_0 (0x7fba540364e0) 5 LIST 0 INF (RESOURCE akonadi_maildir_resource_0) (ANCESTORS 1) 
akonadi_maildir_resource_0 (0x7fba540364e0) * 4 3 (NAME "drafts" MIMETYPE (message/rfc822 inode/directory) REMOTEID "drafts" REMOTEREVISION "" RESOURCE "akonadi_maildir_resource_0" CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT 1 SYNCONDEMAND true LOCALPARTS (ENVELOPE)) ANCESTORS ((3 "/home/mederic/.local/share/local-mail")) SpecialCollectionAttribute "drafts" ENTITYDISPLAY "(\"drafts\" \"document-properties\" \"\" ())") 
akonadi_maildir_resource_0 (0x7fba540364e0) * 27 5 (NAME "KStars" MIMETYPE (message/rfc822 inode/directory) REMOTEID "KStars" REMOTEREVISION "" RESOURCE "akonadi_maildir_resource_0" CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT 1 SYNCONDEMAND true LOCALPARTS (ENVELOPE)) ANCESTORS ((5 "inbox")) ) 
akonadi_maildir_resource_0 (0x7fba540364e0) * 31 5 (NAME "Vera" MIMETYPE (message/rfc822 inode/directory) REMOTEID "" REMOTEREVISION "" RESOURCE "akonadi_maildir_resource_0" CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT 1 SYNCONDEMAND true LOCALPARTS (ENVELOPE)) ANCESTORS ((5 "inbox")) ) 
akonadi_maildir_resource_0 (0x7fba540364e0) * 33 5 (NAME "bugs" MIMETYPE (message/rfc822 inode/directory) REMOTEID "" REMOTEREVISION "" RESOURCE "akonadi_maildir_resource_0" CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT 1 SYNCONDEMAND true LOCALPARTS (ENVELOPE)) ANCESTORS ((5 "inbox")) ) 
akonadi_maildir_resource_0 (0x7fba540364e0) * 40 5 (NAME "sent-mail" MIMETYPE (message/rfc822 inode/directory) REMOTEID "" REMOTEREVISION "" RESOURCE "akonadi_maildir_resource_0" CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT 1 SYNCONDEMAND true LOCALPARTS (ENVELOPE)) ANCESTORS ((5 "inbox")) ) 
akonadi_maildir_resource_0 (0x7fba540364e0) * 5 3 (NAME "inbox" MIMETYPE (message/rfc822 inode/directory) REMOTEID "inbox" REMOTEREVISION "" RESOURCE "akonadi_maildir_resource_0" CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT 1 SYNCONDEMAND true LOCALPARTS (ENVELOPE)) ANCESTORS ((3 "/home/mederic/.local/share/local-mail")) SpecialCollectionAttribute "inbox" ENTITYDISPLAY "(\"inbox\" \"mail-folder-inbox\" \"\" ())") 
akonadi_maildir_resource_0 (0x7fba540364e0) * 6 3 (NAME "outbox" MIMETYPE (message/rfc822 inode/directory) REMOTEID "outbox" REMOTEREVISION "" RESOURCE "akonadi_maildir_resource_0" CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT 1 SYNCONDEMAND true LOCALPARTS (ENVELOPE)) ANCESTORS ((3 "/home/mederic/.local/share/local-mail")) SpecialCollectionAttribute "outbox" ENTITYDISPLAY "(\"outbox\" \"mail-folder-outbox\" \"\" ())") 
akonadi_maildir_resource_0 (0x7fba540364e0) * 7 3 (NAME "sent-mail" MIMETYPE (message/rfc822 inode/directory) REMOTEID "sent-mail" REMOTEREVISION "" RESOURCE "akonadi_maildir_resource_0" CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT 1 SYNCONDEMAND true LOCALPARTS (ENVELOPE)) ANCESTORS ((3 "/home/mederic/.local/share/local-mail")) SpecialCollectionAttribute "sent-mail" ENTITYDISPLAY "(\"sent-mail\" \"mail-folder-sent\" \"\" ())") 
akonadi_maildir_resource_0 (0x7fba540364e0) * 8 3 (NAME "templates" MIMETYPE (message/rfc822 inode/directory) REMOTEID "templates" REMOTEREVISION "" RESOURCE "akonadi_maildir_resource_0" CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT 1 SYNCONDEMAND true LOCALPARTS (ENVELOPE)) ANCESTORS ((3 "/home/mederic/.local/share/local-mail")) SpecialCollectionAttribute "templates" ENTITYDISPLAY "(\"templates\" \"document-new\" \"\" ())") 
akonadi_maildir_resource_0 (0x7fba540364e0) * 46 3 (NAME "trash" MIMETYPE (message/rfc822 inode/directory) REMOTEID "" REMOTEREVISION "" RESOURCE "akonadi_maildir_resource_0" CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT 1 SYNCONDEMAND true LOCALPARTS (ENVELOPE)) ANCESTORS ((3 "/home/mederic/.local/share/local-mail")) SpecialCollectionAttribute "trash" ENTITYDISPLAY "(\"trash\" \"user-trash\" \"\" ())") 
akonadi_maildir_resource_0 (0x7fba540364e0) * 3 0 (NAME "Local Folders" MIMETYPE (message/rfc822 inode/directory) REMOTEID "/home/mederic/.local/share/local-mail" REMOTEREVISION "" RESOURCE "akonadi_maildir_resource_0" CACHEPOLICY (INHERIT false INTERVAL -1 CACHETIMEOUT 1 SYNCONDEMAND true LOCALPARTS (ENVELOPE)) ANCESTORS ((0 "")) AccessRights "wcdC" SpecialCollectionAttribute "local-mail" ENTITYDISPLAY "(\"Local Folders\" \"folder\" \"\" ())") 
akonadi_maildir_resource_0 (0x7fba540364e0) 5 OK List completed 
akonadi_maildir_resource_0 (0x7fba540364e0) 6 UID MODIFY 3 MIMETYPE (inode/directory message/rfc822) PARENT 0 NAME "Local Folders" REMOTEID "/home/mederic/.local/share/local-mail" CACHEPOLICY (INHERIT false INTERVAL -1 CACHETIMEOUT 1 SYNCONDEMAND true LOCALPARTS (ENVELOPE)) AccessRights "wcdC" 
akonadi_maildir_resource_0 (0x7fba540364e0) 6 OK MODIFY done 
akonadi_maildir_resource_0 (0x7fba540364e0) 7 UID MODIFY 4 MIMETYPE (message/rfc822 inode/directory) PARENT 3 NAME "drafts" REMOTEID "drafts" 
akonadi_maildir_resource_0 (0x7fba540364e0) 7 OK MODIFY done 
akonadi_maildir_resource_0 (0x7fba540364e0) 8 UID MODIFY 5 MIMETYPE (message/rfc822 inode/directory) PARENT 3 NAME "inbox" REMOTEID "inbox" 
akonadi_maildir_resource_0 (0x7fba540364e0) 8 OK MODIFY done 
akonadi_maildir_resource_0 (0x7fba540364e0) 9 UID MODIFY 6 MIMETYPE (message/rfc822 inode/directory) PARENT 3 NAME "outbox" REMOTEID "outbox" 
akonadi_maildir_resource_0 (0x7fba540364e0) 9 OK MODIFY done 
akonadi_maildir_resource_0 (0x7fba540364e0) 10 UID MODIFY 7 MIMETYPE (message/rfc822 inode/directory) PARENT 3 NAME "sent-mail" REMOTEID "sent-mail" 
akonadi_maildir_resource_0 (0x7fba540364e0) 10 OK MODIFY done 
akonadi_maildir_resource_0 (0x7fba540364e0) 11 UID MODIFY 8 MIMETYPE (message/rfc822 inode/directory) PARENT 3 NAME "templates" REMOTEID "templates" 
akonadi_maildir_resource_0 (0x7fba540364e0) 11 OK MODIFY done 
akonadi_maildir_resource_0 (0x7fba540364e0) 12 CREATE "import 1" 5 (MIMETYPE (message/rfc822 inode/directory) REMOTEID "import 1" REMOTEREVISION "" CACHEPOLICY (INHERIT true)) 
akonadi_maildir_resource_0 (0x7fba540364e0) * 68 5 (NAME "import 1" MIMETYPE (message/rfc822 inode/directory) REMOTEID "import 1" REMOTEREVISION "" RESOURCE "akonadi_maildir_resource_0" CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT 1 SYNCONDEMAND true LOCALPARTS (ENVELOPE)) ) 
akonadi_maildir_resource_0 (0x7fba540364e0) 12 OK CREATE completed 
akonadi_maildir_resource_0 (0x7fba540364e0) 13 CREATE "trash" 3 (MIMETYPE (message/rfc822 inode/directory) REMOTEID "trash" REMOTEREVISION "" CACHEPOLICY (INHERIT true)) 
akonadi_maildir_resource_0 (0x7fba540364e0) 13 NO Could not create collection 
akonadi_maildir_resource_0 (0x7fba540364e0) 14 ROLLBACK 
akonadi_maildir_resource_0 (0x7fba540364e0) 14 OK Rollback completed 
0x7fba54035d20 * OK Akonadi Almost IMAP Server [PROTOCOL 28] 
0x7fba54035d20 0 LOGIN "akonadi_maildir_resource_0" 
akonadi_maildir_resource_0 (0x7fba54035d20) 0 OK User logged in 
akonadi_maildir_resource_0 (0x7fba54035d20) 1 RESSELECT "akonadi_maildir_resource_0" 
akonadi_maildir_resource_0 (0x7fba54035d20) 1 OK akonadi_maildir_resource_0 selected 
akonadi_maildir_resource_0 (0x7fba54035d20) 2 LSUB 26 0 () (ANCESTORS INF) 
akonadi_maildir_resource_0 (0x7fba54035d20) 2 NO Collection 26 does not exist 

AgentBase(akonadi_maildir_resource_0): Unknown error. (Could not create collection)

Note that if i click on abort in akonadi console it stops writing like crazy.
Comment 4 Médéric Boquien 2011-11-06 12:22:20 UTC
If it is any useful, here is what strace gives. Note that the agent_config_akonadi_maildir_resource_0_changes.dat file always contains the exact same pattern in binary and the strings kmail2-150240575 and akonadi_maildir_resource_0 over and over.

stat("/home/mederic/.config/akonadi", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/home/mederic/.config/akonadi/agent_config_akonadi_maildir_resource_0_changes.dat", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 11
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
fstat(11, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(11, "\0\0\0\0\0\0N\37\0\0\0\20kmail2-150240575\0\0\0\2"..., 16374) = 16374
write(11, "\0001\0003\0002\0000\0005\0000\0003\0005\0002\0009\0.\0R\0004\0000\0006\0."..., 16382) = 16382
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f"..., 16382) = 16382
write(11, "\0\0\0\20KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0"..., 16380) = 16380
write(11, "\0\0\0\0\0\0k\300\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0lB\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0l\304\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0mF\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0m\310\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0nJ\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0n\314\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0oN\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0o\320\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0pR\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0p\324\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0qV\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0q\330\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16382) = 16382
write(11, "\0\0\0\2\0\0\0\3\0\0\0\0\0\0F\234\0\0\0\0\0\0\0\32akonadi_"..., 16374) = 16374
write(11, "kmail2-150240575\0\0\0\2\0\0\0\4\0\0\0\0\0\0005Z"..., 16380) = 16380
write(11, "kmail2-150240575\0\0\0\2\0\0\0\4\0\0\0\0\0\0005\334"..., 16380) = 16380
write(11, "kmail2-150240575\0\0\0\2\0\0\0\4\0\0\0\0\0\0006^"..., 16380) = 16380
write(11, "kmail2-150240575\0\0\0\2\0\0\0\4\0\0\0\0\0\0006\340"..., 16380) = 16380
write(11, "kmail2-150240575\0\0\0\2\0\0\0\4\0\0\0\0\0\0007b"..., 16380) = 16380
write(11, "kmail2-150240575\0\0\0\2\0\0\0\4\0\0\0\0\0\0007\344"..., 16381) = 16381
write(11, "FLAGS\0\0\0\20kmail2-150240575\0\0\0\2\0\0\0"..., 16372) = 16372
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16380) = 16380
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16348) = 16348
write(11, "\0001\0003\0002\0000\0005\0000\0003\0007\0003\0003\0.\0R\0008\0005\0005\0."..., 16382) = 16382
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16384) = 16384
write(11, "\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002"..., 16380) = 16380
write(11, "kmail2-150240575\0\0\0\2\0\0\0\4\0\0\0\0\0\0\25\3"..., 16370) = 16370
write(11, "\0001\0003\0002\0000\0005\0000\0003\0008\0008\0001\0.\0R\0007\0005\0002\0."..., 16342) = 16342
write(11, "\0001\0003\0002\0000\0005\0000\0003\0009\0001\0006\0.\0R\0009\0006\0009\0."..., 16377) = 16377
write(11, "\0001\0003\0002\0000\0005\0000\0004\0001\0000\0007\0.\0R\0001\0006\0009\0."..., 16359) = 16359
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16360) = 16360
write(11, "\0001\0003\0002\0000\0005\0000\0004\0001\0009\0000\0.\0R\0007\0005\0006\0."..., 16379) = 16379
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16352) = 16352
write(11, "\0001\0003\0002\0000\0005\0000\0004\0002\0006\0006\0.\0R\0009\0005\0000\0."..., 16373) = 16373
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16358) = 16358
write(11, "\0001\0003\0002\0000\0005\0000\0004\0003\0004\0008\0.\0R\0006\0009\0006\0."..., 16367) = 16367
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16346) = 16346
write(11, "\0001\0003\0002\0000\0005\0000\0004\0004\0004\0001\0.\0R\0005\0009\0004\0."..., 16361) = 16361
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16342) = 16342
write(11, "\0001\0003\0002\0000\0005\0000\0004\0005\0005\0006\0.\0R\0004\0003\0009\0."..., 16361) = 16361
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16377) = 16377
write(11, "\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f"..., 16383) = 16383
write(11, "\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002"..., 16379) = 16379
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16371) = 16371
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0!\333"..., 16384) = 16384
write(11, "\0\0\0\2\0\0\0\0\0\0!\377\0\0\0\0\0\0\0\32akonadi_mail"..., 16370) = 16370
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16375) = 16375
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16375) = 16375
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16375) = 16375
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16375) = 16375
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16375) = 16375
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16382) = 16382
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0d\220"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0(\0\0\0\0\0\0\0\7\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0f\251"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0(\0\0\0\0\0\0\0\7\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0h\302"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0(\0\0\0\0\0\0\0\7\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0j\333"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16373) = 16373
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0I\334"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0K\365"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0N\16"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0P'"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0R@"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0TY"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0Vr"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0X\213"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0Z\244"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0\\\275"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0^\326"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0`\357"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0c\10"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 15283) = 15283
close(11)                               = 0
recvmsg(8, {msg_name(0)=NULL, msg_iov(1)=[{"l\2\1\1\0\0\0\0t\f\0\0'\0\0\0\6\1s\0\6\0\0\0:1.520\0\0"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 336
recvmsg(8, 0x7fff62ab56d0, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
ioctl(10, FIONREAD, [64])               = 0
read(10, "x\2\0\0\0\200\0\0\0\0\0\0\0\0\0\0y\2\0\0\0\200\0\0\0\0\0\0\0\0\0\0"..., 64) = 64
read(7, 0x1cf35d4, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}], 5, 0) = 0 (Timeout)
read(7, 0x1cf35d4, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
sendmsg(8, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\10\0\0\0\331\4\0\0\217\0\0\0\1\1o\0\24\0\0\0/resourc"..., 160}, {"\3\0\0\000638\0", 8}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 168
write(2, "AkonadiAgentServer(4833) Maildir"..., 510) = 510
uname({sys="Linux", node="einstein", ...}) = 0
inotify_rm_watch(10, 636)               = 0
stat("", 0x1dcee98)                     = -1 ENOENT (No such file or directory)
lstat("", 0x7fff62ab48e0)               = -1 ENOENT (No such file or directory)
stat("/new", 0x7fff62ab4910)            = -1 ENOENT (No such file or directory)
statfs("/new", 0x7fff62ab47e0)          = -1 ENOENT (No such file or directory)
stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
statfs("/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=14422079, f_bfree=11604451, f_bavail=10871831, f_files=3670016, f_ffree=3414987, f_fsid={-1262371564, -507659689}, f_namelen=255, f_frsize=4096}) = 0
inotify_add_watch(10, "/", IN_MODIFY|IN_ATTRIB|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_DONT_FOLLOW) = 637
stat("/cur", 0x7fff62ab4910)            = -1 ENOENT (No such file or directory)
statfs("/cur", 0x7fff62ab47e0)          = -1 ENOENT (No such file or directory)
inotify_rm_watch(10, 637)               = 0
inotify_add_watch(10, "/", IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_ONLYDIR|IN_DONT_FOLLOW) = 638
write(2, "Item removed \n", 14)         = 14
stat("/home/mederic/.config/akonadi", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/home/mederic/.config/akonadi/agent_config_akonadi_maildir_resource_0_changes.dat", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 11
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
fstat(11, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(11, "\0\0\0\0\0\0N\36\0\0\0\20kmail2-150240575\0\0\0\2"..., 16374) = 16374
write(11, "\0001\0003\0002\0000\0005\0000\0003\0005\0003\0000\0.\0R\0006\0003\0002\0."..., 16382) = 16382
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16384) = 16384
write(11, "\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002"..., 16368) = 16368
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16382) = 16382
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16360) = 16360
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0005[\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0005\335\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0006_\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0006\341\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0007c\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0007\345\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16371) = 16371
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0F@"..., 16384) = 16384
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16378) = 16378
write(11, "\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f"..., 16360) = 16360
write(11, "\0001\0003\0002\0000\0005\0000\0003\0007\0003\0003\0.\0R\0008\0001\0004\0."..., 16382) = 16382
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16384) = 16384
write(11, "\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002"..., 16380) = 16380
write(11, "kmail2-150240575\0\0\0\2\0\0\0\4\0\0\0\0\0\0\25\4"..., 16370) = 16370
write(11, "\0001\0003\0002\0000\0005\0000\0003\0008\0008\0001\0.\0R\0001\0008\0003\0."..., 16342) = 16342
write(11, "\0001\0003\0002\0000\0005\0000\0003\0009\0001\0006\0.\0R\0008\0002\0000\0."..., 16382) = 16382
write(11, "\0001\0003\0002\0000\0005\0000\0004\0001\0000\0007\0.\0R\0007\0000\0009\0."..., 16359) = 16359
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16360) = 16360
write(11, "\0001\0003\0002\0000\0005\0000\0004\0001\0009\0000\0.\0R\0007\0004\0001\0."..., 16379) = 16379
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16352) = 16352
write(11, "\0001\0003\0002\0000\0005\0000\0004\0002\0006\0006\0.\0R\0003\0003\0009\0."..., 16373) = 16373
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16358) = 16358
write(11, "\0001\0003\0002\0000\0005\0000\0004\0003\0004\0008\0.\0R\0001\0002\0009\0."..., 16365) = 16365
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16348) = 16348
write(11, "\0001\0003\0002\0000\0005\0000\0004\0004\0004\0002\0.\0R\0006\0004\0002\0."..., 16361) = 16361
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16342) = 16342
write(11, "\0001\0003\0002\0000\0005\0000\0004\0005\0005\0007\0.\0R\0005\0003\0006\0."..., 16361) = 16361
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16382) = 16382
write(11, "\0\0\0\20kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0"..., 16379) = 16379
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\34|"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\34\371"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\35v"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\35\363"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\36p"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\36\355"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\37j"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\37\347"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0 d"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0 \341"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0!^"..., 16383) = 16383
write(11, "\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\33\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16381) = 16381
write(11, "\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f"..., 16362) = 16362
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16383) = 16383
write(11, "\0\0\0\3\0\0\0\0\0\0d\v\0\0\0\0\0\0\0\32akonadi_mail"..., 16368) = 16368
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16382) = 16382
write(11, "\0\0\0\0\0\0\0\7\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f"..., 16360) = 16360
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0f$"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0(\0\0\0\0\0\0\0\7\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0h="..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0(\0\0\0\0\0\0\0\7\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0jV"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0(\0\0\0\0\0\0\0\7\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16379) = 16379
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0IW"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0Kp"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0M\211"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0O\242"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0Q\273"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0S\324"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0U\355"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0X\6"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0Z\37"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0\\8"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0^Q"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0`j"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0b\203"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 15131) = 15131
close(11)                               = 0
sendmsg(8, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1A\0\0\0\332\4\0\0\222\0\0\0\1\1o\0\24\0\0\0/resourc"..., 168}, {"\32\0\0\0akonadi_maildir_resource_0\0\0"..., 65}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 233
sendmsg(8, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\r\0\0\0\333\4\0\0\220\0\0\0\1\1o\0\24\0\0\0/resourc"..., 160}, {"\3\0\0\000638\0\0\0\0\0\0", 13}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 173
stat("/home/mederic/.config/akonadi", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/home/mederic/.config/akonadi/agent_config_akonadi_maildir_resource_0_changes.dat", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 11
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
fstat(11, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(11, "\0\0\0\0\0\0N\36\0\0\0\20kmail2-150240575\0\0\0\2"..., 16374) = 16374
write(11, "\0001\0003\0002\0000\0005\0000\0003\0005\0003\0000\0.\0R\0006\0003\0002\0."..., 16382) = 16382
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16384) = 16384
write(11, "\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002"..., 16368) = 16368
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16382) = 16382
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0*\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16360) = 16360
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0005[\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0005\335\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0006_\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0006\341\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0007c\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16380) = 16380
write(11, "\0\0\0\0\0\0007\345\0\0\0\0\0\0\0\32akonadi_maildir_"..., 16371) = 16371
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0F@"..., 16384) = 16384
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16380) = 16380
write(11, "\0\0\0\0\0\0\0!\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16378) = 16378
write(11, "\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f"..., 16360) = 16360
write(11, "\0001\0003\0002\0000\0005\0000\0003\0007\0003\0003\0.\0R\0008\0001\0004\0."..., 16382) = 16382
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16384) = 16384
write(11, "\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002"..., 16380) = 16380
write(11, "kmail2-150240575\0\0\0\2\0\0\0\4\0\0\0\0\0\0\25\4"..., 16370) = 16370
write(11, "\0001\0003\0002\0000\0005\0000\0003\0008\0008\0001\0.\0R\0001\0008\0003\0."..., 16342) = 16342
write(11, "\0001\0003\0002\0000\0005\0000\0003\0009\0001\0006\0.\0R\0008\0002\0000\0."..., 16382) = 16382
write(11, "\0001\0003\0002\0000\0005\0000\0004\0001\0000\0007\0.\0R\0007\0000\0009\0."..., 16359) = 16359
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16360) = 16360
write(11, "\0001\0003\0002\0000\0005\0000\0004\0001\0009\0000\0.\0R\0007\0004\0001\0."..., 16379) = 16379
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16352) = 16352
write(11, "\0001\0003\0002\0000\0005\0000\0004\0002\0006\0006\0.\0R\0003\0003\0009\0."..., 16373) = 16373
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16358) = 16358
write(11, "\0001\0003\0002\0000\0005\0000\0004\0003\0004\0008\0.\0R\0001\0002\0009\0."..., 16365) = 16365
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16348) = 16348
write(11, "\0001\0003\0002\0000\0005\0000\0004\0004\0004\0002\0.\0R\0006\0004\0002\0."..., 16361) = 16361
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16342) = 16342
write(11, "\0001\0003\0002\0000\0005\0000\0004\0005\0005\0007\0.\0R\0005\0003\0006\0."..., 16361) = 16361
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16382) = 16382
write(11, "\0\0\0\20kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0"..., 16379) = 16379
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\34|"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\34\371"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\35v"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\35\363"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\36p"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\36\355"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\37j"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0\37\347"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0 d"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0 \341"..., 16375) = 16375
write(11, "kmail2-150240575\0\0\0\2\0\0\0\2\0\0\0\0\0\0!^"..., 16383) = 16383
write(11, "\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\33\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16381) = 16381
write(11, "\377\377\377\377\377\377\377\377\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f"..., 16362) = 16362
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16375) = 16375
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16383) = 16383
write(11, "\0\0\0\3\0\0\0\0\0\0d\v\0\0\0\0\0\0\0\32akonadi_mail"..., 16368) = 16368
write(11, "akonadi_maildir_resource_0\0\0\0\0\0\0"..., 16382) = 16382
write(11, "\0\0\0\0\0\0\0\7\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f"..., 16360) = 16360
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0f$"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0(\0\0\0\0\0\0\0\7\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0h="..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0(\0\0\0\0\0\0\0\7\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0jV"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0(\0\0\0\0\0\0\0\7\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16379) = 16379
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0IW"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0Kp"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0M\211"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0O\242"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0Q\273"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0S\324"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0U\355"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0X\6"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0Z\37"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0\\8"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0^Q"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0`j"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 16368) = 16368
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16384) = 16384
write(11, "KMail Kernel ETM\0\0\0\2\0\0\0\3\0\0\0\0\0\0b\203"..., 16384) = 16384
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16378) = 16378
write(11, "\0\0\0\0\0\0\0&\0\0\0\0\0\0\0\5\0\0\0\34\0m\0e\0s\0s\0a\0g"..., 15131) = 15131
close(11)                               = 0
read(7, 0x1cf35d4, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}], 5, 0) = 2 ([{fd=8, revents=POLLIN}, {fd=10, revents=POLLIN}])
read(7, 0x1cf35d4, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
sendmsg(8, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\10\0\0\0\334\4\0\0\217\0\0\0\1\1o\0\24\0\0\0/resourc"..., 160}, {"\3\0\0\000640\0", 8}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 168
write(2, "AkonadiAgentServer(4833) Maildir"..., 510) = 510
uname({sys="Linux", node="einstein", ...}) = 0
inotify_rm_watch(10, 638)               = 0
stat("", 0x1dcee98)                     = -1 ENOENT (No such file or directory)
lstat("", 0x7fff62ab48e0)               = -1 ENOENT (No such file or directory)
stat("/new", 0x7fff62ab4910)            = -1 ENOENT (No such file or directory)
statfs("/new", 0x7fff62ab47e0)          = -1 ENOENT (No such file or directory)
stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
statfs("/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=14422079, f_bfree=11604451, f_bavail=10871831, f_files=3670016, f_ffree=3414987, f_fsid={-1262371564, -507659689}, f_namelen=255, f_frsize=4096}) = 0
inotify_add_watch(10, "/", IN_MODIFY|IN_ATTRIB|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_DONT_FOLLOW) = 639
stat("/cur", 0x7fff62ab4910)            = -1 ENOENT (No such file or directory)
statfs("/cur", 0x7fff62ab47e0)          = -1 ENOENT (No such file or directory)
inotify_rm_watch(10, 639)               = 0
inotify_add_watch(10, "/", IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_ONLYDIR|IN_DONT_FOLLOW) = 640
write(2, "Item removed \n", 14)         = 14
stat("/home/mederic/.config/akonadi", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/home/mederic/.config/akonadi/agent_config_akonadi_maildir_resource_0_changes.dat", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 11
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
fstat(11, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(11, "\0\0\0\0\0\0N\35\0\0\0\20kmail2-150240575\0\0\0\2"..., 16376) = 16376
write(11, "\0001\0003\0002\0000\0005\0000\0003\0005\0003\0000\0.\0R\0004\0001\0008\0."..., 16382) = 16382
write(11, "\0\0\0\32akonadi_maildir_resource_0\0\0"..., 16384) = 16384
write(11, "\0\0\0\34\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002"..., 16362) = 16362
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\0"..., 16360) = 16360
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16380) = 16380
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16380) = 16380
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16380) = 16380
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16380) = 16380
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16380) = 16380
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16380) = 16380
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16380) = 16380
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16380) = 16380
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16380) = 16380
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16380) = 16380
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16380) = 16380
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16380) = 16380
write(11, "\0m\0e\0s\0s\0a\0g\0e\0/\0r\0f\0c\0008\0002\0002\0\0\0\1"..., 16382)
Comment 5 Médéric Boquien 2011-11-06 16:58:47 UTC
Stopping akonadi, erasing agent_config_akonadi_maildir_resource_0_changes.dat and restarting it fixed the problem. I assume that file was somehow corrupted, yet akonadi should handle this case more gracefully.
Comment 6 András Manţia 2011-11-29 22:10:37 UTC
Do you still have the .dat file? Yes, seems something went wrong, although I can't tell  now what. Can you try to import the same dir into Akonadi (e.g by using another user on the system) and see if the bug comes back there?
Comment 7 Médéric Boquien 2011-11-29 22:16:09 UTC
Hi,

No, i do not have it anymore. I will try to perform a new import to see whether i can reproduce the problem.

Thanks,

Médéric
Comment 8 András Manţia 2012-02-11 20:32:03 UTC
Were you able to reproduce the problem?
Comment 9 András Manţia 2012-10-13 22:55:56 UTC
Closing as it was waiting for info for a long time. Please reopen if you still see the problem.