Quantcast
Jump to content

[pivotCE]Guide: Cleaning out the /var partition when full


pivotCE

Recommended Posts

Just like an older car, with any webOS device these days, you have to perform some maintenance to keep it running smoothly. And one of those maintenance items you have to do on your webOS device is cleaning out the “var” (variable data) partition.

If your webOS device has any of the following symptoms, the trouble could be that your “var” partition is full, or nearly full:

  1. Unable to download files, or play streaming media.
  2. Can’t install or update webOS apps.
  3. Trouble downloading new e-mails.
  4. Generally sluggish, or very slow to respond to gestures.


The “var” partition is an area of the disk used behind-the-scenes by the the webOS operating system. You don’t really notice it or interact with it on a day-to-day basis.

This is a standard directory location on almost all Unix and Linux-based operating systems, which webOS of course, is. What usually goes here are files used internally by webOS during the course of its operation, such as log files, temporary and not-so-temporary database files, and other files that webOS needs to just keep track of what it’s doing from minute-to-minute.

Now as you could guess, things like operating system log files could just get bigger and bigger over time, and without any user intervention, they could eventually take up the disk on a regular PC, or flash storage partition on a mobile device. There are already utilities built-in to webOS that automatically run once in a while to delete old log files to keep this from happening.

Normally, on more recent desktop Linux operating systems, the var partition is just a part of the root partition, and can usually take up the whole hard drive.

On our webOS devices, most (but not all) of our available storage is taken up by our media partition. When you have a TouchPad with 16GB of storage, only about 15GB is available for your own use, to store music, videos, photos, documents, and other files. The other 1GB or less is so that webOS itself can have some filespace for its own needs.

Out of that less-than-1GB, only 62MB (megabytes) is set aside for the var partition. Yeah, that’s not a lot, but it’s just a consequence of trying to give as much storage is feasible to you for your own files on your webOS device.

So besides the log files that webOS automatically trims once in a while there are other directories and files that webOS does not keep in check, that can grow over time and fill up the var partition. Over the years, different people have discovered that it is safe to remove files from the following directories:

1. Browser cache and cookies
Your web browser has to save files somewhere, and you guessed it – they go in the var partition.

2. /var/luna/data/downloadhistory.db
This file is just a listing of all of the different files that have been downloaded through your browser. On the TouchPad, you can clear this list using the browser.

Browser download list

But on phones, you don’t have that option to clear this from the browser.

3. /var/minicores
Files that go in here are stack traces of applications that have crashed. These are the kind of files that would have been useful to the folks developing webOS.

4. /var/context/pending
This directory would contain files that would get uploaded to Palm periodically, to help them spot operating system errors on devices already released. The files also controversially contain things like location data.

5. /var/palm/data/localstorage – http*.localstorage
Some websites use javascript features that create a little database on the users computer. Those database files go in this directory on webOS.

Now, if your webOS device is in a state where you cannot even launch a new app because the var partition is full, you will have to use novaterm or a similar utility to access the command line of your webOS device, and delete files from the var partition manually.

But if you have the Internalz file management app, and you can start it successfully, you can use that to navigate to each of these locations and take the following steps.

1. For browser cache and cookie files, open your webOS browser app, and access the Preferences from the menu. Press the buttons to Clear History, Clear Cookies and Clear Cache. Please note that clearing cookies will erase any passwords you may have saved for websites you might have to login to from the browser, such as Facebook or the webOSNation forums. You’ll just have to re-enter and re-save your login info the next time you visit those sites.

Browser preferences

2. For /var/luna/data/downloadhistory.db, just navigate to this directory in Internalz and delete it there. The webOS browser will re-create it for you next time you start the browser. Even if this file is 1MB or so, remember that is 1MB out of 62MB total, so it will definitely help.

3. For /var/minicores, navigate to this directory in Internalz, and delete any and all files found there. You may not find any files here. If you don’t, no problem.

4. For /var/context/pending, navigate to this directory in Internalz, and delete any and all files found there. You may not find any files here. If you don’t, no problem.

5. For /var/palm/data/localstorage, you don’t want to delete all files here – only consider ones that start with “http”. Even those, maybe don’t delete files of websites that you visit a lot, or you may lose features saved by the website on your webOS device. There may be A LOT of files here, so here is a trick in Internalz: tap the “Size” column so that the largest files appear at the top. The display will go from this:

Internalz unsorted

…to this:

Internalz sorted

Now you can easily delete the first few files beginning with “http” that will make the biggest impact in freeing up space for you. Keep deleting these files until you can’t stand it any more. 🙂

Now that you have freed up that precious space in your var partition, there is one final thing you need to do, if you haven’t already done it: If you had a ton of files in /var/context/pending, this means you probably haven’t installed the “EOM Overlord Monitor” from Preware. This is a patch/application that will prevent the scripts that fill up this directory from running. These scripts or background apps also try to send these files to Palm servers that no longer exist, so it makes sense to turn off these features on your device. Just install the app from Preware, and it will care of turning those things off.

With your routine maintenance complete, your classic model is ready for the road again!

link hidden, please login to view
.

Related posts:

Link to comment
Share on other sites

  • Similar Topics

    • By Peyton Wheeler
      Passion hours app won't show anything but the softcore content. Anyone had this problem?
    • By News Reporter
      With the Addition of a 5MP Diagnostic Monitor, Company’s Comprehensive Range of
      Medical Monitors Now Boasts 13 Different Types of Display

      SEOUL, Apr. 12, 2024 — LG Electronics (LG) is accelerating its B2B medical device business, leveraging a full lineup of diagnostic monitors including the new 21HQ613D which was recently cleared by FDA for sale in the United States. Designed specifically for digital mammography and breast tomosynthesis, the 21HQ613D is a 21.3-inch 5-megapixel (MP) IPS diagnostic monitor that delivers high-definition radiological images and maintains consistent image quality through its internal front calibration sensor and calibration software.
      The 21HQ613D offers exceptional definition and brightness, its LG IPS display providing a resolution of 2,048 x 2,560, a luminance of 1100cd/m² and a contrast ratio of 1800:1. Suitable for reviewing various types of medical images, including breast MRIs, CT scans and ultrasound, the diagnostic monitor features an internal front sensor that removes the need for an external calibration device. With LG Calibration Studio Medical software, users can conveniently conduct DICOM calibration and quality assurance tests that comply with international quality control standards for medical monitors.
      The 21HQ613D also incorporates helpful features to assist users in the close examination of medical images, such as Focus View Mode and Pathology Mode. Controllable with either a mouse or keyboard, Focus View Mode lets users focus in on a specific part of an image, dimming the rest of the screen in order to highlight the selected area. Pathology Mode provides image clarity and accuracy as if looking into a microscope. Additionally, Multi-Resolution Mode (5, 3 and 2MP) makes it possible to quickly adjust screen resolution to suit the type of image being viewed.
      For a more productive and organized workspace, this diagnostic monitor supports daisy-chaining via DisplayPort connection. An easy and efficient way of linking monitors, daisy-chaining helps reduce desk clutter and simplify cable management. LG’s new diagnostic monitor also offers a comfortable user experience thanks to an ergonomic stand with adjustable tilt, height, swivel and bi-directional pivoting functionality.
      The diagnostic monitor’s five hotkeys improve user convenience by providing a quick and simple way to adjust settings or switch between modes. Meanwhile, the Presence Sensor helps to conserve energy, automatically shutting off the display if no motion has been detected for five minutes. The Down Light and Wall Light features enable users to read documents when the room is dim or completely dark, the former illuminating the desk or table surface below the monitor and the latter casting light on the area behind it. For a better viewing experience, the Auto Luminance Sensor automatically adjusts screen brightness according to ambient conditions.
      With the 21HQ613D, LG is targeting rapidly growing global demand for mammography monitors. According to an industry analysis report by Persistence Market Research, the global mammography market is projected to reach a valuation of USD 6.9 billion by 2023, with a CACR of 11.6% from 2023 to 2033.*
      LG’s expanded lineup of diagnostic monitors covers the major display needs of large hospitals. Along with the new 5MP model, the company provides 3MP monitor – primarily used for reading radiological images – and 8MP and 12MP products equipped with PBP (Picture-by-picture) mode, which allows simultaneous review of multiple diagnostic images. In total, LG now offers 13 types of medical monitors, including 5 diagnostic monitors, 5 surgical monitors and 3 monitors for clinical use.
      LG is committed to delivering advanced monitor solutions for the modern healthcare environment. In 2023, LG secured a significant contract with Centrale d’Achat de l’Informatique Hospitalière (CAIH), France’s hospital IT purchasing center, to provide a total of eight types of medical monitors. The contract, valued at EUR 10 million (approximately KRW 15 billion) over four years, represents the company’s largest agreement since entering the medical imaging device business in 2016.
      “Designed for reviewing mammograms and breast tomosynthesis, LG’s new diagnostic monitor is a high-quality medical imaging display offering easy management and useful functionality,” said YS Lee, vice president and head of the IT business unit of LG Business Solutions Company. “We will continue to provide the medical sector with cutting-edge solutions leveraging our innovative display technologies.”
      For more information about LG’s diagnostic monitors, visit
      link hidden, please login to view. Key Specifications:
      LG Diagnostic Monitor (21HQ613D)
      Display Panel Type IPS Size 21.3-inch Aspect Ratio 4:5 Resolution 5MP (2,048 x 2,560) Color Gamut (Typ.) NTSC (CIE1 931) 72% Brightness (Typ.) 1100cd/m² Contrast Ratio (Typ.) 1800:1 Response Time (Gray-To-Gray)
      5ms (GtG) Feature DICOM Compliant Yes Hardware Calibration Yes Display Mode Multi-Resolution Mode (5/3/2MP), Focus View Mode, Pathology Mode Video Signals Input Terminals DisplayPort x2, DVI-D (Dual Link) x1 User
      Convenience Dual Controller Yes Lighting Yes (Down / Wall) Hot Key Yes (5 keys) Presence Sensor Yes Physical Specifications
      Adjustable Stand Pivot (Bi-Directional) / Swivel: ±15° / Tilt.: -5°~20° / Height Range: 110mm  
      # # #
      *

    • By Maria D
      How to change view from 16:9 in movies to fit full screen 
       
      LG QLED B22 
    • By Satya_
      Software version 05.30.10 default web browser just updated and the address bar appear on the top of the screen which bother me a lot while playing a video please add a Full screen option to it
    • Weebly - Websites, eCommerce & Marketing in one place.
    • By kennyboom99
      hi Guys,
      My lg tv when set to live tv will show full screen for around 20 seconds and then show a very small shrunk screen in the top left corner of the channel
      i can switch channels but the screen stays mall
      netflix displays in full screen
      picutre test shows full screen
      i have tried resetting the tv, power cycling, changing cables (coax) and nothing is making a difference.
      anyone have any ideas on what causes this?
       
      this is what the screen looks like 
      link hidden, please login to view  
      any help is much appreciated
       
       
×
×
  • Create New...