** Description changed: 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 use all possible virtual memory in the system and OOM will kill skype. + Xorg did not release memory upon skype termination. - This is degradation, possible introduced by one of the latest updates. + Looking in old bug https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/565981 + I found that /sys/kernel/debug/dri/0/gem_objects reports negative number of "object bytes". + + This is degradation, possible introduced by one of the latest updates. Same configuration, with same version of skype 4, was running stable till I did scheduled update week ago. I perform an update once in 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://mirror.rol.ru/ubuntu/ lucid-updates/main Packages - 500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages - 100 /var/lib/dpkg/status - 1:7.5+5ubuntu1 0 - 500 http://mirror.rol.ru/ubuntu/ lucid/main Packages + Установлен: 1:7.5+5ubuntu1.1 + Кандидат: 1:7.5+5ubuntu1.1 + Таблица версий: + *** 1:7.5+5ubuntu1.1 0 + 500 http://mirror.rol.ru/ubuntu/ lucid-updates/main Packages + 500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages + 100 /var/lib/dpkg/status + 1:7.5+5ubuntu1 0 + 500 http://mirror.rol.ru/ubuntu/ lucid/main Packages $ apt-cache policy skype skype: - Установлен: 4.0.0.8-0lucid1 - Кандидат: 4.0.0.8-0lucid1 - Таблица версий: - *** 4.0.0.8-0lucid1 0 - 500 http://archive.canonical.com/ubuntu/ lucid/partner Packages - 100 /var/lib/dpkg/status + Установлен: 4.0.0.8-0lucid1 + Кандидат: 4.0.0.8-0lucid1 + Таблица версий: + *** 4.0.0.8-0lucid1 0 + 500 http://archive.canonical.com/ubuntu/ lucid/partner Packages + 100 /var/lib/dpkg/status revolver@monitor:~$ ==================================================================== $ free - total used free shared buffers cached + 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 + 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_process+0xa4/0x2b0 [80035.785005] [<c01cf539>] ? select_bad_process+0xa9/0xe0 [80035.785018] [<c01cf5c1>] __out_of_memory+0x51/0xa0 [80035.785029] [<c01cf668>] out_of_memory+0x58/0xb0 [80035.785042] [<c01d1f58>] __alloc_pages_slowpath+0x498/0x4b0 [80035.785057] [<c01d20aa>] __alloc_pages_nodemask+0x13a/0x170 [80035.785071] [<c01d466a>] __do_page_cache_readahead+0xea/0x200 [80035.785085] [<c01d47a6>] ra_submit+0x26/0x30 [80035.785096] [<c01cd93c>] filemap_fault+0x3dc/0x410 [80035.785110] [<c01e6ec0>] __do_fault+0x40/0x490 [80035.785122] [<c01e8b39>] handle_mm_fault+0x139/0x390 [80035.785138] [<c05941bd>] do_page_fault+0x10d/0x3a0 [80035.785151] [<c05940b0>] ? do_page_fault+0x0/0x3a0 [80035.785163] [<c05920b3>] error_code+0x73/0x80 [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_reclaimable:2446 slab_unreclaimable:6442 [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_anon:3336kB active_file:0kB inactive_file:16kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15852kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:3836kB slab_reclaimable:4kB slab_unreclaimable:4kB kernel_stack:0kB pagetables:8kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:32 all_unreclaimable? no [80035.785287] lowmem_reserve[]: 0 865 999 999 [80035.785316] Normal free:7964kB min:3728kB low:4660kB high:5592kB active_anon:207532kB inactive_anon:239868kB active_file:292kB inactive_file:536kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:885944kB mlocked:0kB dirty:0kB writeback:0kB mapped:7936kB shmem:335216kB slab_reclaimable:9780kB slab_unreclaimable:25764kB kernel_stack:2032kB pagetables:4960kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:608 all_unreclaimable? no [80035.785338] lowmem_reserve[]: 0 0 1074 1074 [80035.785366] HighMem free:124kB min:132kB low:276kB high:420kB active_anon:18796kB inactive_anon:95064kB active_file:260kB inactive_file:288kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:137548kB mlocked:0kB dirty:0kB writeback:0kB mapped:944kB shmem:103120kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:920kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:288 all_unreclaimable? no [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)
-- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1066721 Title: Memory leaks in xorg-server in Ubuntu 10.04.4 LTS. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1066721/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp