ok, I find a way to do it :

I have modified  /etc/init.d/sogo by adding a line at the begining:
---
ulimit -n 65536
---

before :
#cat /proc/sogodPID/limits| grep 'Max open files'
Max open files            1024 4096                 files

and now :
#cat /proc/sogodPID/limits| grep 'Max open files'
Max open files            65536 65536                files

I don't get the same problem but now I reach the VMem limit :
sogo.log :
---
Apr 04 22:19:03 sogod [4867]: |SOGo| terminating app, vMem size limit (384 MB) has been reached (currently 2420 MB) Apr 04 22:19:03 sogod [4808]: <0x0x7f6a42d78da0[WOWatchDogChild]> child 4867 exited Apr 04 22:19:03 sogod [4808]: <0x0x7f6a42da2e10[WOWatchDog]> child spawned with pid 5208
---

I will try to raise the memory limit monday !

Regards

*Philippe Brangier *
Administrateur systèmes et réseaux
Ilex

51, boulevard Voltaire
92600 Asnières-sur-Seine
*[email protected] <mailto:[email protected]>*
Tél // +33 (0)1 46 88 03 40
Fax // +33 (0)1 46 88 03 41
http://www.ilex.fr/

Le 04/04/2014 20:30, Philippe Brangier a écrit :
I can compile SOGo if needed, but I don't do that since a long time and I need some time to be able to do that again (not before monday, it's 20:09 in france).

How can I increase the sogod limit ?  I  use a modified ZEG sogo.

did I have to modify /etc/security/limits.conf with something like that  :
---
sogo       hard    nproc           65535
sogo       soft    nproc           65535
---

FYI :
# cat /proc/sys/fs/file-max
 398874

# ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 31549
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 31549
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

Regards

*Philippe Brangier *
Administrateur systèmes et réseaux
Ilex

51, boulevard Voltaire
92600 Asnières-sur-Seine
*[email protected] <mailto:[email protected]>*
Tél // +33 (0)1 46 88 03 40
Fax // +33 (0)1 46 88 03 41
http://www.ilex.fr/

Le 04/04/2014 19:55, Ludovic Marcotte a écrit :
On 2014-04-04, 12:36 PM, Philippe Brangier wrote:
It work well with an almost empty, new mailbox (~10 messages and a few events ), but when I try it on a real Mailbox (thousand messages, some folders and hundreds events), the folder names sync pretty well ('other user' folders lacks the last character name ex: "Autres utilisateurs/postmaster" appear as "Autres utilisateurs/postmaste") but no message or event sync at all.
From the error below, my guess is that Outlook asks for a huge chuck of mails and you run out of file descriptor for the sogod process.

Are you in a position to test a patch? (ie., can compile SOGo/SOPE yourself).

You could also increase the limit sogod has and retest.



--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to