View Issue Details

IDProjectCategoryView StatusLast Update
0003060SOGoActiveSyncpublic2015-01-13 19:08
Reportertbals Assigned Toludovic  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionwon't fix 
Platform[Client] GoogleOSAndroidOS VersionKit Kat
Product Version2.2.13 
Summary0003060: sogod eats 100% CPU and all RAM and hang when via ActiveSync and Client try to connect Dovecot 1.2
Description

We use a Debian Squeeze (old stable) VM as Mailserver with Dovecot 1.2 and on a Debian Wheezy (stable) VM we run SOGo in actual Version 2.2.13.
When a ActiveSync Client connects to SOGo and SOGo open a connection to the remote Dovecot, the sogod hangs and eat 100% of CPU and do nothing.
strace of this process shows no output. After some minutes, wenn all sogod are hang, no more clients can connect the SOGo-Server. It reports
"sogod [17703]: [ERROR] <0x0x7f646a08be90[WOWatchDog]> No child available to handle incoming request!"

Settings:
"PREFORK=5" in /etc/default/sogo

Steps To Reproduce

run a Dovecot 1.2 IMAP-Server
run a SOGo 2.2.13 Server
enable ActiveSync
connect the an Android device to SOGo and try to sync mails.

Additional Information

The sogo log says:

Jan 13 16:18:19 sogod [17720]: |SOGo| starting method 'POST' on uri '/SOGo/Microsoft-Server-ActiveSync?Cmd=ItemOperations&User=user&DeviceId=androidc729746623&DeviceType=Android'
2015-01-13 16:18:19.770 sogod[17720] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='Android/4.3-EAS-1.3'
2015-01-13 16:18:19.770 sogod[17720] Note(SoObject): SoDebugKeyLookup is enabled!
2015-01-13 16:18:19.770 sogod[17720] Note(SoObject): SoDebugBaseURL is enabled!
2015-01-13 16:18:19.770 sogod[17720] Note(SoObject): relative base URLs are enabled.
2015-01-13 16:18:19.819 sogod[17720] PostgreSQL72 connection established: <0x0x7f646a5a1340[PGConnection]: connection=0x0x7f646a5a14f0>
2015-01-13 16:18:19.820 sogod[17720] PostgreSQL72 channel 0x0x7f646a5a0c70 opened (connection=<0x0x7f646a5a1340[PGConnection]: connection=0x0x7f646a5a14f0>)
2015-01-13 16:18:19.820 sogod[17720] PG0x0x7f646a5a0c70 SQL: SELECT count() FROM sogo_cache_folder_user
2015-01-13 16:18:19.823 sogod[17720] PG0x0x7f646a5a0c70 SQL: SELECT c_defaults FROM sogo_user_profile WHERE c_uid = 'user'
Jan 13 16:18:19 sogod [17720]: <0x0x7f646a6b1d60[NGLdapConnection]> Using ldap_initialize for LDAP URL: ldap://ldap1.company.de:389
2015-01-13 16:18:19.839 sogod[17720] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search at base '' filter '(objectClass=
)' for attrs 'subschemaSubentry'
2015-01-13 16:18:19.840 sogod[17720] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search at base 'cn=Subschema' filter '(objectClass=)' for attrs 'objectclasses'
2015-01-13 16:18:19.845 sogod[17720] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search at base 'ou=staff,dc=company,dc=de' filter '(|(uid=user)(mail=user))' for attrs '
'
2015-01-13 16:18:19.859 sogod[17720] PG0x0x7f646a5a0c70 SQL: SELECT c_settings FROM sogo_user_profile WHERE c_uid = 'user'
2015-01-13 16:18:19.862 sogod[17720] WARNING: IMAP4 connection pooling is disabled!
2015-01-13 16:18:19.998 sogod[17720] Note(NGImap4Connection): using '/' as the IMAP4 folder separator.
2015-01-13 16:18:20.303 sogod[17720] Note: using 'UCS-2LE' on Linux.
2015-01-13 16:18:20.304 sogod[17720] Note: Using UTF-8 as URL encoding in NGExtensions.

Jan 13 16:19:19 sogod [17703]: [WARN] <0x0x7f646a2c0a50[WOWatchDogChild]> pid 17720 has been hanging in the same request for 1 minutes
Jan 13 16:20:19 sogod [17703]: [WARN] <0x0x7f646a2c0a50[WOWatchDogChild]> pid 17720 has been hanging in the same request for 2 minutes
:
Jan 13 16:26:19 sogod [17703]: [WARN] <0x0x7f646a2c0a50[WOWatchDogChild]> pid 17720 has been hanging in the same request for 8 minutes

TagsNo tags attached.

Activities

ludovic

ludovic

2015-01-13 19:08

administrator   ~0008069

You need Dovecot 2.x.

1.2 will never be supported.

Issue History

Date Modified Username Field Change
2015-01-13 17:13 tbals New Issue
2015-01-13 19:08 ludovic Note Added: 0008069
2015-01-13 19:08 ludovic Status new => resolved
2015-01-13 19:08 ludovic Resolution open => won't fix
2015-01-13 19:08 ludovic Assigned To => ludovic