Running mail filters -- non stop (bug?)
-
@mottenmouse I don't know. Why did you run "Rerun Filter for folder?"
-
@mottenmouse How many emails do you think were in the folder where you reran the filter? Here, on several hundred emails, the filter reruns ina few seconds and that is it. No more running of filters.
-
@ayespy said in Running mail filters -- non stop (bug?):
@mottenmouse I don't know. Why did you run "Rerun Filter for folder?"
My fault. I missed some e-mails, they are in an other profile.
@ayespy said in Running mail filters -- non stop (bug?):
@mottenmouse How many emails do you think were in the folder where you reran the filter? Here, on several hundred emails, the filter reruns ina few seconds and that is it. No more running of filters.
Around 5k mails.
The number doesn't matter though. The same backup reduced to 500 emails. No matter what the reason, running "Rerun Filter for folder" once results in the "Running mail filters" loop error.And before you ask why I don't do a standard installation. I also want to import my old feed items, this is not possible at this time as far as I know.
-
@mottenmouse It sounds as Though you may have at least one malformed email stored. I ran "rerun filter" on a folder with 13K emails or so and it just ran in about five or six seconds and completed. No issues. No filters loop. Then I ran it on one with over 100K. Took less than 20 sec.
-
@ayespy This issue was reported multiple times now. I tried to re-index because mails are not correctly shown in search results (VB-86728).
I would not count out the possibility of a defunct sector for a disk in general, but it's basically impossible as multiple users report this issue. I'm pretty sure that it's some deadlock in the code (possibly related to a parse error).
Reported as (VB-86996).
-
@jumpsq There is a specific handle for bad search results (rebuild search index) which is not the same as rerunning folder filters.
It might not result in endless filter runs. You click on the taskbar mail symbol, select the gear in the popup and select "Rebuild Mail Search Database."
-
@ayespy It does not result in any loop, but it also does not solve the issue. It does not seem to run at all, to be honest
But I was not aware until now that those are actually meant to be different functions. Makes it ever so stranger that re-running the filter makes vivladi get stuck, since I do not use any automatic labelling.
-
@jumpsq They are different functions. And yes, it does run, but you can't see evidence that it is doing so.
-
@ayespy I tried before and did not notice a change after $TIME. But sure, I'll try again.
-
@jumpsq Here, with a half million emails or so, it seems to take about five or six minutes to rebuild the search database. And it definitely works.
-
No, sadly still see wrong search results after doing that (VB-86728). But thank you anyway.
Since I also have this filter issue though, may they be related? ... I mean, who knows. -
I have experienced permanent 'Running mail filters...' status message as well. Some seconds after starting Vivaldi it showed up and did not recover until closing Vivaldi. By feeling I have had this for few weeks.
AND at about the same time I experienced increased CPU load of about 7-9% for Vivaldi: with email client and mail window active and only inactive web pages. This forced my fan to run permanently whereas usually it had been silent with vivaldi open.
AND I could not cure the randomly increasing <new unread> indicator of mails (dark gray field left side) as usual by RMB 're-run filters' (Filter erneut anwenden), a hint I had found in the forum a while ago.This action has cured all the three issues at the same time:
@janrif To re-index all your mail, (the second most-destructive solution) you close the browser and delete the folder: C:\Users\yourusername\AppData\Local\Vivaldi\User Data\Default\Storage\ext\mpognobbkildjkofajifpdfhcoklimli and restart the browser. Depending on how many emails you have on disk, the re-index will take a few minutes to several hours. But at the end your mail indexes will be clean and flawless.
Re-indexing went quickly (minutes) but it took an hour or so to re-fetch all messages.
I don't know if this environmental information helps:
- I have a nothing special Win10 64bit Installation, with latest Vivaldi update
- I have 3 email accounts, all IMAP with a total of 3k6 mails in Inbox and 1k7 mails Sent.
- I have had 4 filters defined long before the issues occured
- I had had this behaviour for about 2-3 weeks but I cannot tell if all three started right at the same time or independently with only short delays.
- After that procedure I realized that my filters were gone. So I added two that I thought I have had before. No impact on either of the three issues.
Off-topic but to show a comprehensive picture: I still experience Vivaldi mail client behaving quite unpredictable: on two different Win10 PCs with the same email IMAP accounts booked, I experience different behaviour in:
- Random increase of <new unread> indicator
- synchronisation status of read/unread messages
=> I never have the same number of unread mails in the two systems unless I mark the same messages as read manually. One of the two systems is well synced with my K9 mail App on Android, the other is not.
-
That is actually a "standard" way to re-index all mail, and has appeared several times in the forums (and is even in the official help somewhere, I think).
However, it also comes with a big warning that you will "lose"(*) all the mail previously downloaded through POP instead of IMAP... which in my case is everything - so it's not a solution at all for me.
(*) I think the mail message files will still be on the disk, but can not longer be viewed from Vivaldi.
-
@mossman My intension was not to promote a measure which is already known and which does not work for everyone. My intension was to help @Ayespy understand that the 'Running mail filters...' -non stop issue is not caused or triggered by a weird user action with a 1ppm occurence but something that goes wrong in Vivaldi. Maybe not permanently and for everyone but obviously it's an issue as it's neither a feature, nor is it a wanted or acceptable behaviour.
Increased CPU load and unresettable mail counter may be helpful aspects when trying to find the root cause for this malfunction. But as well they may be seperate effects that popped up at the same time by accident. -
@zytozid said in Running mail filters -- non stop (bug?):
I created a filter rule some days ago, since then I get the non stop "Running mail filters..." bug with high CPU load.
.....and if you delete that filter, does it return?
-
I can reproduce the misbehaviour on my machine:
What happened:
- I had deleted the C:\Users\Claus\AppData\Local\Vivaldi\User Data\Default\Storage\ext\mpognobbkildjkofajifpdfhcoklimli directory and re-indexed an re-fetched all mail (IMAP my friend...). CPU for Vivaldi was low at 0-1%.
- I hit RMB 'Re-run filters' for different mail folders although there was no weird <new unread> indicator. Each time the status message 'Running mail filters...' poped up just for a second.
- I hit RMB 'Re-run filters' on the 'Filters' line. Status message 'Running mail filters...' poped up and decided to stay. CPU for Vivaldi raised to 7% permanently.
That's just it.
The round before I had two filters defined and the same happened. I deleted the two filters but that didn't stop CPU and permanent 'Running mail filters...' display.
Knowing that a newly created ...limli directory cured the issue I backuped the directory for good and bad situations to compare the content. Result is shown here:
Maybe it helps identify where the bug is hidden. However I hope that the developers can reproduce the misbehaviour now which is the basis for locating bugs...
-
@clausr Thank you very much for your comments.
Until now I thought that my mail database is corrupted.
So I tested the following with the current stable and snapshot version on Ubuntu 20.04 LTS:
Added a new profile and a feed. As soon as you run the command "Rerun Filter for Folder" under "All Message" or "Filters", you get into the "Running mail filters ..." loop, combined with a very high CPU load.Bugreport: : VB-87361: "Rerun Filter for folder" --> run into the "Running mail filters ..." loop --> High CPU usage
-
@mottenmouse It's the "filters folder" rerun that appears to cause this. I was able to stop it by deleting the mail indexing folder from my profile and allowing it to rebuild (can take a long time) but I think the problem is that this can be an invalid command. "Filters" is not a folder with a filter - but a command tree. So Vivaldi actually cannot rerun a filter on it, as there is none, and gets stuck forever trying. I will have a chat with a mail developer about this. Unfortunately, I'm over 8 hours behind them, so our conversations can take a long time. This context menu option should not be available for that item.
-
To add to this info gathering, I think in my case I performed the action on the feeds category - so similar to running on all messages or "filters" categories...
-
@mossman There's some dev work on the issue at present. Let's see what the next build brings.