(UXA) swap space is not freed when it is no longer used

Bug #369759 reported by Klaus Vormweg
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Swap space is claimed, when I use memory intesive applications like VmWare or Gimp with big pictures. It seems that the used swap space is almost never freed again. That leads to an unusable slow system, when more swap space is needed and ultimatly to a kenerl panic (out of memory).

Here is a swap space statistics of today (sysstat sar -S). Swap space usage goes up after the start of VmWare (around 13:10), but does not go down again after stopping VmWare (around 13:20). The last line depicts an empty Gnome Desktop with no (visible) programs running.

              kbswpfree kbswpused %swpused kbswpcad %swpcad
10:55:01 977752 18236 1,83 840 4,61
11:05:01 977752 18236 1,83 840 4,61
11:15:01 977752 18236 1,83 840 4,61
11:25:01 977340 18648 1,87 744 3,99
11:35:01 976040 19948 2,00 600 3,01
11:45:01 969160 26828 2,69 996 3,71
11:55:01 957384 38604 3,88 1512 3,92
12:05:01 939636 56352 5,66 1752 3,11
12:15:01 928496 67492 6,78 2284 3,38
12:25:01 916812 79176 7,95 2664 3,36
12:35:01 916448 79540 7,99 3360 4,22
12:45:01 916448 79540 7,99 3360 4,22
12:55:01 916448 79540 7,99 3360 4,22
13:05:02 911376 84612 8,50 6576 7,77
13:15:03 362060 633928 63,65 35120 5,54
13:25:01 421472 574516 57,68 44104 7,68
13:35:01 423808 572180 57,45 44512 7,78
13:45:01 430692 565296 56,76 45100 7,98
13:55:01 438900 557088 55,93 48868 8,77
14:05:01 487552 508436 51,05 45376 8,92
14:15:01 493624 502364 50,44 45244 9,01

System is a P4 with 1GB ram and 1 GB swap

Ubuntu version: 9.04
Graphics Controller: Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02)

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: xserver-xorg-video-intel 2:2.6.3-0ubuntu9
ProcEnviron:
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/zsh
ProcVersion: Linux version 2.6.28-11-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Klaus Vormweg (klaus-vormweg-deactivatedaccount) wrote :
tags: removed: apport-bug i386
Revision history for this message
Zack Evans (zevans23) wrote :

Bug 360319 pretty similar - Klaus, take a look and mark yours duplicate if you think it's the same, or say what you think is different to help with troubleshooting?

Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Michele Bini (michele-bini) wrote :

As a temporary fix, I have added the following memory usage limits to /etc/security/limits.conf

root soft data 30000000
root hard data 60000000

It seems to work well and I can run many intensive X applications like wine and firefox without the intensive memory usage and swapping I experienced until yesterday.

I'm using xserver-xorg-video-intel, version 2:2.8.1-1ubuntu1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.