View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003120 | SOGo | ActiveSync | public | 2015-03-05 15:00 | 2015-05-12 14:46 |
Reporter | Sigurd Holter | Assigned To | ludovic | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | suspended | ||
Platform | [Server] Linux | OS | RHEL/CentOS | OS Version | 7 |
Product Version | 2.2.16 | ||||
Summary | 0003120: Memory leak ? | ||||
Description | In contrast with earlier versions, it seems SOGO 2.2.16 threads don't release (all) memory after responding to a request. | ||||
Tags | No tags attached. | ||||
This is still going on - we just had 20 workers consuming 2.5GB each. It seems to be due to an initial ActiveSync from a user who had an empty inbox on opening Outlook. |
|
Show your complete sogo.conf file. You should NOT set SxVMemLimit to a high value if you have many workers. What you see is the "normal" memory usage behaviour with autorelease pools in GNUstep. |
|
{ SOGoMaximumPingInterval = 10; SOGoEnablePublicAccess = YES; SOGoEnableEMailAlarms = YES; SOGoMailAuxiliaryUserAccountsEnabled = YES; SOGoMaximumSyncWindowSize = 10; SOGoSieveServer = "sieve://server:4190/?tls=YES"; SOGoMailingMechanism = smtp; WOPort = "server2:20000"; SOGoIMAPServer = "imaps://server/?tls=YES"; SOGoMailDomain = domain.no; SOGoMailMessageCheck = every_minute; SOGoSMTPAuthenticationType = PLAIN; SOGoForceExternalLoginWithEmail = YES; SOGoUserSources = ( IMAPHostFieldName = mailHost; baseDN = "CN=Users,DC=domain,DC=no"; MailFieldNames = (userPrincipalName); bindPassword = xxx; |
|
So how then can we make sure the initial sync works ? If SxVMemLimit is set too low, the thread exits before the initial sync is done, and no mail is found by Outlook 2013. |
|
That's not true. SxVMemLimit is looked by the SOGo process AFTER the response was delivered. If the current memory usage of the process exceeds SxVMemLimit, it'll terminate itself and the parent process would spawn a new child. In any case, the response WAS SENT before this. |
|
Ok, so we can set SxVMemLimit to 1GB, the response will be delivered however large it is - and the process will restart afterwards ? |
|
To answer your questions: Yes |
|
Ok, thanks, will lower it now and see how it goes. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2015-03-05 15:00 | Sigurd Holter | New Issue | |
2015-03-11 12:55 | Sigurd Holter | Note Added: 0008261 | |
2015-03-18 14:22 | ludovic | Note Added: 0008299 | |
2015-03-18 14:22 | ludovic | Severity | major => minor |
2015-03-18 14:59 | Sigurd Holter | Note Added: 0008303 | |
2015-03-18 14:59 | Sigurd Holter | Note Added: 0008304 | |
2015-03-18 15:01 | ludovic | Note Added: 0008305 | |
2015-03-18 15:05 | Sigurd Holter | Note Added: 0008306 | |
2015-03-18 15:16 | ludovic | Note Added: 0008307 | |
2015-03-18 15:21 | Sigurd Holter | Note Added: 0008308 | |
2015-05-12 14:46 | ludovic | Status | new => resolved |
2015-05-12 14:46 | ludovic | Resolution | open => suspended |
2015-05-12 14:46 | ludovic | Assigned To | => ludovic |