Memory leaks in xorg-server in Ubuntu 10.04.4 LTS.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Memory leaks in xorg-server while video chat is running in skype 4.
To reproduce:
1. Update to the current version of 10.04.4 (i386)
2. install Skype
3. run video chat.
Xorg will use all possible virtual memory in the system and OOM will kill skype.
Xorg will not release memory upon skype termination.
May be related to old bug https:/
I have found that /sys/kernel/
So far leak happens only when Skype video is running.
This is degradation, possibly introduced by one of the latest updates.
Same configuration, with the same version of Skype, was running stable till I did scheduled update week ago. I perform an update every one-two months.
Description: Ubuntu 10.04.4 LTS
Release: 10.04
$ apt-cache policy xorg
xorg:
Установлен: 1:7.5+5ubuntu1.1
Кандидат: 1:7.5+5ubuntu1.1
Таблица версий:
*** 1:7.5+5ubuntu1.1 0
500 http://
500 http://
100 /var/lib/
1:7.5+5ubuntu1 0
500 http://
$ apt-cache policy skype
skype:
Установлен: 4.0.0.8-0lucid1
Кандидат: 4.0.0.8-0lucid1
Таблица версий:
*** 4.0.0.8-0lucid1 0
500 http://
100 /var/lib/
revolver@monitor:~$
=======
$ free
total used free shared buffers cached
Mem: 1025892 991316 34576 0 2580 477120
-/+ buffers/cache: 511616 514276
Swap: 1646620 1632820 13800
=======
$ top (sorted by %MEM)
top - 11:15:58 up 22:17, 2 users, load average: 0.77, 1.58, 0.84
Tasks: 131 total, 1 running, 126 sleeping, 0 stopped, 4 zombie
Cpu0 : 1.2%us, 0.6%sy, 0.0%ni, 98.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1025892k total, 991896k used, 33996k free, 2632k buffers
Swap: 1646620k total, 1632820k used, 13800k free, 477408k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
856 root 20 0 1372m 17m 2904 S 0.0 1.8 1:46.63 Xorg
1236 valentin 20 0 47388 10m 8136 S 0.0 1.0 0:03.94 gnome-session
1423 valentin 20 0 46692 10m 8164 S 0.3 1.0 0:00.75 polkit-gnome-au
1414 valentin 9 -11 100m 7652 6640 S 0.0 0.7 2:07.67 pulseaudio
1732 valentin 20 0 32268 7600 828 S 0.0 0.7 0:01.16 python
1746 valentin 20 0 36372 3976 1608 S 0.0 0.4 0:00.07 evolution-excha
1400 valentin 20 0 92092 3768 2628 S 0.0 0.4 0:08.87 gnome-settings-
1743 valentin 20 0 69852 3572 1536 S 0.0 0.3 0:00.05 evolution-data-
1420 root 20 0 8084 3316 2268 S 0.0 0.3 0:00.37 polkitd
=======
OOM message:
[80035.784940] upowerd invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0
[80035.784952] upowerd cpuset=/ mems_allowed=0
[80035.784963] Pid: 1435, comm: upowerd Not tainted 2.6.32-44-generic #98-Ubuntu
[80035.784971] Call Trace:
[80035.784992] [<c01ceec4>] oom_kill_
[80035.785005] [<c01cf539>] ? select_
[80035.785018] [<c01cf5c1>] __out_of_
[80035.785029] [<c01cf668>] out_of_
[80035.785042] [<c01d1f58>] __alloc_
[80035.785057] [<c01d20aa>] __alloc_
[80035.785071] [<c01d466a>] __do_page_
[80035.785085] [<c01d47a6>] ra_submit+0x26/0x30
[80035.785096] [<c01cd93c>] filemap_
[80035.785110] [<c01e6ec0>] __do_fault+
[80035.785122] [<c01e8b39>] handle_
[80035.785138] [<c05941bd>] do_page_
[80035.785151] [<c05940b0>] ? do_page_
[80035.785163] [<c05920b3>] error_code+
[80035.785170] Mem-Info:
[80035.785176] DMA per-cpu:
[80035.785183] CPU 0: hi: 0, btch: 1 usd: 0
[80035.785189] Normal per-cpu:
[80035.785197] CPU 0: hi: 186, btch: 31 usd: 35
[80035.785203] HighMem per-cpu:
[80035.785210] CPU 0: hi: 42, btch: 7 usd: 36
[80035.785226] active_anon:56785 inactive_anon:84567 isolated_anon:0
[80035.785230] active_file:138 inactive_file:210 isolated_file:0
[80035.785234] unevictable:0 dirty:0 writeback:0 unstable:0
[80035.785238] free:3036 slab_reclaimabl
[80035.785243] mapped:2219 shmem:110543 pagetables:1472 bounce:0
[80035.785267] DMA free:4056kB min:64kB low:80kB high:96kB active_anon:812kB inactive_
[80035.785287] lowmem_reserve[]: 0 865 999 999
[80035.785316] Normal free:7964kB min:3728kB low:4660kB high:5592kB active_
[80035.785338] lowmem_reserve[]: 0 0 1074 1074
[80035.785366] HighMem free:124kB min:132kB low:276kB high:420kB active_anon:18796kB inactive_
[80035.785387] lowmem_reserve[]: 0 0 0 0
[80035.785399] DMA: 2*4kB 4*8kB 13*16kB 5*32kB 3*64kB 3*128kB 4*256kB 2*512kB 1*1024kB 0*2048kB 0*4096kB = 4056kB
[80035.785433] Normal: 173*4kB 173*8kB 30*16kB 11*32kB 13*64kB 1*128kB 2*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 7964kB
[80035.785466] HighMem: 9*4kB 3*8kB 0*16kB 0*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 124kB
[80035.785498] 111952 total pagecache pages
[80035.785504] 1033 pages in swap cache
[80035.785512] Swap cache stats: add 419229, delete 418196, find 2679/3427
[80035.785519] Free swap = 0kB
[80035.785525] Total swap = 1646620kB
[80035.796208] 261984 pages RAM
[80035.796214] 34658 pages HighMem
[80035.796220] 5607 pages reserved
[80035.796225] 5174 pages shared
[80035.796230] 250589 pages non-shared
[80035.796240] Out of memory: kill process 1702 (skype) score 894138 or a child
[80035.796252] Killed process 1703 (skype)
An interesting observation:
memory leaks ONLY when skype remote user translates its video.