12/15/2009, 12:00 PM
|
#61 (permalink) | |
|
Member
![]() |
Quote:
Not quite - every time the Pre sees a new email, its stores the header info in its database, and then downloads the email text and stores it in one of the bucket folders. For some reason, its not cleaning out the buckets when you delete email. So, *both* deleted and non-deleted emails live in there. If you erase all the buckets, the majority of the emails erased will probably be ones you deleted from the mail client... but not all. That last bit is where the danger comes from. If you keep your inbox very clean, constantly cleaning out and deleting old emails, you are much less likely to see negative effects. I keep the majority of my emails because I like being able to search them to get back at old information, so I'm very vulnerable to negative effects. (And future effects, we don't really know.) Look at my earlier post with the perl script for more detailed background if you're interested. |
|
12/15/2009, 02:13 PM
|
#62 (permalink) |
|
Member
![]() |
To tcurtin - Just went and checked a couple things on the email.
My primary email is a pop3 account and once I download that to my notebook, it's cleared from the server. So all of those are completely gone. I keep almost zero old emails on the Pre and all on my notebook and other rigs. There's always a notebook with me. However, on the Google account, I went back to the trash folder and all the deleted items going back to 11/14/09 still had their headers on the Pre. And when I opened those trashed emails, they immediately re-downloaded fromGoogle. I think the 11/14/09 date corresponds to when I did the 1.31 WebOS update. Or the last time I "Doctored" my Pre. Also, I noticed that the number of buckets seems to correspond to every email directory I have. Between cox, msn and google there are 19 directories/folders on my pre. So apparently emails that are cleared/deleted from web-based email accounts are still accessible. That's how it looks to me. at least. |
12/16/2009, 08:46 AM
|
#63 (permalink) | |
|
Member
![]() |
Quote:
|
|
12/21/2009, 09:04 AM
|
#64 (permalink) |
|
Member
![]() |
For what its worth, I ran my script today thusly:
Synched email. Rsynched the Pre to my server so I have a full backup just in case. Went into airplane mode. Restarted Luna. How much space is used before: (~52mb) root@palm-webos-device:/usr/local/bin# du -sk /var/luna/data/emails 52172 /var/luna/data/emails By how many files: (4242) root@palm-webos-device:/usr/local/bin# find /var/luna/data/emails/bucket* | wc 4242 4242 239950 Run the script: root@palm-webos-device:/usr/local/bin# /usr/local/bin/purgeable_emails.pl How much space is used after: (~16mb) root@palm-webos-device:/usr/local/bin# du -sk /var/luna/data/emails 15892 /var/luna/data/emails By how many files: (949) root@palm-webos-device:/usr/local/bin# find /var/luna/data/emails/bucket* | wc 949 949 53020 So - bunch of space cleared up, with the security of knowing that none of the deleted emails are still pointed to by the database. Works for me! The next time I look at this, it will be to see how to safely purge the attachments... I might try adding a GUI if people are interested, otherwise it will just stay a script for now. |
12/21/2009, 09:10 AM
|
#65 (permalink) | |
|
Member
![]() ![]() |
Quote:
|
|
12/21/2009, 03:11 PM
|
#66 (permalink) | |
|
Member
![]() |
Quote:
|
|
03/02/2010, 06:24 PM
|
#68 (permalink) |
|
Member
![]() |
is there any way to clean out just deleted emails ??
__________________
ĦṔ-ḶøØṫ-ŦḯØη Here is a direct link to webOS Doc for all carriers http://www.webos-internals.org/wiki/...octor_Versions P.S. if i have helped you and you are thankful please hit the thanks button to the right----> |
03/16/2010, 11:01 AM
|
#69 (permalink) |
|
Member
![]() |
Yes, just deleted emails? How do you find the most recent emails you want to keep? Will they be numbered low or high in the folder with the buckets?
__________________
![]() Digg my story http://digg.com/d31Qenl?tto help raise $$$ & awareness for webOS, Palm Pre, HP. #WebOS Internals "Telethon"#Palm Pre http://bit.ly/7q1Mc |
03/16/2010, 11:36 AM
|
#70 (permalink) | |
|
Member
![]()
Posts: 40
|
Quote:
![]() I think a few mb's are a small price to pay for a little extra insurance, IMO.... |
|
07/13/2010, 12:31 PM
|
#71 (permalink) |
|
Member
![]() |
Two related questions for folks:
- has anyone tried to delete files from the attachments directories? I know they can be associated with sms messages as well as emails. The directory is taking up a bunch of space, and I'd like to clear it out, but don't want to kill files I might need later. I'm guessing that will require poking at the database again... - my email accounts have stopped honoring the "retention" time. For example, one of my accounts is set to store messages for 3 days, but it has emails going back more than two months. Anyone else run into this? Anyone find a solution? |
07/13/2010, 03:25 PM
|
#72 (permalink) | |
|
Member
![]() |
Quote:
Ok, so for whatever this is worth, suddenly the "switch to a new Show Email setting" idea worked to get rid of old emails. I'm not sure what was different about this time trying it other than that my /var directory had been full previously. (Followed the tip here http://forums.precentral.net/palm-pr...ml#post2540039 to remove one of the larger files and give me room to move while I cleared stuff out.) Maybe that was it? Can't say for sure. However, I *can* say that I dropped about 20M in usage in /var, almost all of it in the /var/luna/data/emails directory. (!) It did also clear associated files out of the /var/luna/data/attachments directory. Just as an FYI... |
|
02/16/2011, 11:55 AM
|
#73 (permalink) |
|
Member
![]()
Posts: 1
|
My solution:
For Pre2 running 2.01 I found that the problem was that /var/file-cache was at 100%. Solution for me to delete the content of /var/file-cache/attachment and free up some space. My system reports: 127.5M of available space for /var/file-cache where email and attachements are installed. So far everthing seems to be working fine. |
02/18/2011, 10:35 AM
|
#74 (permalink) | |
|
Member
![]() |
Quote:
In the meantime, its crazy, but the "not honoring retention times" behavior is still happening to me - my /opt and /var hit 100% last night and my phone is losing its mind. So, I telnetted in via Novaproxy and looked around. I have emails months old, despite storage settings of between 1 and 7 days per account. (And I have files in the attachments directory that are over a year old!) I was able to get rid of a larger attachment to get below 100%, at which point I could finally open the email app again. I went to each of the large email accounts and changed the storage settings to their next lower option, and the phone is now doing its thing - its a slow process apparently, but its down to 97% full now. Anyone have any ideas how to make this stop happening? Anyone know beyond a doubt that its safe to delete attachments? (I could delete that one directory along and save myself a huge chunk of storage, but I'm afraid to remove files that are pointed at by the database...) This isn't a problem a whole lot of folks seem to know about, but I'm really hoping its fixed in webos 2+... |
|
11/07/2012, 02:44 PM
|
#75 (permalink) | |
|
Member
Posts: 118
|
Quote:
was this ugly issue ever solved for webos 1.4.5 by HP/Palm or someone? Now I ran into this serious /var full problem on a Pre+ 1.4.5 : see troubles when /var file partition gets full : http://forums.webosnation.com/webos-...gets-full.html Pre+ shows all kind of strange behaviour because of full /var partition.
|
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



