[Kde-mobile-users] Re: Maemo/N900: KMail Touch very slow and unresponsive

Rolf Eike Beer kde at opensource.sf-tec.de
Mon Feb 28 08:07:49 CET 2011


Am Sonntag 27 Februar 2011, 11:44:53 schrieb Bernhard Reiter:
> Am Montag, 21. Februar 2011 09:57:21 schrieb Bernhard Reiter:
> > I believe that you and others like Eike and Jan-Oliver suffer
> > from a situation where the setup is not tuned enough for the size
> > of the account.
> 
> We have just discussed this during the 9th KDEPIM dev meeting in Osnabrück:
> 
> If you happen to have a situation again where the phone or Kontact Touch
> is slow or unsrepsonsive, you can help us by starting "top" or "htop"
> on the command line and help to identify:
> 
> a) Is this a memory issue or a cpu issue?
> b) Which process is causing it?
> 
> Notes: By default top and htop will be sorted by current cpu usage
> you can press M in top and htop to sort by memory usage. Look for the
> processes listed on the top. Do not believe the absolute memory numbers,
> but the relative one. Tell us the first three applications listed there.
> 
> It is a memory situation if you see a large swap file used.

I tried to reproduce this. I started KMail yesterday and waited. For the first 
few hours everything went smooth. I charged my N900 yesterday and disconnected 
it (fully charged) from the power adapter around 23:00. At this time the 
device was working normal.

This morning around 7:00 I tried to use it again. It reconnected to my IRC 
account around this time. I know because it makes a certain sound when doing 
this. This sound was heavily disorted with gaps of like one seconds in 
between. I could get the screen on by flipping the keyboard out, but the 
screensaver button did not seem to work. It took me like 20 minutes to get to 
the application switch view. Using the keyboard shortcut didn't help. I 
ultimatively managed to do this by flipping the lens open and waiting for some 
minutes.

When I came back I was in the app switch view and the device was working 
normally again. dmesg shows this:

[41887.914245] maemo-xinput-so invoked oom-killer: gfp_mask=0x44d0, order=2, 
oomkilladj=0
[41887.914306] [<c003039c>] (dump_stack+0x0/0x14) from [<c008f2b0>] 
(oom_kill_process+0x5c/0x1f0)
[41887.914367] [<c008f254>] (oom_kill_process+0x0/0x1f0) from [<c008f89c>] 
(out_of_memory+0x11c/0x184)
[41887.914398] [<c008f780>] (out_of_memory+0x0/0x184) from [<c009221c>] 
(__alloc_pages_internal+0x2ec/0x39c)
[41887.914459]  r5:000044d0 r4:00000000
[41887.914459] [<c0091f30>] (__alloc_pages_internal+0x0/0x39c) from 
[<c00922ec>] (__get_free_pages+0x20/0x54)
[41887.914520] [<c00922cc>] (__get_free_pages+0x0/0x54) from [<c00b5848>] 
(__kmalloc_track_caller+0x40/0xcc)
[41887.914550] [<c00b5808>] (__kmalloc_track_caller+0x0/0xcc) from 
[<c02126e0>] (__alloc_skb+0x54/0x11c)
[41887.914611]  r8:c020dd84 r7:c0354128 r6:00002dc0 r5:000004d0 r4:cca9c840
[41887.914642] [<c021268c>] (__alloc_skb+0x0/0x11c) from [<c020dd84>] 
(sock_alloc_send_skb+0xa4/0x248)
[41887.914703] [<c020dce0>] (sock_alloc_send_skb+0x0/0x248) from [<c027307c>] 
(unix_stream_sendmsg+0x14c/0x31c)
[41887.914733] [<c0272f30>] (unix_stream_sendmsg+0x0/0x31c) from [<c020b438>] 
(sock_sendmsg+0xb0/0xd0)
[41887.914764] [<c020b388>] (sock_sendmsg+0x0/0xd0) from [<c020b50c>] 
(sys_sendto+0xb4/0xd8)
[41887.914794]  r7:00002da0 r6:40a005a0 r5:00004040 r4:ceea6180
[41887.914825] [<c020b458>] (sys_sendto+0x0/0xd8) from [<c020b550>] 
(sys_send+0x20/0x28)
[41887.914855] [<c020b530>] (sys_send+0x0/0x28) from [<c002c920>] 
(ret_fast_syscall+0x0/0x2c)
[41887.914916] Mem-info:
[41887.914916] Normal per-cpu:
[41887.914947] CPU    0: hi:   90, btch:  15 usd:   0
[41887.914978] Active_anon:1387 active_file:76 inactive_anon:1421
[41887.915008]  inactive_file:8 unevictable:35371 dirty:0 writeback:1260 
unstable:0
[41887.915008]  free:9412 slab:3301 mapped:34546 pagetables:1781 bounce:0
[41887.915039] Normal free:37648kB min:2036kB low:2544kB high:3052kB 
active_anon:5548kB inactive_anon:5684kB active_file:304kB inactive_file:32kB 
unevictable:141484kB present:260096kB pages_scanned:0 all_unreclaimable? no
[41887.915069] lowmem_reserve[]: 0 0
[41887.915100] Normal: 4500*4kB 2398*8kB 21*16kB 2*32kB 1*64kB 0*128kB 0*256kB 
0*512kB 0*1024kB 0*2048kB 0*4096kB = 37648kB
[41887.915161] 37376 total pagecache pages
[41887.915161] 2810 pages in swap cache
[41887.915161] Swap cache stats: add 3735944, delete 3733134, find 
177492/404294
[41887.915191] Free swap  = 481880kB
[41887.915191] Total swap = 786424kB
[41887.926177] 65536 pages of RAM
[41887.926208] 10110 free pages
[41887.926208] 4280 reserved pages
[41887.926239] 3109 slab pages
[41887.926239] 76006 pages shared
[41887.926239] 2810 pages swap cached
[41887.926269] Out of memory: kill process 3543 (browserd) score 157581312 or 
a child
[41887.926483] Killed process 3543 (browserd)
[41900.905395] kb_lock (GPIO 113) is now closed
[41901.093078] kb_lock (GPIO 113) is now open
[41948.514770] cam_focus (GPIO 68) is now active
[41949.132019] cam_launch (GPIO 69) is now active
[41949.350799] cam_launch (GPIO 69) is now inactive
[41949.553985] cam_focus (GPIO 68) is now inactive
[41951.905426] cam_shutter (GPIO 110) is now open
[42006.461486] camera-ui invoked oom-killer: gfp_mask=0x44d0, order=2, 
oomkilladj=0
[42006.461517] [<c003039c>] (dump_stack+0x0/0x14) from [<c008f2b0>] 
(oom_kill_process+0x5c/0x1f0)
[42006.461578] [<c008f254>] (oom_kill_process+0x0/0x1f0) from [<c008f89c>] 
(out_of_memory+0x11c/0x184)
[42006.461639] [<c008f780>] (out_of_memory+0x0/0x184) from [<c009221c>] 
(__alloc_pages_internal+0x2ec/0x39c)
[42006.461669]  r5:000044d0 r4:00000000
[42006.461700] [<c0091f30>] (__alloc_pages_internal+0x0/0x39c) from 
[<c00922ec>] (__get_free_pages+0x20/0x54)
[42006.461730] [<c00922cc>] (__get_free_pages+0x0/0x54) from [<c00b5848>] 
(__kmalloc_track_caller+0x40/0xcc)
[42006.461761] [<c00b5808>] (__kmalloc_track_caller+0x0/0xcc) from 
[<c02126e0>] (__alloc_skb+0x54/0x11c)
[42006.461822]  r8:c020dd84 r7:c0354128 r6:00001fc0 r5:000004d0 r4:c91fc180
[42006.461853] [<c021268c>] (__alloc_skb+0x0/0x11c) from [<c020dd84>] 
(sock_alloc_send_skb+0xa4/0x248)
[42006.461883] [<c020dce0>] (sock_alloc_send_skb+0x0/0x248) from [<c027307c>] 
(unix_stream_sendmsg+0x14c/0x31c)
[42006.461944] [<c0272f30>] (unix_stream_sendmsg+0x0/0x31c) from [<c020adc0>] 
(sock_aio_write+0xd4/0xdc)
[42006.461975] [<c020acec>] (sock_aio_write+0x0/0xdc) from [<c00b9004>] 
(do_sync_readv_writev+0xb0/0x100)
[42006.462005]  r7:00000002 r6:cde2de18 r5:00000000 r4:00000000
[42006.462036] [<c00b8f54>] (do_sync_readv_writev+0x0/0x100) from [<c00b9750>] 
(do_readv_writev+0xb4/0x1b8)
[42006.462097] [<c00b969c>] (do_readv_writev+0x0/0x1b8) from [<c00b98c0>] 
(vfs_writev+0x6c/0x7c)
[42006.462127] [<c00b9854>] (vfs_writev+0x0/0x7c) from [<c00b9d60>] 
(sys_writev+0x44/0x70)
[42006.462158]  r4:00000000
[42006.462188] [<c00b9d1c>] (sys_writev+0x0/0x70) from [<c002c920>] 
(ret_fast_syscall+0x0/0x2c)
[42006.462219]  r8:c002caa4 r7:00000092 r6:be8fe510 r5:00000008 r4:00000002
[42006.462249] Mem-info:
[42006.462249] Normal per-cpu:
[42006.462280] CPU    0: hi:   90, btch:  15 usd:   0
[42006.462310] Active_anon:2630 active_file:6 inactive_anon:2832
[42006.462310]  inactive_file:102 unevictable:35371 dirty:0 writeback:2697 
unstable:0
[42006.462310]  free:6728 slab:3355 mapped:34648 pagetables:1747 bounce:0
[42006.462341] Normal free:26912kB min:2036kB low:2544kB high:3052kB 
active_anon:10520kB inactive_anon:11328kB active_file:24kB inactive_file:408kB 
unevictable:141484kB present:260096kB pages_scanned:0 all_unreclaimable? no
[42006.462402] lowmem_reserve[]: 0 0
[42006.462402] Normal: 3408*4kB 1630*8kB 7*16kB 2*32kB 1*64kB 0*128kB 0*256kB 
0*512kB 0*1024kB 0*2048kB 0*4096kB = 26912kB
[42006.462463] 39971 total pagecache pages
[42006.462493] 5302 pages in swap cache
[42006.462493] Swap cache stats: add 3817945, delete 3812643, find 
181897/415481
[42006.462524] Free swap  = 486596kB
[42006.462524] Total swap = 786424kB
[42006.473510] 65536 pages of RAM
[42006.473541] 7419 free pages
[42006.473571] 4280 reserved pages
[42006.473571] 3164 slab pages
[42006.473571] 75672 pages shared
[42006.473602] 5302 pages swap cached
[42006.473602] Out of memory: kill process 1508 (browserd) score 143491072 or 
a child
[42006.473815] Killed process 1508 (browserd)
[42036.054565] browserd invoked oom-killer: gfp_mask=0xd0, order=2, 
oomkilladj=-17
[42036.054595] [<c003039c>] (dump_stack+0x0/0x14) from [<c008f2b0>] 
(oom_kill_process+0x5c/0x1f0)
[42036.054656] [<c008f254>] (oom_kill_process+0x0/0x1f0) from [<c008f89c>] 
(out_of_memory+0x11c/0x184)
[42036.054718] [<c008f780>] (out_of_memory+0x0/0x184) from [<c009221c>] 
(__alloc_pages_internal+0x2ec/0x39c)
[42036.054748]  r5:000000d0 r4:00000000
[42036.054748] [<c0091f30>] (__alloc_pages_internal+0x0/0x39c) from 
[<c00922ec>] (__get_free_pages+0x20/0x54)
[42036.054809] [<c00922cc>] (__get_free_pages+0x0/0x54) from [<c0032a10>] 
(get_pgd_slow+0x1c/0xe8)
[42036.054840] [<c00329f4>] (get_pgd_slow+0x0/0xe8) from [<c0054608>] 
(mm_init+0xbc/0xf4)
[42036.054901]  r9:c529c000 r8:ccb93d00 r7:be8936e0 r6:c8b98000 r5:00000000
[42036.054931] r4:cc83ec00
[42036.054931] [<c005454c>] (mm_init+0x0/0xf4) from [<c0055bfc>] 
(mm_alloc+0x44/0x54)
[42036.054962]  r5:00000000 r4:cc83ec00
[42036.054992] [<c0055bb8>] (mm_alloc+0x0/0x54) from [<c00be37c>] 
(bprm_mm_init+0x14/0x150)
[42036.055023]  r5:00000000 r4:ccb93d00
[42036.055053] [<c00be368>] (bprm_mm_init+0x0/0x150) from [<c00bfac0>] 
(do_execve+0x70/0x1f0)
[42036.055084] [<c00bfa50>] (do_execve+0x0/0x1f0) from [<c002f898>] 
(sys_execve+0x3c/0x5c)
[42036.055114] [<c002f85c>] (sys_execve+0x0/0x5c) from [<c002c920>] 
(ret_fast_syscall+0x0/0x2c)
[42036.055145]  r7:0000000b r6:00000000 r5:00016140 r4:be892e80
[42036.055175] Mem-info:
[42036.055175] Normal per-cpu:
[42036.055206] CPU    0: hi:   90, btch:  15 usd:   0
[42036.055236] Active_anon:2621 active_file:2 inactive_anon:2641
[42036.055236]  inactive_file:130 unevictable:35371 dirty:0 writeback:2538 
unstable:0
[42036.055236]  free:6970 slab:3346 mapped:34672 pagetables:1707 bounce:0
[42036.055267] Normal free:27880kB min:2036kB low:2544kB high:3052kB 
active_anon:10484kB inactive_anon:10564kB active_file:8kB inactive_file:520kB 
unevictable:141484kB present:260096kB pages_scanned:0 all_unreclaimable? no
[42036.055297] lowmem_reserve[]: 0 0
[42036.055328] Normal: 3172*4kB 1841*8kB 21*16kB 2*32kB 1*64kB 0*128kB 0*256kB 
0*512kB 0*1024kB 0*2048kB 0*4096kB = 27880kB
[42036.055389] 39800 total pagecache pages
[42036.055389] 5109 pages in swap cache
[42036.055419] Swap cache stats: add 3836878, delete 3831769, find 
182648/417601
[42036.055419] Free swap  = 494400kB
[42036.055450] Total swap = 786424kB
[42036.066375] 65536 pages of RAM
[42036.066375] 7653 free pages
[42036.066406] 4280 reserved pages
[42036.066406] 3154 slab pages
[42036.066406] 75166 pages shared
[42036.066436] 5109 pages swap cached
[42036.066436] Out of memory: kill process 1397 (hildon-thumbnai) score 
31916032 or a child
[42036.066650] Killed process 1397 (hildon-thumbnai)
[42041.390655] browserd invoked oom-killer: gfp_mask=0xd0, order=2, 
oomkilladj=-17
[42041.390686] [<c003039c>] (dump_stack+0x0/0x14) from [<c008f2b0>] 
(oom_kill_process+0x5c/0x1f0)
[42041.390747] [<c008f254>] (oom_kill_process+0x0/0x1f0) from [<c008f89c>] 
(out_of_memory+0x11c/0x184)
[42041.390777] [<c008f780>] (out_of_memory+0x0/0x184) from [<c009221c>] 
(__alloc_pages_internal+0x2ec/0x39c)
[42041.390838]  r5:000000d0 r4:00000000
[42041.390838] [<c0091f30>] (__alloc_pages_internal+0x0/0x39c) from 
[<c00922ec>] (__get_free_pages+0x20/0x54)
[42041.390899] [<c00922cc>] (__get_free_pages+0x0/0x54) from [<c0032a10>] 
(get_pgd_slow+0x1c/0xe8)
[42041.390930] [<c00329f4>] (get_pgd_slow+0x0/0xe8) from [<c0054608>] 
(mm_init+0xbc/0xf4)
[42041.390960]  r9:c529c000 r8:ccb93d00 r7:be8936e0 r6:c8b98000 r5:00000000
[42041.390991] r4:cc83ec00
[42041.391021] [<c005454c>] (mm_init+0x0/0xf4) from [<c0055bfc>] 
(mm_alloc+0x44/0x54)
[42041.391052]  r5:00000000 r4:cc83ec00
[42041.391082] [<c0055bb8>] (mm_alloc+0x0/0x54) from [<c00be37c>] 
(bprm_mm_init+0x14/0x150)
[42041.391113]  r5:00000000 r4:ccb93d00
[42041.391113] [<c00be368>] (bprm_mm_init+0x0/0x150) from [<c00bfac0>] 
(do_execve+0x70/0x1f0)
[42041.391143] [<c00bfa50>] (do_execve+0x0/0x1f0) from [<c002f898>] 
(sys_execve+0x3c/0x5c)
[42041.391204] [<c002f85c>] (sys_execve+0x0/0x5c) from [<c002c920>] 
(ret_fast_syscall+0x0/0x2c)
[42041.391235]  r7:0000000b r6:00000000 r5:00016140 r4:be892e80
[42041.391265] Mem-info:
[42041.391265] Normal per-cpu:
[42041.391265] CPU    0: hi:   90, btch:  15 usd:   0
[42041.391296] Active_anon:2433 active_file:4 inactive_anon:2504
[42041.391326]  inactive_file:28 unevictable:35371 dirty:0 writeback:2435 
unstable:0
[42041.391326]  free:7420 slab:3340 mapped:34572 pagetables:1696 bounce:0
[42041.391357] Normal free:29680kB min:2036kB low:2544kB high:3052kB 
active_anon:9732kB inactive_anon:10016kB active_file:16kB inactive_file:112kB 
unevictable:141484kB present:260096kB pages_scanned:0 all_unreclaimable? no
[42041.391387] lowmem_reserve[]: 0 0
[42041.391418] Normal: 3574*4kB 1859*8kB 24*16kB 2*32kB 1*64kB 0*128kB 0*256kB 
0*512kB 0*1024kB 0*2048kB 0*4096kB = 29680kB
[42041.391448] 39407 total pagecache pages
[42041.391479] 4816 pages in swap cache
[42041.391479] Swap cache stats: add 3840222, delete 3835406, find 
182783/417946
[42041.391510] Free swap  = 495368kB
[42041.391510] Total swap = 786424kB
[42041.402465] 65536 pages of RAM
[42041.402496] 8096 free pages
[42041.402496] 4280 reserved pages
[42041.402526] 3149 slab pages
[42041.402526] 74633 pages shared
[42041.402526] 4816 pages swap cached
[42041.402557] Out of memory: kill process 4286 (akonadi_control) score 
1501828 or a child
[42041.402770] Killed process 4288 (akonadiserver)

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-mobile-users/attachments/20110228/9181878a/attachment.sig 


More information about the Kde-mobile-users mailing list