More information about a sogod cunsuming near 100% cpu:
21416 sogo      20   0 7423m 6.5g 4328 R 100.0 87.6   1:38.96 sogod
 
 gdb -p 21416
 
(gdb) bt
#0  0x0000003cf0523f7c in object_setClass (obj=0x11de00698, cls=0x3cf08baa00)
    at runtime.c:1084
#1  0x0000003cf0459a84 in NSAllocateObject (aClass=0x3cf08baa00, extraBytes=7,
    zone=0x3cf0961680) at NSObject.m:823
#2  0x0000003cf0382a1a in -[GSCString lowercaseString] (self=0x3cf2a5f0c0,
    _cmd=0x3cf2a515a0) at GSString.m:3179
#3  0x0000003cf2826a8d in -[CardElement valuesForKey:] (self=0x11dddbc28,
    _cmd=0x3cf2a51520, key=0x3cf2a5f0c0) at CardElement.m:193
#4  0x0000003cf2826aed in -[CardElement valuesAtIndex:forKey:] (
    self=0x11dddbc28, _cmd=0x3cf2a5fa50, idx=0, key=0x3cf2a5f0c0)
    at CardElement.m:199
#5  0x0000003cf2839cdc in -[iCalRecurrenceRule byMonth] (self=0x11dddbc28,
    _cmd=0x3cf2a63290) at iCalRecurrenceRule.m:494
#6  0x0000003cf283e9cd in -[iCalTimeZonePeriod _occurenceForDate:byRRule:] (
    self=0x11dddb758, _cmd=0x3cf2a63330, refDate=0x11ddf2fa8,
    rrule=0x11dddbc28) at iCalTimeZonePeriod.m:149
#7  0x0000003cf283ed0e in -[iCalTimeZonePeriod occurenceForDate:] (
    self=0x11dddb758, _cmd=0x3cf2a627d0, refDate=0x11ddf2fa8)
    at iCalTimeZonePeriod.m:184
#8  0x0000003cf283d805 in -[iCalTimeZone _occurrenceForPeriodNamed:forDate:] (
    self=0x11dddb078, _cmd=0x3cf2a627e0, pName=0x3cf2a62240, aDate=0x11ddf2fa8)
    at iCalTimeZone.m:209
#9  0x0000003cf283d890 in -[iCalTimeZone periodForDate:] (self=0x11dddb078,
    _cmd=0x3cf2a62830, date=0x11ddf2fa8) at iCalTimeZone.m:225
#10 0x0000003cf283dc14 in -[iCalTimeZone computedDateForDate:] (
    self=0x11dddb078, _cmd=0x3cf2a618f0, theDate=0x11ddf2fa8)
    at iCalTimeZone.m:273
#11 0x0000003cf283c457 in -[iCalRepeatableEntityObject exceptionDatesWithTimeZone:] (self=0x11dddeb18, _cmd=0x7ff6d7f0e060, theTimeZone=0x11dddb078)
    at iCalRepeatableEntityObject.m:271
#12 0x00007ff6d7cd6f0c in -[SOGoAppointmentFolder _flattenCycleRecord:forRange:intoArray:] (self=0x18387b8, _cmd=0x7ff6d7f0e0d0, theRecord=0x8b3ea88,
    theRange=0x1d47888, theRecords=0x18d31b8) at SOGoAppointmentFolder.m:1078
#13 0x00007ff6d7cd7356 in -[SOGoAppointmentFolder _flattenCycleRecords:fetchRange:] (self=0x18387b8, _cmd=0x7ff6d7f0e1c0, _records=0x18d31f8, _r=0x1d47888)
    at SOGoAppointmentFolder.m:1139
#14 0x00007ff6d7cd8184 in -[SOGoAppointmentFolder fetchFields:from:to:title:component:additionalFilters:includeProtectedInformation:] (self=0x18387b8,
    _cmd=0x7ff6d7f0ea20, _fields=0x18a2978, _startDate=0x188ae28,
    _endDate=0x1820dc8, title=0x0, _component=0x7ff6d7f0af00, filters=0x0,
    _includeProtectedInformation=1 '\001') at SOGoAppointmentFolder.m:1323
#15 0x00007ff6d7cddd86 in -[SOGoAppointmentFolder fetchFreeBusyInfosFrom:to:] (
    self=0x18387b8, _cmd=0x7ff6d7f14b70, _startDate=0x188ae28,
    _endDate=0x1820dc8) at SOGoAppointmentFolder.m:2533
#16 0x00007ff6d7ce7968 in -[SOGoFreeBusyObject fetchFreeBusyInfosFrom:to:] (
    self=0x18577b8, _cmd=0x7ff6d7f14b10, startDate=0x188ae28,
    endDate=0x1820dc8) at SOGoFreeBusyObject.m:341
#17 0x00007ff6d7ce7788 in -[SOGoFreeBusyObject fetchFreeBusyInfosFrom:to:forContact:] (self=0x18577b8, _cmd=0x7ff6d7f14a80, startDate=0x188ae28,
    endDate=0x1820dc8, uid=0x0) at SOGoFreeBusyObject.m:312
#18 0x00007ff6d7ce73c9 in -[SOGoFreeBusyObject contentAsStringWithMethod:andUID:andOrganizer:andContact:from:to:] (self=0x18577b8, _cmd=0x7ff6d7f14aa0,
    method=0x0, UID=0x0, organizer=0x0, contactID=0x0, _startDate=0x188ae28,
    _endDate=0x1820dc8) at SOGoFreeBusyObject.m:246
#19 0x00007ff6d7ce7482 in -[SOGoFreeBusyObject contentAsStringFrom:to:] (
    self=0x18577b8, _cmd=0x7ff6d7f14a70, _startDate=0x188ae28,
    _endDate=0x1820dc8) at SOGoFreeBusyObject.m:259
#20 0x00007ff6d7ce7369 in -[SOGoFreeBusyObject contentAsString] (
    self=0x18577b8, _cmd=0x7ff6d7f14c70) at SOGoFreeBusyObject.m:234
 
#21 0x00007ff6d7ce81e7 in -[SOGoFreeBusyObject GETAction:] (self=0x18577b8,
    _cmd=0x12ce0d0, _ctx=0x17b53f8) at SOGoFreeBusyObject.m:430
#22 0x0000003cf045b2b3 in -[NSObject performSelector:withObject:] (
    self=0x18577b8, _cmd=0x3cf2722b30, aSelector=0x12ce0d0, anObject=0x17b53f8)
    at NSObject.m:2011
#23 0x0000003cf23f09e4 in -[SoSelectorInvocation primaryCallSelector:withArguments:] (self=0x18a0f48, _cmd=0x3cf2722c90, _sel=0x12ce0d0, _args=0x1822208)
    at SoSelectorInvocation.m:231
#24 0x0000003cf23f117c in -[SoSelectorInvocation callOnObject:inContext:] (
    self=0x18a0f48, _cmd=0x3cf2722bf0, _client=0x18577b8, _ctx=0x17b53f8)
    at SoSelectorInvocation.m:329
#25 0x0000003cf23f0d1e in -[SoSelectorInvocation callOnObject:inContext:] (
    self=0x158d7d8, _cmd=0x3cf2736270, _client=0x18577b8, _ctx=0x17b53f8)
    at SoSelectorInvocation.m:285
#26 0x0000003cf2402984 in -[SoObjectWebDAVDispatcher doGET:] (self=0x185a488,
    _cmd=0x1689350, _ctx=0x17b53f8) at SoObjectWebDAVDispatcher.m:192
#27 0x0000003cf045b2b3 in -[NSObject performSelector:withObject:] (
    self=0x185a488, _cmd=0x3cf2736a60, aSelector=0x1689350, anObject=0x17b53f8)
    at NSObject.m:2011
#28 0x0000003cf240969f in -[SoObjectWebDAVDispatcher performMethod:inContext:]
    (self=0x185a488, _cmd=0x3cf2736ac0, _method=0x1862748, _ctx=0x17b53f8)
    at SoObjectWebDAVDispatcher.m:1744
#29 0x0000003cf24099f3 in -[SoObjectWebDAVDispatcher dispatchInContext:] (
    self=0x185a488, _cmd=0x3cf2719b20, _ctx=0x17b53f8)
    at SoObjectWebDAVDispatcher.m:1779
#30 0x0000003cf23e0e5b in -[SoObjectRequestHandler handleRequest:inContext:session:application:] (self=0x1574b98, _cmd=0x3cf269f6e0, _rq=0x18bf048,
    _ctx=0x17b53f8, _sn=0x0, app=0x14ee748) at SoObjectRequestHandler.m:591
#31 0x0000003cf23648af in -[WORequestHandler handleRequest:] (self=0x1574b98,
    _cmd=0x3cf2669760, _request=0x18bf048) at WORequestHandler.m:241
#32 0x0000003cf231ecb7 in -[WOCoreApplication dispatchRequest:usingHandler:] (
    self=0x14ee748, _cmd=0x3cf26697c0, _request=0x18bf048, handler=0x1574b98)
    at WOCoreApplication.m:716
#33 0x0000003cf231f013 in -[WOCoreApplication dispatchRequest:] (
    self=0x14ee748, _cmd=0x60a150, _request=0x18bf048)
    at WOCoreApplication.m:756
#34 0x0000000000403101 in -[SOGo dispatchRequest:] (self=0x14ee748,
    _cmd=0x3cf2702620, _request=0x18bf048) at SOGo.m:452
#35 0x0000003cf23cdca4 in -[WOHttpTransaction _run] (self=0x15494d8,
    _cmd=0x3cf2702650) at WOHttpTransaction.m:581
#36 0x0000003cf23ce076 in -[WOHttpTransaction run] (self=0x15494d8,
    _cmd=0x3cf2700430) at WOHttpTransaction.m:634
#37 0x0000003cf23c971a in -[WOHttpAdaptor runConnection:] (self=0x177d2e8,
    _cmd=0x3cf27004d0, _socket=0x1800338) at WOHttpAdaptor.m:374
#38 0x0000003cf23c996e in -[WOHttpAdaptor _handleAcceptedConnection:] (
    self=0x177d2e8, _cmd=0x3cf27004e0, _connection=0x1800338)
    at WOHttpAdaptor.m:408
#39 0x0000003cf23c9ddb in -[WOHttpAdaptor _handleConnection:] (self=0x177d2e8,
    _cmd=0x3cf2700590, connection=0x1800338) at WOHttpAdaptor.m:467
#40 0x0000003cf23ca0f6 in -[WOHttpAdaptor acceptControlMessage:] (
    self=0x177d2e8, _cmd=0x3cf27002f0, aNotification=0x17cc958)
    at WOHttpAdaptor.m:506
#41 0x0000003cf044ce2f in -[NSNotificationCenter _postAndRelease:] (
    self=0x12eb738, _cmd=0x3cf0908a50, notification=0x17cc958)
    at NSNotificationCenter.m:1223
#42 0x0000003cf044d152 in -[NSNotificationCenter postNotificationName:object:userInfo:] (self=0x12eb738, _cmd=0x3cf0908a60, name=0x3cf20ac560,
    object=0x151b0d8, info=0x0) at NSNotificationCenter.m:1282
#43 0x0000003cf044cfe1 in -[NSNotificationCenter postNotificationName:object:]
(self=0x12eb738, _cmd=0x3cf20ac750, name=0x3cf20ac560, object=0x151b0d8)
    at NSNotificationCenter.m:1262
#44 0x0000003cf1e621fe in -[NSObject(FileObjectWatcher) receivedEvent:type:extra:forMode:] (self=0x151b0d8, _cmd=0x3cf098f5d0, _fdData=0x6, _type=ET_RDESC,
    _extra=0x6, _mode=0x3cf092afa0) at NSRunLoop+FileObjects.m:57
#45 0x0000003cf056a635 in -[GSRunLoopCtxt pollUntil:within:] (self=0x14c1028,
    _cmd=0x3cf092c160, milliseconds=29984, contexts=0x1561588)
    at GSRunLoopCtxt.m:632
#46 0x0000003cf049a78a in -[NSRunLoop acceptInputForMode:beforeDate:] (
    self=0x15618e8, _cmd=0x3cf092c1a0, mode=0x3cf092afa0, limit_date=0x179c2e8)
    at NSRunLoop.m:1198
#47 0x0000003cf049ab99 in -[NSRunLoop runMode:beforeDate:] (self=0x15618e8,
    _cmd=0x3cf2669650, mode=0x3cf092afa0, date=0x1867308) at NSRunLoop.m:1266
#48 0x0000003cf231e44b in -[WOCoreApplication run] (self=0x14ee748,
    _cmd=0x609f70) at WOCoreApplication.m:588
#49 0x0000000000402775 in -[SOGo run] (self=0x14ee748, _cmd=0x3cf26a7da0)
    at SOGo.m:276
#50 0x0000003cf236ebe1 in -[WOWatchDog _runChildWithControlSocket:] (
    self=0x13366e8, _cmd=0x3cf26a7e50, controlSocket=0x151b0d8)
    at WOWatchDogApplicationMain.m:510
#51 0x0000003cf236f05d in -[WOWatchDog _spawnChild:] (self=0x13366e8,
    _cmd=0x3cf26a7f20, child=0x14bcf18) at WOWatchDogApplicationMain.m:578
#52 0x0000003cf236f82a in -[WOWatchDog _ensureChildren] (self=0x13366e8,
    _cmd=0x3cf26a80f0) at WOWatchDogApplicationMain.m:668
#53 0x0000003cf2370a0e in -[WOWatchDog run:argc:argv:] (self=0x13366e8,
    _cmd=0x3cf26a8200, newAppName=0x6084c0, newArgC=7, newArgV=0x7fffda783068)
    at WOWatchDogApplicationMain.m:919
#54 0x0000003cf237121d in WOWatchDogApplicationMain (appName=0x6084c0, argc=7,
    argv=0x7fffda783068) at WOWatchDogApplicationMain.m:1028
#55 0x0000000000401945 in main (argc=7, argv=0x7fffda783068,
    env=0x7fffda7830a8) at sogod.m:53
 
 
 
 
 
 
 
 
Gesendet: Donnerstag, 08. August 2013 um 10:24 Uhr
Von: "Daniel Müller" <danielmuell...@gmx.net>
An: users@sogo.nu
Betreff: SOGo 2.0 eats up to 100% mem and cpu
 Dear All,
 
concerning: Version 2.0.0 (root@shiva 201209280016).
I have a small installation of SOGo 2.0 running with about 5 users tu share there calendars with Outlook and Funambol.
All the time it was running top but suddenly sogod eats up my cpu and memory until I do a restart.
My Sogo-Config: /home/sogo/G*/D*/.GNUstepDefaults:
 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" "http://www.gnustep.org/plist-0_9.xml">
<plist version="0.9">
<dict>
    <key>NSGlobalDomain</key>
    <dict>
    </dict>
    <key>sogod</key>
    <dict>
        <key>OCSFolderInfoURL</key>
        <string>postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info</string>
        <key>OCSSessionsFolderURL</key>
        <string>postgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder</string>
        <key>SOGoACLsSendEMailNotification</key>
        <string>YES</string>
        <key>SOGoAppointmentSendEMailNotification</key>
        <string>YES</string>
        <key>SOGoAuthenticationMethod</key>
        <string>LDAP</string>
        <key>SOGoBusyOffHours</key>
        <string>YES</string>
        <key>SOGoDraftsFolderName</key>
        <string>INBOX.Drafts</string>
        <key>SOGoEnablePublicAccess</key>
        <string>YES</string>
        <key>SOGoCalendarDefaultRoles</key>
 <array>
 <string>PublicDAndTViewer</string>
 <string>ConfidentialDAndTViewer</string>
 <string>PrivateDAndTViewer</string>
</array>

        <key>SOGoFirtsDayOfWeek</key>
        <string>1</string>
        <key>SOGoFoldersSendEMailNotification</key>
        <string>YES</string>
        <key>SOGoGoMailMessageCheck</key>
        <string>every_5_minutes</string>
        <key>SOGoIMAPServer</key>
        <string>192.168.135.250:143</string>
        <key>SOGoLanguage</key>
        <string>German</string>
        <key>SOGoMailAuxiliaryUserAccountsEnabled</key>
        <string>YES</string>
        <key>SOGoMailDomain</key>
        <string>comm2.local</string>
        <key>SOGoMailUseOutlookStyleReplies</key>
        <string>YES</string>
        <key>SOGoMailingMechanism</key>
        <string>smtp</string>
        <key>SOGoNotifyOnExternalModifications</key>
        <string>YES</string>
        <key>SOGoNotifyOnPersonalModifications</key>
        <string>YES</string>
        <key>SOGoPageTitle</key>
        <string>Topenklinik Webmailer-Interface</string>

 <key>SOGoPasswordChangeEnabled</key>
        <string>YES</string>
        <key>SOGoProfileURL</key>
        <string>postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile</string>
        <key>SOGoSMTPServer</key>
        <string>192.168.135.250</string>
        <key>SOGoSentFolderName</key>
        <string>INBOX.Sent</string>
        <key>SOGoSharedFolderName</key>
        <string>shared</string>
        <key>SOGoSpecialFoldersInRoot</key>
        <string>YES</string>
        <key>SOGoSuperUsernames</key>
        <array>
            <string>mueller</string>
            <string>marstaller</string>
        </array>
        <key>SOGoTimeZone</key>
        <string>Europe/Berlin</string>
        <key>SOGoTrashFolderName</key>
        <string>INBOX.Trash</string>
        <key>SOGoUserSources</key>
        <array>
            <dict>
                <key>CNFieldName</key>
                <string>cn</string>
                <key>IDFieldName</key>
                <string>uid</string>
                <key>UIDFieldName</key>
                <string>uid</string>
                <key>baseDN</key>
                <string>ou=users,dc=tuepdc,dc=local</string>
                <key>bindDN</key>
                <string>uid=sogo,ou=users,dc=tuepdc,dc=local</string>
                <key>bindPassword</key>
                <string>qwerty</string>
                <key>canAuthenticate</key>
                <string>YES</string>
                <key>displayName</key>
                <string>Benutzer Adressen</string>
                <key>hostname</key>
                <string>192.168.135.236</string>
                <key>id</key>
                <string>public</string>
                <key>isAddressBook</key>
                <string>YES</string>
                <key>port</key>
                <string>389</string>
                <key>userPasswordAlgorithm</key>
                <string>md5</string>
            </dict>
            <dict>
                <key>CNFieldName</key>
                <string>cn</string>
                <key>IDFieldName</key>
                <string>cn</string>
                <key>UIDFieldName</key>
                <string>cn</string>

 <key>UIDFieldName</key>
                <string>cn</string>
                <key>baseDN</key>
                <string>ou=groups,dc=tuepdc,dc=local</string>
                <key>bindDN</key>
                <string>uid=sogo,ou=users,dc=tuepdc,dc=local</string>
                <key>bindPassword</key>
                <string>qwerty</string>
                <key>canAuthenticate</key>
                <string>YES</string>
                <key>displayName</key>
                <string>Gruppen Adressen</string>
                <key>hostname</key>
                <string>192.168.135.236</string>
                <key>id</key>
                <string>public_groups</string>
                <key>isAddressBook</key>
                <string>YES</string>
                <key>port</key>
                <string>389</string>
            </dict>
        </array>
         <key>SxVMemLimit</key>
        <string>1024</string>
        <key>WOWorkersCount</key>
        <string>2</string>
    </dict>
</dict>
</plist>

/etc/sysconfig/sogo:

PREFORK=2
 

 

[root@tplk-openchange bin]# ps ax | grep sogod
18223 ?        S     13:35 /usr/sbin/sogod -WOWorkersCount 2 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
20411 ?        Ss     0:11 /usr/sbin/sogod -WOWorkersCount 2 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
20618 ?        Ss     0:00 /usr/sbin/sogod -WOWorkersCount 2 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
20695 pts/0    S+     0:00 grep sogod

 

In my sogo.log there are infos like this..hnaging for 1 until ... minutes

Aug 08 10:16:48 sogod [18223]: [WARN] <0x0x14c3c28[WOWatchDogChild]> pid 20618 has been hanging in the same request for 1 minutes

top shows:

20618 sogo      20   0 9169m 6.9g 2804 R 66.0 92.4   2:10.48 sogod
   38 root      20   0     0    0    0 D 25.4  0.0  16:19.27 kswapd0
 

And users can not login the web gui anymore:

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /SOGo.
How can I fix this issue?

 

Greetings

Daniel

 

 

 

 

 

Reply via email to