RE: [SOGo] Outlook 2013 causes sogod to consume all RAM and CPU cycles on exit/startup when synching adress book

2014-12-13 Thread f-sogo

And with the sope debug symbols...


#28547 0x7f64d088d13c in -[NSAutoreleasePool init] (self=0x7f64d615b940, 
_cmd=optimized out) at NSAutoreleasePool.m:334
#28548 0x7f64d08ed8b3 in _NSFoundationUncaughtExceptionHandler 
(exception=0x7f64d615b4f0) at NSException.m:762
#28549 callUncaughtHandler (value=0x7f64d615b4f0) at NSException.m:795
#28550 0x7f64d02c57e8 in objc_exception_throw 
(exception=exception@entry=0x7f64d615b4f0)
at /home/packages/gcc/4.7/w/gcc-4.7-4.7.2/src/libobjc/exception.c:516
#28551 0x7f64d08ed696 in -[NSException raise] (self=0x7f64d615b4f0, 
_cmd=optimized out) at NSException.m:963
#28552 0x7f64d08edae1 in +[NSException raise:format:] (self=0x7f64d0d9e9e0, 
_cmd=optimized out, name=0x7f64d0d9ec20, format=0x7f64d0d78a90)
at NSException.m:835
#28553 0x7f64d088d13c in -[NSAutoreleasePool init] (self=0x7f64d615b370, 
_cmd=optimized out) at NSAutoreleasePool.m:334
#28554 0x7f64d08ed31f in -[NSException description] (self=0x7f64d615a870, 
_cmd=optimized out) at NSException.m:911
#28555 0x7f64d08483f0 in GSPrivateFormat (s=0x7fff, 
s@entry=0x7fff970fba10, format=format@entry=0x7fff970fc260, 
ap=ap@entry=0x7fff970fcae8,
locale=locale@entry=0x0) at GSFormat.m:1853
#28556 0x7f64d0862987 in -[GSPlaceholderString 
initWithFormat:locale:arguments:] (self=0x7f64d450c250, _cmd=optimized out, 
format=optimized out,
locale=0x0, argList=0x7fff970fcae8) at GSString.m:776

#28557 0x7f64d1578d47 in -[NSObject(NGLogs) errorWithFormat:arguments:] 
(self=0x7f64d455a9b0, _cmd=optimized out, _fmt=0x7f64d2443d70,
_va=0x7fff970fcae8) at NSObject+Logs.m:131
#28558 0x7f64d15787d2 in -[NSObject(NGLogs) errorWithFormat:] 
(self=0x7f64d455a9b0, _cmd=optimized out, _fmt=0x7f64d2443d70) at 
NSObject+Logs.m:173
#28559 0x7f64d212f5e0 in -[WOWatchDog run:argc:argv:] (self=0x7f64d455a9b0, 
_cmd=optimized out, newAppName=optimized out, newArgC=optimized out,
newArgV=optimized out) at WOWatchDogApplicationMain.m:945
#28560 0x7f64d212f979 in WOWatchDogApplicationMain (appName=0x7f64d36a2a60, 
argc=7, argv=0x7fff970fcdc8) at WOWatchDogApplicationMain.m:1050
#28561 0x7f64d349c579 in main (argc=7, argv=0x7fff970fcdc8, 
env=0x7fff970fce08) at sogod.m:53

-Original Message-
From: Francois Verbeek [mailto:f...@hop2it.be]
Sent: 13 December 2014 11:18
To: 'Ludovic Marcotte'; 'users@sogo.nu'
Subject: RE: [SOGo] Outlook 2013 causes sogod to consume all RAM and CPU cycles 
on exit/startup when synching adress book

I attached a gdb to an offending process and found out that it seemed to be in 
an infinite throw/catch loop, with a massive stack. 

#0  uw_frame_state_for (context=context@entry=0x7fff29b6fcc0, 
fs=fs@entry=0x7fff29b6fdb0) at ../../../src/libgcc/unwind-dw2.c:1203
#1  0x7fb3e9f4df8b in _Unwind_RaiseException (exc=0x7fb3fb672840) at 
../../../src/libgcc/unwind.inc:99
#2  0x7fb3ea3e77d7 in objc_exception_throw 
(exception=exception@entry=0x7fb3fb660900)
at /home/packages/gcc/4.7/w/gcc-4.7-4.7.2/src/libobjc/exception.c:509
#3  0x7fb3eaa0f696 in -[NSException raise] (self=0x7fb3fb660900, 
_cmd=optimized out) at NSException.m:963
#4  0x7fb3eaa0fae1 in +[NSException raise:format:] (self=0x7fb3eaec09e0, 
_cmd=optimized out, name=0x7fb3eaec0c20, format=0x7fb3eae9aa90)
at NSException.m:835
#5  0x7fb3ea9af13c in -[NSAutoreleasePool init] (self=0x7fb3fb660710, 
_cmd=optimized out) at NSAutoreleasePool.m:334
#6  0x7fb3eaa0f8b3 in _NSFoundationUncaughtExceptionHandler 
(exception=0x7fb3fb64e740) at NSException.m:762
#7  callUncaughtHandler (value=0x7fb3fb64e740) at NSException.m:795
#8  0x7fb3ea3e77e8 in objc_exception_throw 
(exception=exception@entry=0x7fb3fb64e740)
at /home/packages/gcc/4.7/w/gcc-4.7-4.7.2/src/libobjc/exception.c:516
#9  0x7fb3eaa0f696 in -[NSException raise] (self=0x7fb3fb64e740, 
_cmd=optimized out) at NSException.m:963
#10 0x7fb3eaa0fae1 in +[NSException raise:format:] (self=0x7fb3eaec09e0, 
_cmd=optimized out, name=0x7fb3eaec0c20, format=0x7fb3eae9aa90)
at NSException.m:835
#11 0x7fb3ea9af13c in -[NSAutoreleasePool init] (self=0x7fb3fb64e550, 
_cmd=optimized out) at NSAutoreleasePool.m:334
#12 0x7fb3eaa0f8b3 in _NSFoundationUncaughtExceptionHandler 
(exception=0x7fb3fb63c5b0) at NSException.m:762
#13 callUncaughtHandler (value=0x7fb3fb63c5b0) at NSException.m:795
#14 0x7fb3ea3e77e8 in objc_exception_throw 
(exception=exception@entry=0x7fb3fb63c5b0)
at /home/packages/gcc/4.7/w/gcc-4.7-4.7.2/src/libobjc/exception.c:516
#15 0x7fb3eaa0f696 in -[NSException raise] (self=0x7fb3fb63c5b0, 
_cmd=optimized out) at NSException.m:963
#16 0x7fb3eaa0fae1 in +[NSException raise:format:] (self=0x7fb3eaec09e0, 
_cmd=optimized out, name=0x7fb3eaec0c20, format=0x7fb3eae9aa90)
at NSException.m:835

#14141 0x7fb3ea9af13c in -[NSAutoreleasePool init] (self=0x7fb3f13b0e20, 
_cmd=optimized out) at NSAutoreleasePool.m:334
#14142 0x7fb3eaa0f8b3 in 

Re: [SOGo] Outlook 2013 causes sogod to consume all RAM and CPU cycles on exit/startup when synching adress book

2014-12-09 Thread Sigurd Holter

Hi !

Our user has closed down Outlook 2013.
On startup, the sync process starts from the beginning.
All  mails are downloaded to Outlook again, so all mails are doubled.
There are 2 instances of each email.

What can cause this behaviour ?

This is with nightly build 20141208.

MVH
Sigurd Holter
Prosjektleder
West Audio A/S
Consul Sigval Bergesens vei 41
4016 Stavanger
Telefon 51537030

Den 04.12.2014 01:27, skrev Ludovic Marcotte:

On 03/12/2014 02:51, Sigurd Holter wrote:


Now RAM and CPU usage are normal on Outlook start and exit using 
ActiveSync.
No memory improvements have landed yet in the nightly builds. They 
should by the end of the week.
However, our test user tried copying 10 contacts form his archived 
PST file into the Outlook contacts folder.
The result was that SOGo added 10 copies of each contact, and that 
Outlook synched these again.
So now our user has 10 x 10 contacts in his folder. 

I'll test that.



--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Outlook 2013 causes sogod to consume all RAM and CPU cycles on exit/startup when synching adress book

2014-12-03 Thread Sigurd Holter

Hi !

Trying the nightly builds :

sogo-2.2.10.20141203-1.centos6.src.rpm
sope49-4.9-20141130_1664.el6.1.src.rpm

Now RAM and CPU usage are normal on Outlook start and exit using ActiveSync.

However, our test user tried copying 10 contacts form his archived PST 
file into the Outlook contacts folder.
The result was that SOGo added 10 copies of each contact, and that 
Outlook synched these again.

So now our user has 10 x 10 contacts in his folder.

MVH
Sigurd Holter
Bookingleder/prosjektleder
West Audio A/S
Consul Sigval Bergesens vei 41
4016 Stavanger
Telefon 51537030

Den 02.12.2014 13:30, skrev Sigurd Holter:

Hi !

There are 1557 contacts in the .PST file.

I can try the nightly build tomorrow and see if it works better.

MVH
Sigurd Holter
Bookingleder/prosjektleder
West Audio A/S
Consul Sigval Bergesens vei 41
4016 Stavanger
Telefon 51537030

Den 02.12.2014 13:27, skrev Ludovic Marcotte:

On 02/12/2014 07:10, Sigurd Holter wrote:
But when he tries to copy contacts from his archived .PST file into 
his ActiveSync profile 

How many contacts?

Are you in a position to try a nightly build? They should be very 
stable since only bug fixes has landed since v2.2.10 in them.


In the next couple of hours, some memory optimization will land in 
the nightly builds - we should see the memory consumption reduced by 
500%.






--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Outlook 2013 causes sogod to consume all RAM and CPU cycles on exit/startup when synching adress book

2014-12-03 Thread Sigurd Holter

Hi !

Our user started from scratch and copied 9 contacts - the result was 9 x 
9 contacts.


MVH
Sigurd Holter
Bookingleder/prosjektleder
West Audio A/S
Consul Sigval Bergesens vei 41
4016 Stavanger
Telefon 51537030

Den 03.12.2014 08:51, skrev Sigurd Holter:

Hi !

Trying the nightly builds :

sogo-2.2.10.20141203-1.centos6.src.rpm
sope49-4.9-20141130_1664.el6.1.src.rpm

Now RAM and CPU usage are normal on Outlook start and exit using 
ActiveSync.


However, our test user tried copying 10 contacts form his archived PST 
file into the Outlook contacts folder.
The result was that SOGo added 10 copies of each contact, and that 
Outlook synched these again.

So now our user has 10 x 10 contacts in his folder.

MVH
Sigurd Holter
Bookingleder/prosjektleder
West Audio A/S
Consul Sigval Bergesens vei 41
4016 Stavanger
Telefon 51537030

Den 02.12.2014 13:30, skrev Sigurd Holter:

Hi !

There are 1557 contacts in the .PST file.

I can try the nightly build tomorrow and see if it works better.

MVH
Sigurd Holter
Bookingleder/prosjektleder
West Audio A/S
Consul Sigval Bergesens vei 41
4016 Stavanger
Telefon 51537030

Den 02.12.2014 13:27, skrev Ludovic Marcotte:

On 02/12/2014 07:10, Sigurd Holter wrote:
But when he tries to copy contacts from his archived .PST file into 
his ActiveSync profile 

How many contacts?

Are you in a position to try a nightly build? They should be very 
stable since only bug fixes has landed since v2.2.10 in them.


In the next couple of hours, some memory optimization will land in 
the nightly builds - we should see the memory consumption reduced by 
500%.








--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Outlook 2013 causes sogod to consume all RAM and CPU cycles on exit/startup when synching adress book

2014-12-03 Thread Ludovic Marcotte

On 03/12/2014 02:51, Sigurd Holter wrote:


Now RAM and CPU usage are normal on Outlook start and exit using 
ActiveSync.
No memory improvements have landed yet in the nightly builds. They 
should by the end of the week.
However, our test user tried copying 10 contacts form his archived PST 
file into the Outlook contacts folder.
The result was that SOGo added 10 copies of each contact, and that 
Outlook synched these again.
So now our user has 10 x 10 contacts in his folder. 

I'll test that.

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Outlook 2013 causes sogod to consume all RAM and CPU cycles on exit/startup when synching adress book

2014-12-02 Thread Ludovic Marcotte

On 02/12/2014 07:10, Sigurd Holter wrote:
But when he tries to copy contacts from his archived .PST file into 
his ActiveSync profile 

How many contacts?

Are you in a position to try a nightly build? They should be very stable 
since only bug fixes has landed since v2.2.10 in them.


In the next couple of hours, some memory optimization will land in the 
nightly builds - we should see the memory consumption reduced by 500%.


--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Outlook 2013 causes sogod to consume all RAM and CPU cycles on exit/startup when synching adress book

2014-12-02 Thread Sigurd Holter

Hi !

There are 1557 contacts in the .PST file.

I can try the nightly build tomorrow and see if it works better.

MVH
Sigurd Holter
Bookingleder/prosjektleder
West Audio A/S
Consul Sigval Bergesens vei 41
4016 Stavanger
Telefon 51537030

Den 02.12.2014 13:27, skrev Ludovic Marcotte:

On 02/12/2014 07:10, Sigurd Holter wrote:
But when he tries to copy contacts from his archived .PST file into 
his ActiveSync profile 

How many contacts?

Are you in a position to try a nightly build? They should be very 
stable since only bug fixes has landed since v2.2.10 in them.


In the next couple of hours, some memory optimization will land in the 
nightly builds - we should see the memory consumption reduced by 500%.




--
users@sogo.nu
https://inverse.ca/sogo/lists