On Tuesday, December 29, 2015 10:51:57 AM Mick wrote:
> On Tuesday 29 Dec 2015 10:20:23 J. Roeleveld wrote:
> > On Tuesday, December 29, 2015 09:53:24 AM Mick wrote:
> > > Have you been able to use Kmail2 reliably on a *laptop*?  What problems
> > > have you experienced?  Has intermittent network availability caused loss
> > > of messages?  Any gotchas and workarounds?  Any suggestions?
> > 
> > I have been using Kmail2 for a couple of years now (ever since it became
> > stable in portage)
> > I had some issues over this time as well, but as I had already switched
> > over to IMAP over 10 years ago, I never actually lost any emails and could
> > easily fix this by deleting the local file-cache and database.
> This is good to know.  An earlier akonadi bug would actually delete files on
> the server.  O_O

Hmm... must have missed that one...
Are you sure that also affected IMAP connections?

> > Currently I run it on my laptop (quad-core, 16GB ram, SSD) succesfully.
> Hmm ... my laptop is also quad-core, but has only 4G RAM.  I hope this is
> not going to be a problem.

Not sure, it's lower then my desktop:
quad-core, 8GB, spinning rust

The desktop also manages to run it all.

Personally, I wouldn't use a system with less than 8GB anymore. I only settled 
for 16GB for my laptop as the 32GB versions were too bulky and expensive.
(Mind you, I do run VMs on this laptop)

% free -m
              total        used        free      shared  buff/cache   available
Mem:          16010        1333         737         414       13939       
Swap:         17407         196       17211

% uptime
 13:38:21 up 5 days, 22:07,  3 users,  load average: 0.23, 0.23, 0.41

(I tend to hibernate/suspend-to-disk my laptop when not using it)

> > Here is how I set it up:
> > 1) Run Postgresql
> > 2) I run the DB "natively" (eg. do NOT let akonadi start an "embedded" db)
> > 3) Configure mail accounts (including GMail) as IMAP
> > 4) Configure mail accounts to keep a copy locally
> > 
> > Apart from a lengthy synchronize period (I do have emails dating back to
> > 1997 on the server) and occasionally a process going up to 100%, it
> > doesn't prevent me from actually using the laptop for other things.
> I take this to mean that the Kmail interface does not freeze up and you can
> continue to read/delete messages, change folders, etc.?

Yes, with only the following comment: When moving large (1000+) amounts of 
messages to a different folder, let the interface show it as finished before 
doing something else with KMail.

> Thank you Joost, this is very useful to know.  What do you mean by "haven't
> had to restart the mail cache"?  Do you mean you did not have to delete the
> akonadi database(s) and restart it?

Yes, restarting the mail cache is: delete everything and start over....

Don't forget, akonadi-storage has 2 parts:
1) The database (mysql or postgresql)
2) Files

The 2 are linked and need to be kept in sync.
This is important for backups and cleanup.

In this respect, it's similar to other applications that work with databases 
and files, like Gallery (2 and 3), Piwigo, some large BI applications made by 
large corporations,....


Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to