You are not logged in.

#1 2012-11-27 17:07:26

boast
Member
Registered: 2010-09-28
Posts: 219

X org crashing with out of memory

My system is up to date from the repo. As the title says, X org seems to run out of memory. This started a few days ago. Using KDE 4.9.3 with raster (also tried native) for Qt and kwin with opengl es (also tried with standard opengl), nvidia 310.19


[90595.572973] dropbox invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
[90595.572984] dropbox cpuset=/ mems_allowed=0
[90595.572991] Pid: 24267, comm: dropbox Tainted: P           O 3.6.7-4-ck #1
[90595.572995] Call Trace:
[90595.573012]  [<ffffffff810b8e7d>] ? cpuset_print_task_mems_allowed+0x9d/0xb0
[90595.573021]  [<ffffffff81467fd8>] dump_header.isra.9+0x81/0x1f6
[90595.573031]  [<ffffffff810d370e>] ? __delayacct_freepages_end+0x2e/0x30
[90595.573039]  [<ffffffff8111e81c>] ? do_try_to_free_pages+0x4cc/0x4e0
[90595.573046]  [<ffffffff8110de0b>] oom_kill_process+0x22b/0x370
[90595.573054]  [<ffffffff81062067>] ? has_capability_noaudit+0x17/0x20
[90595.573061]  [<ffffffff8110e32e>] out_of_memory+0x22e/0x290
[90595.573069]  [<ffffffff81112629>] __alloc_pages_nodemask+0x8e9/0x900
[90595.573077]  [<ffffffff8110ca18>] filemap_fault+0x208/0x450
[90595.573083]  [<ffffffff8112d9ae>] __do_fault+0x6e/0x590
[90595.573091]  [<ffffffff813dc660>] ? inet_sendmsg+0x70/0xd0
[90595.573098]  [<ffffffff81130b75>] handle_pte_fault+0x95/0xa80
[90595.573106]  [<ffffffff810792b7>] ? bit_waitqueue+0x17/0xb0
[90595.573114]  [<ffffffff811781cb>] ? core_sys_select+0x2ab/0x300
[90595.573121]  [<ffffffff81132b99>] handle_mm_fault+0x259/0x320
[90595.573128]  [<ffffffff814734c2>] do_page_fault+0x122/0x560
[90595.573134]  [<ffffffff81095c2c>] ? ktime_get_ts+0x4c/0xe0
[90595.573141]  [<ffffffff8117739e>] ? poll_select_copy_remaining+0xee/0x140
[90595.573148]  [<ffffffff811782e8>] ? sys_select+0xc8/0x110
[90595.573156]  [<ffffffff814708a5>] page_fault+0x25/0x30
[90595.573160] Mem-Info:
[90595.573163] DMA per-cpu:
[90595.573167] CPU    0: hi:    0, btch:   1 usd:   0
[90595.573171] CPU    1: hi:    0, btch:   1 usd:   0
[90595.573175] CPU    2: hi:    0, btch:   1 usd:   0
[90595.573178] CPU    3: hi:    0, btch:   1 usd:   0
[90595.573181] DMA32 per-cpu:
[90595.573185] CPU    0: hi:  186, btch:  31 usd:  14
[90595.573189] CPU    1: hi:  186, btch:  31 usd: 161
[90595.573193] CPU    2: hi:  186, btch:  31 usd:  15
[90595.573196] CPU    3: hi:  186, btch:  31 usd:  26
[90595.573199] Normal per-cpu:
[90595.573202] CPU    0: hi:  186, btch:  31 usd:  40
[90595.573206] CPU    1: hi:  186, btch:  31 usd: 169
[90595.573209] CPU    2: hi:  186, btch:  31 usd:  36
[90595.573212] CPU    3: hi:  186, btch:  31 usd:  42
[90595.573222] active_anon:1689503 inactive_anon:250411 isolated_anon:0
 active_file:194 inactive_file:71 isolated_file:132
 unevictable:33 dirty:0 writeback:0 unstable:0
 free:25610 slab_reclaimable:10929 slab_unreclaimable:10540
 mapped:23637 shmem:347948 pagetables:19310 bounce:0
[90595.573239] DMA free:15900kB min:128kB low:160kB high:192kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15652kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
[90595.573243] lowmem_reserve[]: 0 3246 8034 8034
[90595.573262] DMA32 free:46380kB min:27256kB low:34068kB high:40884kB active_anon:2961892kB inactive_anon:292364kB active_file:136kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):256kB present:3324736kB mlocked:0kB dirty:0kB writeback:0kB mapped:3016kB shmem:403840kB slab_reclaimable:6416kB slab_unreclaimable:2532kB kernel_stack:136kB pagetables:4780kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:633 all_unreclaimable? yes
[90595.573266] lowmem_reserve[]: 0 0 4788 4788
[90595.573283] Normal free:40160kB min:40196kB low:50244kB high:60292kB active_anon:3796120kB inactive_anon:709280kB active_file:640kB inactive_file:408kB unevictable:132kB isolated(anon):0kB isolated(file):272kB present:4902912kB mlocked:132kB dirty:0kB writeback:0kB mapped:91532kB shmem:987952kB slab_reclaimable:37300kB slab_unreclaimable:39620kB kernel_stack:5336kB pagetables:72460kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:1999 all_unreclaimable? yes
[90595.573287] lowmem_reserve[]: 0 0 0 0
[90595.573294] DMA: 1*4kB 1*8kB 1*16kB 0*32kB 2*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 3*4096kB = 15900kB
[90595.573310] DMA32: 135*4kB 146*8kB 198*16kB 226*32kB 167*64kB 100*128kB 33*256kB 3*512kB 1*1024kB 0*2048kB 0*4096kB = 46604kB
[90595.573326] Normal: 604*4kB 998*8kB 604*16kB 366*32kB 109*64kB 11*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 40160kB
[90595.573342] 348341 total pagecache pages
[90595.573345] 0 pages in swap cache
[90595.573349] Swap cache stats: add 0, delete 0, find 0/0
[90595.573351] Free swap  = 0kB
[90595.573354] Total swap = 0kB
[90595.630519] 2097136 pages RAM
[90595.630522] 58564 pages reserved
[90595.630525] 136144 pages shared
[90595.630527] 1983598 pages non-shared
[90595.630530] [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
[90595.630546] [  130]     0   130     6578      219      17        0         -1000 systemd-udevd
[90595.630554] [  133]     0   133    73117       81     139        0             0 systemd-journal
[90595.630566] [  344]     0   344     4950      115      13        0             0 bluetoothd
[90595.630572] [  346]    84   346     6990       78      18        0             0 avahi-daemon
[90595.630578] [  347]     0   347    15801      262      37        0             0 syslog-ng
[90595.630584] [  349]    84   349     6957       54      17        0             0 avahi-daemon
[90595.630590] [  351]     0   351     3302      137      12        0             0 crond
[90595.630596] [  372]     0   372    17493      259      37        0             0 cupsd
[90595.630602] [  379]     0   379     3798      151      12        0             0 smartd
[90595.630607] [  386]     0   386     6543       86      19        0             0 systemd-logind
[90595.630613] [  394]    81   394     4592      307      15        0          -900 dbus-daemon
[90595.630621] [  485]     0   485     2031       29      10        0             0 agetty
[90595.630626] [  496]     0   496     5594       55      16        0             0 kdm
[90595.630632] [  510]     0   510    52980      856      40        0             0 colord
[90595.630638] [  619]    89   619    99000     9633      53        0             0 mysqld
[90595.630644] [  621]     0   621    25954      284      51        0             0 smbd
[90595.630649] [  622]     0   622     4248       67      14        0             0 rpcbind
[90595.630655] [  626]    87   626     7821      140      18        0             0 ntpd
[90595.630661] [  627]    99   627   166006     1019      53        0             0 smbnetfs
[90595.630667] [  628]     0   628    25954      295      50        0             0 smbd
[90595.630672] [  630]     0   630    11313      126      24        0             0 netatalk
[90595.630678] [  631]     0   631    42642      213      45        0             0 afpd
[90595.630684] [  632]     0   632    10770      135      23        0             0 cnid_metad
[90595.630692] [  700]     0   700     5460      145      14        0             0 rpc.mountd
[90595.630698] [  725]  1000   725     3824       93      13        0             0 gpg-agent
[90595.630704] [  728]  1000   728     3162       79      10        0             0 ssh-agent
[90595.630711] [  755]     0   755    55267      265      43        0             0 upowerd
[90595.630716] [  758]   102   758    92425     2034      45        0             0 polkitd
[90595.630722] [  799]     0   799    48905     1302      33        0             0 udisks-daemon
[90595.630728] [  802]     0   802    11885       87      26        0             0 udisks-daemon
[90595.630734] [ 1335]     0  1335    86929      994      39        0             0 udisksd
[90595.630741] [11256]  1000 11256    71127     1366     127        0             0 kvm.kss
[90595.630747] [11536]  1000 11536     3162       81      10        0             0 ssh-agent
[90595.630755] [23743]     0 23743  1729973   833273    1766        0             0 X
[90595.630761] [23752]     0 23752    20300      156      46        0             0 kdm
[90595.630767] [23766]  1000 23766     3424      113      12        0             0 startkde
[90595.630773] [23782]  1000 23782     4495       57      14        0             0 dbus-launch
[90595.630779] [23783]  1000 23783     5097      605      16        0             0 dbus-daemon
[90595.630785] [23828]  1000 23828     3162       80      10        0             0 ssh-agent
[90595.630792] [23842]  1000 23842     1013       20       7        0          -300 start_kdeinit
[90595.630798] [23843]  1000 23843    94032     3877     155        0          -300 kdeinit4
[90595.630804] [23844]  1000 23844    95626     4337     139        0             0 klauncher
[90595.630810] [23846]  1000 23846   253723     5959     246        0             0 kded4
[90595.630817] [23850]  1000 23850    94334     1559     133        0             0 kactivitymanage
[90595.630823] [23855]  1000 23855   116905     4879     179        0             0 kglobalaccel
[90595.630829] [23858]  1000 23858     1047       18       8        0             0 kwrapper4
[90595.630835] [23859]  1000 23859   137438     4925     187        0             0 ksmserver
[90595.630841] [23861]  1000 23861   702816    10165     249        0             0 kwin_gles
[90595.630847] [23865]  1000 23865   200077     4268     227        0             0 knotify4
[90595.630853] [23868]  1000 23868  1088130    25387     341        0             0 plasma-desktop
[90595.630859] [23874]  1000 23874    38087      473      37        0             0 akonadi_control
[90595.630865] [23876]  1000 23876   505241     3598     103        0             0 akonadiserver
[90595.630871] [23878]  1000 23878   574985    24743     117        0             0 mysqld
[90595.630877] [23894]  1000 23894    69951     1263     126        0             0 kuiserver
[90595.630883] [23901]  1000 23901    60212      619      52        0             0 mission-control
[90595.630889] [23914]  1000 23914    46524      130      27        0             0 gvfsd
[90595.630895] [23918]  1000 23918    84651      169      35        0             0 gvfsd-fuse
[90595.630902] [23947]  1000 23947   113986     4340     138        0             0 nepomukserver
[90595.630908] [23950]  1000 23950   399006     3880     160        0             0 nepomukservices
[90595.630914] [23951]  1000 23951   360934    10686     284        0             0 krunner
[90595.630920] [23952]  1000 23952    42460      554      73        0             0 kwrited
[90595.630926] [23961]  1000 23961   155149    36357     100        0             0 virtuoso-t
[90595.630932] [23972]  1000 23972    77300     1183     108        0             0 akonadi_agent_l
[90595.630938] [23973]  1000 23973    77298     1172     110        0             0 akonadi_agent_l
[90595.630962] [23974]  1000 23974   130638     2426     233        0             0 akonadi_archive
[90595.630968] [23975]  1000 23975    75675     1161     107        0             0 akonadi_agent_l
[90595.630974] [23976]  1000 23976    83467     1884     153        0             0 akonadi_davgrou
[90595.630984] [23977]  1000 23977   140768     6502     159        0             0 akonadi_imap_re
[90595.630990] [23978]  1000 23978   141137     3122     163        0             0 akonadi_imap_re
[90595.630996] [23979]  1000 23979   140224     2189     163        0             0 akonadi_imap_re
[90595.631002] [23980]  1000 23980   140250     2219     162        0             0 akonadi_imap_re
[90595.631008] [23981]  1000 23981   135682     2267     155        0             0 akonadi_imap_re
[90595.631014] [23982]  1000 23982    77393     1304     115        0             0 akonadi_agent_l
[90595.631020] [23983]  1000 23983    85244     1429     152        0             0 akonadi_maildis
[90595.631026] [23984]  1000 23984   150708     2918     242        0             0 akonadi_mailfil
[90595.631032] [23985]  1000 23985    93652     1646     142        0             0 akonadi_nepomuk
[90595.631039] [24015]  1000 24015   118164     5056     184        0             0 kwalletd
[90595.631045] [24046]  1000 24046    71739     1232     127        0             0 nepomukcontroll
[90595.631051] [24048]  1000 24048   159756     5386     194        0             0 kmix
[90595.631057] [24050]  1000 24050   107757     3361     165        0             0 yakuake
[90595.631063] [24053]  1000 24053     4016      188      13        0             0 bash
[90595.631069] [24054]  1000 24054   522067    15559     303        0             0 kmail
[90595.631075] [24056]  1000 24056   140210     5712     193        0             0 konsole
[90595.631081] [24059]  1000 24059   164026    10049     210        0             0 dolphin
[90595.631087] [24060]  1000 24060   149429    28538     222        0             0 okular
[90595.631093] [24066]  1000 24066     4016      173      13        0             0 bash
[90595.631099] [24068]  1000 24068     4016      145      15        0             0 bash
[90595.631105] [24069]  1000 24069     4016      144      13        0             0 bash
[90595.631111] [24101]  1000 24101    71099     1288     129        0             0 kwalletmanager
[90595.631117] [24132]  1000 24132    72960     1114     100        0             0 nepomukservices
[90595.631123] [24133]  1000 24133    58987     1150     111        0             0 nepomukservices
[90595.631129] [24134]  1000 24134    93069     1227     104        0             0 nepomukservices
[90595.631135] [24135]  1000 24135   110639     1406     106        0             0 nepomukservices
[90595.631141] [24164]  1000 24164    94897     4341     137        0             0 kio_http_cache_
[90595.631147] [24188]  1000 24188   501236    12080     219        0             0 dropbox
[90595.631153] [24194]  1000 24194   112342     5736     211        0             0 python2
[90595.631159] [24196]  1000 24196   113369     1827     141        0             0 polkit-kde-auth
[90595.631165] [24197]  1000 24197   118809     4946     184        0             0 klipper
[90595.631171] [24286]  1000 24286   243067    72086     349        0             0 chromium
[90595.631177] [24289]  1000 24289    74768     1244     108        0             0 chromium
[90595.631183] [24290]  1000 24290     1588       20       9        0             0 chromium-sandbo
[90595.631189] [24292]  1000 24292    83952     1441     128        0             0 chromium
[90595.631195] [24297]  1000 24297    43036      332      71        0             0 nacl_helper_boo
[90595.631201] [24298]  1000 24298    88050     1446     107        0             0 chromium
[90595.631208] [24330]  1000 24330   100617     7256     156        0           200 chromium
[90595.631214] [24331]  1000 24331   241528    13028     235        0           300 CrRendererMain
[90595.631220] [24339]  1000 24339   235630     7569     188        0           300 CrRendererMain
[90595.631226] [24427]  1000 24427   249522    16199     192        0           300 CrRendererMain
[90595.631232] [24449]  1000 24449   236018     8275     170        0           300 CrRendererMain
[90595.631238] [24456]  1000 24456   261944    33831     241        0           300 CrRendererMain
[90595.631244] [24470]  1000 24470   244557    16989     195        0           300 CrRendererMain
[90595.631250] [24477]  1000 24477   235153     6332     163        0           300 CrRendererMain
[90595.631257] [24516]  1000 24516   247487    19645     198        0           300 CrRendererMain
[90595.631263] [24524]  1000 24524   233780     5534     160        0           300 CrRendererMain
[90595.631270] [24531]  1000 24531   235357     6770     162        0           300 CrRendererMain
[90595.631275] [24539]  1000 24539   231269     2816     153        0           300 CrRendererMain
[90595.631282] [24546]  1000 24546   233780     5587     161        0           300 CrRendererMain
[90595.631288] [24571]  1000 24571   206429    26972     318        0           100 chromium
[90595.631294] [24600]  1000 24600   240853    11596     227        0           300 CrRendererMain
[90595.631300] [24607]  1000 24607   233780     5610     161        0           300 CrRendererMain
[90595.631306] [24614]  1000 24614   233342     5046     159        0           300 CrRendererMain
[90595.631312] [24621]  1000 24621   233516     5515     160        0           300 CrRendererMain
[90595.631318] [24628]  1000 24628   247850    20652     212        0           300 CrRendererMain
[90595.631324] [24645]  1000 24645   239585    10088     178        0           300 CrRendererMain
[90595.631330] [24660]  1000 24660   234943     6678     164        0           300 CrRendererMain
[90595.631336] [24676]  1000 24676   231269     2788     152        0           300 CrRendererMain
[90595.631342] [24687]  1000 24687   234767     6433     163        0           300 CrRendererMain
[90595.631349] [24985]  1000 24985     3423      102      12        0             0 spotify
[90595.631355] [24986]  1000 24986   403477    39715     418        0             0 spotify
[90595.631361] [25262]  1000 25262    66356      160      31        0             0 at-spi-bus-laun
[90595.631367] [25316]  1000 25316    71840      826      41        0             0 telepathy-logge
[90595.631373] [25762]  1000 25762   245974    14682     197        0           300 CrRendererMain
[90595.631380] [26697]  1000 26697     4016      173      13        0             0 bash
[90595.631386] [26704]     0 26704   523371      295      61        0             0 console-kit-dae
[90595.631392] [30603]  1000 30603   159562     7909     201        0             0 dolphin
[90595.631399] [  448]  1000   448   258442    24018     224        0           300 CrRendererMain
[90595.631405] [  607]  1000   607   249132    20239     208        0           300 CrRendererMain
[90595.631412] [ 1704]  1000  1704   242202    13900     185        0           300 CrRendererMain
[90595.631420] [ 2144]    99  2144   168210     1086      60        0             0 smbnetfs
[90595.631426] [ 2188]     0  2188     9170      214      23        0             0 crond
[90595.631433] [ 2195]     0  2195     2063       80      10        0             0 anacron
[90595.631438] [ 2211]     0  2211     2852       80      10        0             0 sadc
[90595.631446] [ 2265]  1000  2265    58071     1673     114        0             0 telepathy-haze
[90595.631452] [ 2267]  1000  2267    98377      835      60        0             0 telepathy-gabbl
[90595.631458] [ 2280]  1000  2280   497141   100140     451        0           100 chromium
[90595.631464] [ 2299]  1000  2299   239759    10516     178        0           300 CrRendererMain
[90595.631469] [ 2666]  1000  2666   118396     4444     149        0             0 kio_http
[90595.631475] [ 2667]  1000  2667   118396     4444     149        0             0 kio_http
[90595.631481] [ 2672]    99  2672   167176     1130      57        0             0 smbnetfs
[90595.631487] [ 2674]    99  2674   168210     1111      60        0             0 smbnetfs
[90595.631492] Out of memory: Kill process 23743 (X) score 378 or sacrifice child
[90595.631499] Killed process 23743 (X) total-vm:6919892kB, anon-rss:3264748kB, file-rss:68344kB

Last edited by boast (2012-11-28 16:06:53)


Asus M4A785TD-V ;; Phenom II X4 @ 3.9GHz ;; Ripjaws 12GB DDR3-1600 ;; 128GB Samsung 830 ;; MSI GTX460 v2 w/ blob ;; Arch Linux + KDE 4.x

Offline

#2 2012-11-29 04:20:59

boast
Member
Registered: 2010-09-28
Posts: 219

Re: X org crashing with out of memory

I don't think its just memory thats exploding to about 3gb. Scrolling chrome jumps X to about 90% cpu usage


Asus M4A785TD-V ;; Phenom II X4 @ 3.9GHz ;; Ripjaws 12GB DDR3-1600 ;; 128GB Samsung 830 ;; MSI GTX460 v2 w/ blob ;; Arch Linux + KDE 4.x

Offline

#3 2012-11-29 06:22:41

Max-P
Member
Registered: 2011-06-11
Posts: 164

Re: X org crashing with out of memory

According to this log, process "dropbox" triggers oom-killer, which has the effect of killing X because it's the most memory-hungry process (833 Mb, I think).

Does it stop if you stop dropbox?

Do you have a swap partition?

Offline

#4 2012-11-29 06:29:09

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,785

Re: X org crashing with out of memory

Are you, by chance, running testing? 
On Intel, I had some similar (but not exact) problems crop up recently.  Turning off testing helped.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2012-11-29 21:55:20

boast
Member
Registered: 2010-09-28
Posts: 219

Re: X org crashing with out of memory

Max-P wrote:

According to this log, process "dropbox" triggers oom-killer, which has the effect of killing X because it's the most memory-hungry process (833 Mb, I think).

Does it stop if you stop dropbox?

No. But even now X org averages almost 2gb and eventually goes up to 3gb.

Do you have a swap partition?

no

ewaller wrote:

Are you, by chance, running testing? 
On Intel, I had some similar (but not exact) problems crop up recently.  Turning off testing helped.

Nah, no testing.


It feels like a bug, but it seems like I'm only the one. Not sure what could of changed.


Asus M4A785TD-V ;; Phenom II X4 @ 3.9GHz ;; Ripjaws 12GB DDR3-1600 ;; 128GB Samsung 830 ;; MSI GTX460 v2 w/ blob ;; Arch Linux + KDE 4.x

Offline

#6 2012-11-29 21:59:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,525
Website

Re: X org crashing with out of memory

Start eliminating processes, or start at a basic twm x session and start adding things back until you find the culprit.

Last edited by Trilby (2012-11-29 22:00:32)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2012-11-30 22:08:47

boast
Member
Registered: 2010-09-28
Posts: 219

Re: X org crashing with out of memory

Hmm. I logged in with razor-qt and it still bloated up. I logged with twm and it didn't. Then I launched plasma-desktop within twm and X was still fine.

The only variable I can tell seems to be kwin. I'll assume thats it.


Asus M4A785TD-V ;; Phenom II X4 @ 3.9GHz ;; Ripjaws 12GB DDR3-1600 ;; 128GB Samsung 830 ;; MSI GTX460 v2 w/ blob ;; Arch Linux + KDE 4.x

Offline

Board footer

Powered by FluxBB