Seems like a very related problem to the one Christian Mack soved for
me, there are some ActiveSync pointers in there too

https://lists.inverse.ca/sogo/arc/users/2015-09/msg00196.html

Dne 4.11.2015 v 15:28 Hubert Gilch napsal(a):
> Hi,
> 
> i have some sogod processes eating very much memory. I suspect those are
> Active Sync processes trying to initially sync to Outlook 2013 (and
> failing), specifically with large mailboxes. One for instance is about
> 5GB. On mobile phones, Active sync works, perhaps because they sync only
> the last few weeks of mail and not everything.
> Even with only 2 Outlook Active Sync users there are four sogod
> processes using more than 1 GB of memory:
> 
> top - 15:15:28 up  1:39,  2 users,  load average: 0.96, 1.04, 1.20
> Tasks: 317 total,   3 running, 314 sleeping,   0 stopped, 0 zombie
> %Cpu(s):  7.6 us, 15.2 sy,  0.0 ni, 75.2 id,  1.9 wa,  0.0 hi,  0.0 si, 
> 0.1 st
> KiB Mem:  27431536 total, 27272844 used,   158692 free, 14188 buffers
> KiB Swap:  1046524 total,   441524 used,   605000 free. 2637840 cached Mem
> 
>   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
>  4837 sogo      20   0 11.629g 9.267g   9976 R  57.8 35.4 5:48.16 sogod
>  6350 sogo      20   0 7885520 5.797g   3748 S   9.0 22.2 4:48.54 sogod
>  6700 sogo      20   0 6129028 4.535g  21888 R 100.0 17.3 2:38.61 sogod
>  6348 sogo      20   0 3712224 2.567g   3820 S   8.0  9.8 1:28.07 sogod
>  1854 sogo      20   0  436792  82700   2040 S   0.0  0.3 0:01.95 sogod
>  1786 sogo      20   0  389036  56828   3464 S   0.0  0.2 0:01.16 sogod
>  1789 sogo      20   0  382412  52232   4132 S   0.0  0.2 0:01.15 sogod
>  4313 sogo      20   0  382044  48380   3548 S   0.0  0.2 0:02.24 sogod
>  5659 sogo      20   0  380736  50240   2376 S   0.0  0.2 0:00.92 sogod
>  1799 sogo      20   0  380520  52476   4152 S   0.0  0.2 0:05.36 sogod
>  1800 sogo      20   0  380112  52136   4360 S   0.3  0.2 0:03.12 sogod
> [ ... ]
> 
> When the kernel runs out of memory, sogod processes get killed:
> 
> root@sogo:/var/log# grep memory syslog|tail -n 20
> Nov  4 13:36:23 sogo kernel: [    0.016680] Initializing cgroup subsys
> memory
> Nov  4 13:36:23 sogo kernel: [    0.208078] Freeing initrd memory:
> 50924K (ffff880002404000 - ffff8800055bf000)
> Nov  4 13:36:23 sogo kernel: [    0.208688] Scanning for low memory
> corruption every 60 seconds
> Nov  4 13:36:23 sogo kernel: [    1.319371] Freeing unused kernel
> memory: 1336K (ffffffff81d20000 - ffffffff81e6e000)
> Nov  4 13:36:23 sogo kernel: [    1.322504] Freeing unused kernel
> memory: 784K (ffff88000173c000 - ffff880001800000)
> Nov  4 13:36:23 sogo kernel: [    1.322805] Freeing unused kernel
> memory: 680K (ffff880001b56000 - ffff880001c00000)
> Nov  4 14:08:08 sogo kernel: [ 1908.886756] [<ffffffff81153654>]
> out_of_memory+0x414/0x450
> Nov  4 14:08:08 sogo kernel: [ 1908.887156] Out of memory: Kill process
> 1867 (sogod) score 292 or sacrifice child
> Nov  4 14:17:09 sogo kernel: [ 2448.420769] [<ffffffff81153654>]
> out_of_memory+0x414/0x450
> Nov  4 14:17:09 sogo kernel: [ 2448.421149] Out of memory: Kill process
> 1875 (sogod) score 389 or sacrifice child
> Nov  4 14:25:45 sogo kernel: [ 2965.605540] [<ffffffff81153654>]
> out_of_memory+0x414/0x450
> Nov  4 14:25:45 sogo kernel: [ 2965.605978] Out of memory: Kill process
> 1783 (sogod) score 384 or sacrifice child
> Nov  4 14:41:22 sogo kernel: [ 3899.622133] [<ffffffff81153654>]
> out_of_memory+0x414/0x450
> Nov  4 14:41:22 sogo kernel: [ 3899.622584] Out of memory: Kill process
> 1806 (sogod) score 344 or sacrifice child
> Nov  4 14:49:08 sogo kernel: [ 4367.114391] [<ffffffff81153654>]
> out_of_memory+0x414/0x450
> Nov  4 14:49:08 sogo kernel: [ 4367.114815] Out of memory: Kill process
> 1787 (sogod) score 373 or sacrifice child
> Nov  4 15:01:02 sogo kernel: [ 5082.782386] [<ffffffff81153654>]
> out_of_memory+0x414/0x450
> Nov  4 15:01:02 sogo kernel: [ 5082.782763] Out of memory: Kill process
> 1861 (sogod) score 404 or sacrifice child
> Nov  4 15:09:19 sogo kernel: [ 5579.656254] [<ffffffff81153654>]
> out_of_memory+0x414/0x450
> Nov  4 15:09:19 sogo kernel: [ 5579.656905] Out of memory: Kill process
> 1781 (sogod) score 376 or sacrifice child
> 
> Does anybody know how to configure sogo that Active Sync with Outlook
> 2013 works with large mailboxes (small mailboxes work)?
> 
> sogo 2.3.2, cyrus 2.4.17 on Ubuntu 14.04
> 
> Thank you.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to