Bug 800759

Summary: Thunderbird issue with quota
Product: [openSUSE] openSUSE 12.2 Reporter: Klaus Singvogel <bugzilla>
Component: BasesystemAssignee: E-mail List <bnc-team-mozilla>
Status: RESOLVED UPSTREAM QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: ncutler, nestolea
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Klaus Singvogel 2013-01-28 09:59:16 UTC
User-Agent:       Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0

Thunderbird reports regular that there is no memory left, clean mailbox or compress folder (I don't know the exact english translation atm).

I got this message everytime I tried to fetch mails from my POP accounts. No message was transfered to my local machine.

FYI: I've 5 POP accounts configured, and got this message from 4 accounts.

So I check disk space on my local machine: $HOME is an extra partition and has still 80% free (200GB), at / are 60% free (around 50 GB). I checked size of mailboxes in .thunderbird/xxx/* , but none was larger than a few megabytes.

I deleted via webinterface mail message on all POP accounts, and reduced them to a few 1-5 messages (each a few kB small). But message still occurs.

Finally I found the reason: quota on my local disk drive.

As soon as I disabled quota on my partitions (via yast) the message was gone.

Note that Quota was enabled, but none was set for the account. It was only enabled to get a fast overview which account consumes how much disk space on the laptop.

Don't know, if related: the $HOME partition is encrypted either.

I don't know, if Thunderbird or Quota is the culprint, but disabling Quota is a work-around at the moment.

Maybe I used the wrong component, with Basesystem, please reassign, if so.

This issue can cause a data loss: if mailbox exceeds size at (mail) service provide and no new mails can no longer be received. -> Definition of a "Critical" bug.

Reproducible: Always
Comment 1 Frank Morawietz 2013-11-09 19:52:08 UTC
I can confirm this bug with SeaMonkey (uses the Thunderbird sources for e-mail).

Disabling user quota on the home filesystem make the error message go away.

This only affects POP3, but not IMAP accounts.

It has nothing to do with insufficient disk space. My  /home  filesystem is on the root partition and this partition is only used to 12%. The user is way below quota limits,

Even if the Inbox is empty, and even if the mbox files are completely removed before starting SeaMonkey nevertheless the message appears.

For completeness sake: Removing the whole e-mail account and creating it again, even with another path to the mbox files, just brought the message back every time one fetches e-mails.

I suppose, it might be related to some specific value of the user quota. Because I used this system for many months without any problems. Suddenly from one day to another this message appeared and stayed. So it looks like the used disk space grew and when the used quota reached some value, some day the bug hit. OTOH it might be related to some distro update as well.

The filesystem used is ext4. I suspect that it may have to do something with the filesystem type, because I traced the application and the quotactl system call returns wrong values. On another machine with openSUSE 12.3 and xfs as filesystem with the same SeaMonkey e-mail configuration this message never arose.

I don't understand why an application cares about quota at all. Isn't it a matter of the filesystem to enforce quotas?
Comment 2 Nathan Cutler 2017-08-14 15:13:10 UTC
Aging bug. openSUSE 12.2 is out of maintenance, and this reads like an upstream issue. Please pursue the issue with the upstream ("Mozilla Thunderbird") project. Thanks.