[Bug 2120956] Re: Ubuntu swap size default too small causes system freezes

Alice C. Munduruca 2120956 at bugs.launchpad.net
Wed Sep 3 14:39:04 UTC 2025


** Also affects: ubiquity (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: linux-hwe-6.8 (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2120956

Title:
  Ubuntu swap size default too small causes system freezes

Status in linux-hwe-6.8 package in Ubuntu:
  Invalid
Status in ubiquity package in Ubuntu:
  New

Bug description:
  On Ubuntu installations, the default swap space is set too small for
  many real-world usage scenarios. This often results in the system
  running out of swap quickly during high memory usage, which causes
  system freezes or crashes.

  Expected behavior:

  Ubuntu should configure a more appropriate swap size by default, based
  on the available RAM and usage patterns.

  The system should provide warnings or notifications when the swap
  space is almost full to prevent sudden system freezing.

  Actual behavior:

  Swap is created with a small default size (often just a few hundred MB
  or 1-2 GB), which is insufficient in many cases.

  There are no warnings or notifications when swap is close to full,
  which leads to unexpected system freezes or hangs.

  Steps to reproduce:

  Install Ubuntu with default settings.

  Use applications or workflows that consume a large amount of RAM
  (heavy browsers, virtual machines, development tools, etc.).

  Observe that the system uses up the swap quickly and eventually
  freezes or crashes without any prior warning.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-6.8.0-65-generic 6.8.0-65.68~22.04.1
  ProcVersionSignature: Ubuntu 6.8.0-65.68~22.04.1-generic 6.8.12
  Uname: Linux 6.8.0-65-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.10
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC2:  tomas.zandona   8260 F.... pulseaudio
   /dev/snd/controlC1:  tomas.zandona   8260 F.... pulseaudio
   /dev/snd/controlC0:  tomas.zandona   8260 F.... pulseaudio
  CRDA: N/A
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Aug 19 11:53:04 2025
  InstallationDate: Installed on 2025-07-09 (40 days ago)
  InstallationMedia: Ubuntu 22.04.5 LTS "Jammy Jellyfish" - Release amd64 (20240911)
  MachineType: Acer Aspire A315-24P
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-65-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-6.8.0-65-generic N/A
   linux-backports-modules-6.8.0-65-generic  N/A
   linux-firmware                            20220329.git681281e4-0ubuntu3.38
  SourcePackage: linux-hwe-6.8
  UpgradeStatus: No upgrade log present (probably fresh install)
  WifiSyslog:
   
  dmi.bios.date: 07/07/2023
  dmi.bios.release: 1.11
  dmi.bios.vendor: Insyde Corp.
  dmi.bios.version: V1.11
  dmi.board.asset.tag: Type2 - Board Asset Tag
  dmi.board.name: Herbag_MDU
  dmi.board.vendor: MDC
  dmi.board.version: V1.11
  dmi.chassis.type: 10
  dmi.chassis.vendor: Acer
  dmi.chassis.version: V1.11
  dmi.ec.firmware.release: 1.11
  dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.11:bd07/07/2023:br1.11:efr1.11:svnAcer:pnAspireA315-24P:pvrV1.11:rvnMDC:rnHerbag_MDU:rvrV1.11:cvnAcer:ct10:cvrV1.11:sku0000000000000000:
  dmi.product.family: Aspire 3 15
  dmi.product.name: Aspire A315-24P
  dmi.product.sku: 0000000000000000
  dmi.product.version: V1.11
  dmi.sys.vendor: Acer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.8/+bug/2120956/+subscriptions




More information about the foundations-bugs mailing list