Bug 4364 - Autosave draft high I/O, freezes claws-mail for several seconds
Summary: Autosave draft high I/O, freezes claws-mail for several seconds
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.17.6
Hardware: PC Linux
: P3 minor
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2020-07-18 00:11 UTC by Cyker
Modified: 2020-07-20 21:37 UTC (History)
0 users

See Also:


Attachments

Description Cyker 2020-07-18 00:11:00 UTC
When claws-mail auto-saves a draft to the local MH directory I made for it, it triggers a huge I/O spike of 50MB/s+ (according to htop) for several seconds which also causes claws-mail to stop responding until the I/O is completed.

Has anyone else had this?

I've had to disable autosaves in the mean time because otherwise I had to type the e-mail elsewhere and copy-paste it into the compose window in order to actually enter the message without going insane with it freezing every 50 characters I'd entered.

I'm happy to supply any other information needed, although you'll need to say what you want and how I'm supposed to obtain it...
Comment 1 Paul 2020-07-20 20:35:35 UTC
solved by changing 'meta data handling' option from 'safer' to 'faster'
Comment 2 Cyker 2020-07-20 21:37:32 UTC
Yeah, it seems claws-mail and btrfs don't play so well together with the metadata handling set to 'safe', but the impact is much lessened when it's set to 'fast'. (Now the I/O is buffered/delayed instead of kicking in at 50-chars, and takes a fraction of a second to complete and doesn't block claws-mail for the 7-8 seconds like it did before)

Thanks for the help in the IRC channel!

Note You need to log in before you can comment on or make changes to this bug.