Bug 7257 - (int-146905) New message gives "Device storage full. Remove data to free memory" with enough free space
(int-146905)
: New message gives "Device storage full. Remove data to free memory" with enou...
Status: UNCONFIRMED
Product: Email
Nokia Messaging Service
: 5.0/(2.2009.51-1)
: All Maemo
: Low normal with 1 vote (vote)
: ---
Assigned To: unassigned
: nokia-messaging-service-bugs
:
:
:
:
  Show dependency tree
 
Reported: 2009-12-23 13:44 UTC by Kasper Souren
Modified: 2010-12-16 20:38 UTC (History)
12 users (show)

See Also:


Attachments


Note

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


Description Kasper Souren (reporter) 2009-12-23 13:44:32 UTC
SOFTWARE VERSION:
(Settings > General > About product)

EXACT STEPS LEADING TO PROBLEM: 
(Explain in detail what you do (e.g. tap on OK) and what you see (e.g. message
Connection Failed appears))
1. Trying to resolve #6323.
2. Deleted Gmail account
3. Created new account
4. Click New message


EXPECTED OUTCOME:
New message.

ACTUAL OUTCOME:
"Device storage full. Remove data to free memory" message.



Nokia-N900-42-11:/home/user# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                  227.9M    155.2M     68.5M  69% /
ubi0:rootfs             227.9M    155.2M     68.5M  69% /
tmpfs                     1.0M     76.0k    948.0k   7% /tmp
tmpfs                   256.0k     76.0k    180.0k  30% /var/run
none                     10.0M     80.0k      9.9M   1% /dev
tmpfs                    64.0M      4.0k     64.0M   0% /dev/shm
/dev/mmcblk0p2            2.0G    280.6M      1.6G  15% /home
/opt/pymaemo/usr/lib/python2.5
                          2.0G    280.6M      1.6G  15% /usr/lib/python2.5
/opt/pymaemo/usr/share/pyshared
                          2.0G    280.6M      1.6G  15% /usr/share/pyshared
/opt/pymaemo/usr/lib/pyshared
                          2.0G    280.6M      1.6G  15% /usr/lib/pyshared
/opt/pymaemo/usr/share/python-support
                          2.0G    280.6M      1.6G  15%
/usr/share/python-support
/opt/pymaemo/usr/lib/python-support
                          2.0G    280.6M      1.6G  15% /usr/lib/python-support
/dev/mmcblk0p1           27.0G     21.3G      5.7G  79% /home/user/MyDocs
/dev/mmcblk1p1            3.7G      2.0G      1.8G  53% /media/mmc1

REPRODUCIBILITY:
not sure yet

EXTRA SOFTWARE INSTALLED:
tons
Comment 1 Kasper Souren (reporter) 2009-12-23 13:49:00 UTC
The New message thing reappears after I accept the SSL certificate. Weird.
The acceptance of the SSL certificate should probably be shown instead of the
"storage full" error message.
Comment 2 Andre Klapper maemo.org 2009-12-31 18:45:55 UTC
Weird. How reproducible is this?
You use Nokia Messaging Service to access GMail via IMAP, or is this a direct
account?
Which exact SSL certificate is this? The Google one?
Comment 3 Andre Klapper maemo.org 2010-01-14 17:03:57 UTC
moreinfo as per my questions.
Also, today Nokia released the Maemo5 update version 2.2009.51-1 for public
(also called "PR1.1" sometimes).
If you have some time we kindly ask you to test again if the problem reported
here still happens in this new version - just leave a comment (and feel free to
update the "Version" field to the new version if it's still a problem).
Comment 4 Benjamin Rosseaux 2010-01-15 11:33:54 UTC
I've still it at PR1.1
Comment 5 Andre Klapper maemo.org 2010-01-26 13:37:25 UTC
Please see comment 2.
Comment 6 rash 2010-02-14 10:16:30 UTC
I am getting this error, and i have the new 51.1 software. it only happens on
one email account. i have 3 emails, 2 are gmail and one is university. only my
personal email account where I have a lot of emails gives me this error
message.
Comment 7 Thorsten Koch 2010-02-16 00:13:15 UTC
I generated this message by   mv .modest old.modest
then starting the email apllication. While it was synchronising I hit "send new
message" This triggered the error message. Then I quit Email and started it
again and it was gone. My guess is that it might be related to the outbox
folder not there.
Comment 8 Andre Klapper maemo.org 2010-02-17 20:30:08 UTC
Kasper: Can you answer comment 2, please?
Comment 9 Jeff Moe 2010-02-22 21:54:03 UTC
I had been repeatedly been receiving this error:

"Unable to receive or send new messages.
Device storage full.
Remove data to free memory."

I use gmail, but not much. This error was causing problems where none of the
IMs or SMSs I received would be logged, so if I missed a message it would be
gone forever. The error message would come up frequently while the phone was
on, even when I was doing things completely unrelated to messaging. It would
come up about once a minute it seemed. I did have plenty of free space
available on all partitions.

I believe I have solved the problem.

1) Open terminal.

2) mkdir /home/user/.rtcom-eventlogger/BACKUP

3) mv /home/user/.rtcom-eventlogger/el* /home/user/.rtcom-eventlogger/BACKUP/

4) Reboot (may be unecessary).

So perhaps the code that does this check should see if there really is space
available, and if so, do something similar to the above.
Comment 10 Jeff 2010-03-22 21:17:46 UTC
I've corrected a similar problem by deleting
~/.osso_rss_feed_reader/searchentries which had grown to 1.7 gigs.  I had some
difficulty finding the offending file because du -sh .* did not report various
directories including .osso_rss_feed_reader.   I noticed that all my rss feeds
were gone once I'd deleted that one file.

I was previously using only the default maemo feed and
http://rss.slashdot.org/Slashdot/slashdotYourRightsOnline with images disabled,
but I'd previously attempted to use a feed burner feed.
Comment 11 Norbert 2010-04-06 11:53:36 UTC
I can confirm Jeffs post (#10). Exactly the same happened on my (relatively
new) phone with just three text-only RSS feeds.
Comment 12 Aristeidis Karalis 2010-04-16 06:42:41 UTC
I have the same problem and it is terrible! The message

"Unable to receive or send new messages.
Device storage full.
Remove data to free memory."

kept appearing repetitively (indeed around every 1min). It happened randomly
(not Gmail related) and I LOST ALL MY CONVERSATIONS AND CALL LOGS!!!

I followed Comment#9 and stopped getting the message, but my logs are still all
gone! (Perhaps now in BACKUP folder?)
I do not have RSS feeds (does facebook and AP-press widgets count as RSS?)

Please do something asap. This is a major bug!!!
Thanks
Comment 13 Andre Klapper maemo.org 2010-04-22 00:09:23 UTC
So we have several issues mixed in one report. No good. :-P

Email (comment 0): There is one internal ticket (Note to myself: int-146905,
cf. int-149316) about getting this bogus error message when trying to open
attachments, but not when opening a composer window.
I currently assume that it is the same issue.


What is *NOT* part of this report:

RSS (comment 10 and comment 11): A huge file named
~/.osso_rss_feed_reader/searchentries that correctly triggers this error
message (df -h output welcome directly after this message is shown).
The size of the file sounds like a potential bug to me that is worth a separate
ticket.

Conversations (comment 9): Big files in /home/user/.rtcom-eventlogger/el* that
probably correctly trigger this error message (df -h output welcome directly
after this message is shown).
This does not sound like a bug to me.
Comment 14 Jeff Moe 2010-04-22 05:29:59 UTC
Per comment #13 about #9, "Big files in..."

To re-iterate: there was plenty of space on all partitions. I didn't remove a
big file (the file wasn't big, nor did I rm it, I just mv'd it.) The moved
files:

-rw------- 1 user users 10K 2010-02-17 17:37 el.db
-rw-r--r-- 1 user users 512 2010-02-17 17:36 el.db-journal
Comment 15 Kasi Viswanath 2010-04-25 17:02:11 UTC
Hi, I just hit this problem. It keeps on giving me this notification: "Unable
to receive or send new messages. Device storage full. Remove data to free
memory". I have checked and I have enough free memory (to receive messages) in
all the partitions. I do not have any external card.

I am able to receive calls but not any messages. Today (infact, just now) I
received a call from a number that was not in my contacts. So, after the call
when I tried to add the number, it didn't show up in the phone menu! I am not
sure if this is related to this problem though. Earlier I have never seen this
issue.

Also, if this matters, I have one gmail and one ovi account setup for email.
Currently, my device is not connected to internet.

I have tried to clean up few old messages from conversations. But still keep
getting this notification continuously. Now, will try to remove some apps.

I hope a permanent fix to this issue will follow soon. This is really
frustrating.

Please let me know if any traces that you would need for this.

Thanks in advance.
Comment 16 Kasi Viswanath 2010-04-25 17:15:25 UTC
Sorry, missed to add this. But this is in continuation to my last report.

With "df -h", my rootfs showed of 227.9M 224.5M is used. But use% shows 100%
even after trying "apt-gen clean" and "apt-get autoremove"

Is 3M not sufficient to receive a message? Also, why is it showing 100% usage
when it it not exactly 100%?
Comment 17 Andre Klapper maemo.org 2010-04-26 10:12:27 UTC
(In reply to comment #16)
> With "df -h", my rootfs showed of 227.9M 224.5M is used.

This report is about getting the error message while having enough free space. 
You don't have enough space. Please ask in talk.maemo.org instead. Thanks!
Comment 18 Kasi Viswanath 2010-04-26 12:48:38 UTC
I had space in rootfs. As mentioned earlier, of the total 227.9M, 224.5M was
used leaving roughly 3.5M as free. Inspite of having these 3.5M as free, the
"df -h" output showed 100% usage. I see this to be an issue. And since it was
showing this usage as 100%, I used to get that error message.

224.5 of 227.9 is around 98.5 or 99% (not 100%).

I followed the tips and uninstalled lot of apps after which the rootfs was
freed a bit. But after a reboot, ALL my previous messages/IM's and call list's
are now COMPLETELY LOST. I had not installed any software that is related to
phone functionality or anything related to conversations or even email.
Comment 19 Andre Klapper maemo.org 2010-04-26 13:04:13 UTC
(In reply to comment #18)
> I had space in rootfs.

Yes, but not *enough* space. Hence a valid error message and your issue does
not belong here...
Comment 20 Daniel Fischer 2010-05-12 15:02:25 UTC
I got this message too, randomly, and removing the files that comment #9 refers
to appears to have stopped that too (at least for now).

I have 50.5 M free on / (and 1.2 G in /home, where the files that I removed
were).

I rarely use the N900 as a telephone or for e-mail, but it is logged on to my
Skype account at all times. I can't imagine any other source for a large number
of events. (It's also logged on to my asterisk, so it does log calls that
arrive via the landline, but I rarely receive calls.)
Comment 21 Andre Klapper maemo.org 2010-06-07 12:28:20 UTC
This bug is about getting this message when using the Email application and
when there is no reason to show this message.

If you run into this issue with other usecases please file separate reports and
post the *complete* output of "df -h" (as also /opt is important here and not
only rootfs and /home).
Comment 22 Benoit Friry 2010-08-30 19:59:39 UTC
This bug seems to have happened to me yesterday.
The error message appeared about each minute.  No filesystem was full.  

The message seems to have been triggered at first time by a SMS receiving.  I
was able to read it.  I tried to clean some messages, but I couldn't: the UI
let me (try to) suppress messages, but they did not disappear, without any
error message.

It's the first time I see this bug.  The only new thing I did yesterday is to
watch photos on TV with composite cable.  The SMS that triggered the error
message was the first one I received after the photo watching.  I don't know if
it is related.

I rebooted my N900, and all seem functional again.  I think I did not lost any
message.  I'm not very enthusiast about trying to reproduce the photo-on-TV
right now...

Hope it helps.
Comment 23 Martin Zoller 2010-12-13 04:19:35 UTC
I encounter a similar error message, but without the first line: "Device
storage full. Remove data to free memory."
It pops up when the e-mail application is open and trying to download messages.
Sending and receiving IM/SMS works fine. Additionally, the "GPE ToDo"
application is unable to save any changes, claiming it cannot open the
database.

Moving away /home/user/.rtcom-eventlogger/el* and restarting both the E-Mail
application and "GPE ToDo" fixed the issues. I had had both issues for several
days and restarted the phone several times, so I'm pretty sure they were caused
by these eventlogger files.
Also, after putting the el* files back in place and restarting the device, the
problems were there again.

Obviously the storage is not full.
Here's my df -h output:
Filesystem  Size  Used Available Use% Mounted on rootfs  227.8M  151.0M  72.5M 
68% / ubi0:rootfs  227.8M  151.0M  72.5M  68% / tmpfs  1.0M  76.0k  948.0k  7%
/tmp tmpfs  256.0k  92.0k  164.0k  36% /var/run none  10.0M  72.0k  9.9M  1%
/dev tmpfs  64.0M  16.0k  64.0M  0% /dev/shm
/dev/mmcblk0p2  2.0G  814.8M  1.1G  43% /home /home/opt  2.0G  814.8M  1.1G 
43% /opt
/opt/pymaemo/usr/lib/python2.5
2.0G  814.8M  1.1G  43% /usr/lib/python2.5 /opt/pymaemo/usr/share/pyshared 2.0G
 814.8M  1.1G  43% /usr/share/pyshared /opt/pymaemo/usr/lib/pyshared 2.0G 
814.8M  1.1G  43% /usr/lib/pyshared /opt/pymaemo/usr/share/python-support
2.0G  814.8M  1.1G  43% /usr/share/python-support
/opt/pymaemo/usr/lib/python-support
2.0G  814.8M  1.1G  43% /usr/lib/python-support
/dev/mmcblk0p1  27.0G  6.6G  20.4G  24% /home/user/MyDocs


Pretty weird bug! I hope the missing eventlogger files will not cause other
problems.
Comment 24 Martin Zoller 2010-12-13 17:19:45 UTC
Okay, it IS a filesystem issue after all:
[2|user@maemo|~]touch asdf
touch: asdf: No space left on device

[2|user@maemo|~]rm some_useless_file
[2|user@maemo|~]touch asdf
This works, so I do have write access to the filesystem.

But why does it claim there's lots of space available:
[2|user@maemo|~]df -h|grep mmcblk0p2
/dev/mmcblk0p2        2.0G    821.0M        1.1G    43%    /home


I have no idea what's going on here, but apparently it is not a bug in the
e-mail application.
Comment 25 Benoit Friry 2010-12-16 20:38:02 UTC
Martin's comment makes me think of an inode issue: space available but unable
to create a new inode entry...
(Don't know how to see number of free inode: "df -i" doesn't exist on Busybox.)