Ticket #10617 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Drop /var/cache/yum tmpfs

Reported by: martin.langhoff Owned by: cjb
Priority: normal Milestone: 11.2.0-M3
Component: distro Version: not specified
Keywords: Cc:
Action Needed: no action Verified: no
Deployments affected: Blocked By:
Blocking:

Description

The /var/cache/yum tmpfs has several problems:

  • Too small, often yum runs out of space on XO-1
  • Puts the OS under severe memory pressure, which remains until reboot. This makes XO-1 units completely unusable under Sugar after a yum run.
  • Forces a large download every time.

Yum invokations are not so frequent, so wearout should not be a concern. To address disk space usage it might be better to delete old/stale yum cache data on a cronjob.

Change History

Changed 4 years ago by martin.langhoff

  • owner set to cjb
  • component changed from not assigned to distro
  • milestone changed from Not Triaged to 11.2.0-M3

Changed 4 years ago by dsd

  • next_action changed from never set to add to build

committed as olpc-os-builder 1600c668a6e

Changed 4 years ago by dsd

  • next_action changed from add to build to test in build

test in 11.2.0-8

Changed 3 years ago by greenfeld

  • status changed from new to closed
  • next_action changed from test in build to no action
  • resolution set to fixed

Verified in 11.2.0 os11 that /var/cache/yum is included in fstab as a tmpfs filesystem but rather is part of the same filesystem as the root directory on both XO-1 and XO-1.5

Changed 3 years ago by greenfeld

Rather I verified that it was not included.

Note: See TracTickets for help on using tickets.