Hello,
We are hoping to support several thousand push email users using sogo. I am trying to push the worker count higher. Currently I am not testing any clients yet, just trying to get sogo to start with a large number of worker processes and sit idle. At 400 processes, they take 27MB (RES) each and consume no CPU (with no clients connected). That's 10GB RAM used out of 80GB total. Everything is great. Somewhere above 400, there is a problem. If I run 600, they keep growing and all keep consuming CPU. The log looks clean to me, all processes print "notified the watchdog that we are ready" and then no more messages. I set all debug options to yes in the conf file and still nothing. Zero messages in mysql error log. Load average goes above 300 and within 1min all memory and swap are consumed and the server becomes unresponsive.

Is there any way to turn on more debugging?  Any other suggestions?

What average memory usage per worker I should budget for ? (27MB < ? < 325MB)

Saw this mesage once only " *** stack smashing detected ***: /usr/sbin/sogod terminated"

Thanks,
Greg

ulimit -Sn 65000
start-stop-daemon -c sogo --start -pid /var/run/sogo/sogo.pid --exec /usr/sbin/sogod -- -WOWorkersCount 600 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo-crash4.log

top

top - 21:31:24 up  1:33,  1 user,  load average: 306.05, 80.65, 27.34
Tasks: 917 total, 601 running, 316 sleeping,   0 stopped,   0 zombie
%Cpu(s): 7.6 us, 92.2 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st
KiB Mem : 82492592 total,  7448204 free, 74073376 used,   971004 buff/cache
KiB Swap:  7811068 total,  7811068 free,        0 used.  7730608 avail Mem

 8883 sogo      20   0  294848  27812  13944 S   2.5  0.0 0:00.08 sogod
6793 root 20 0 0 0 0 S 2.5 0.0 0:03.00 kworker/u8:1
 8448 sogo      20   0 2392124 126608  14008 R   1.6  0.2 0:00.35 sogod
 8467 sogo      20   0 2392124 126604  14008 R   1.6  0.2 0:00.34 sogod
878 root 20 0 0 0 0 S 1.4 0.0 0:05.96 jbd2/dm-5-8
 8858 sogo      20   0 2392088 132764  14008 R   1.4  0.2 0:00.38 sogod
 8500 sogo      20   0 2392124 136844  14008 R   1.1  0.2 0:00.32 sogod
 8633 sogo      20   0 2392128 142992  14008 R   1.1  0.2 0:00.33 sogod
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to