Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

servermgrd crashes every two minutes

Let me know if there's a better place to post this.



I've had Lion Server running on a mini server for the past couple of weeks, no real problems. Upgraded to 10.7.2


In the last week or so I've started seeing this in the logs:


Nov 27 17:06:39 office servermgrd[86199]: [86199] error in getAndLockContext: flock(servermgr_info) FATAL time out

Nov 27 17:06:39 office servermgrd[86199]: [86199] process will force-quit to avoid deadlock

Nov 27 17:06:39 office servermgrd[86199]: outstanding requests are: (

{

Command = getEventMonitorConfig;

Module = "servermgr_info";

Timestamp = "2011-11-27 17:04:38 +0000";

},

...(more requests)...

Nov 27 17:06:39 office com.apple.launchd[1] (com.apple.servermgrd[86199]): Exited with code: 1


and servermgrd restarts.


I tried a reboot, but same thing happened afterwards.


It's doing this every few minutes now, which makes it hard to use the graphical tools.



Dec 2 16:35:30 office com.apple.launchd[1] (com.apple.servermgrd[47746]): Exited with code: 1

Dec 2 16:37:43 office com.apple.launchd[1] (com.apple.servermgrd[47939]): Exited with code: 1

Dec 2 16:39:48 office com.apple.launchd[1] (com.apple.servermgrd[48129]): Exited with code: 1



Any ideas? It's not affecting any actual services.



Thanks,

Sean

----


Here's some CrashReporter output. This output occurs only 6 times a day rather than every few minutes.


Process: servermgrd [36644]

Path: /System/Library/CoreServices/ServerManagerDaemon.bundle/Contents/MacOS/servermg rd

Identifier: servermgrd

Version: ??? (???)

Code Type: X86-64 (Native)

Parent Process: launchd [1]



Date/Time: 2011-12-02 12:30:19.983 +0000

OS Version: Mac OS X Server 10.7.2 (11C74)

Report Version: 9



Crashed Thread: 7



Exception Type: EXC_BAD_ACCESS (SIGSEGV)

Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000



VM Regions Near 0:

-->

__TEXT 000000010d8a2000-000000010d8b4000 [ 72K] r-x/rwx SM=COW /System/Library/CoreServices/ServerManagerDaemon.bundle/Contents/MacOS/servermg rd


...

Thread 7 Crashed:

0 ??? 000000000000000000 0 + 0

1 libcommonCrypto.dylib 0x00007fff903b55bc CCCryptorCreateFromDataWithMode + 837

2 libcommonCrypto.dylib 0x00007fff903b578e CCCryptorCreateFromData + 155

3 libcommonCrypto.dylib 0x00007fff903b4dfd CCCryptorCreate + 133

4 com.apple.security 0x00007fff8fa2c41d CCSymmInit + 154

5 com.apple.security 0x00007fff8fa2c091 SSLInitPendingCiphers + 476

6 com.apple.security 0x00007fff8fa286f1 SSLAdvanceHandshake + 5333

7 com.apple.security 0x00007fff8fa270d5 SSLProcessHandshakeRecord + 789

8 com.apple.security 0x00007fff8fa26d6b SSLProcessProtocolMessage + 82

9 com.apple.security 0x00007fff8fa26759 SSLHandshakeProceed + 390

10 com.apple.security 0x00007fff8fa265c3 SSLHandshake + 107

11 com.apple.ServerManagerDaemon 0x000000010d8abe6a -[AbstractSSLSocket readData:withLimit:] + 395

12 com.apple.ServerManagerDaemon 0x000000010d8ad1ed -[BufferedSSLSocket readDataUpToData:withLimit:] + 74

13 com.apple.ServerManagerDaemon 0x000000010d8ad19c -[BufferedSSLSocket readDataUpToString:] + 56

14 com.apple.ServerManagerDaemon 0x000000010d8aa934 -[SessionController threadListen:] + 128

15 com.apple.Foundation 0x00007fff94f3d7fe -[NSThread main] + 68

16 com.apple.Foundation 0x00007fff94f3d776 __NSThread__main__ + 1575

17 libsystem_c.dylib 0x00007fff928d28bf _pthread_start + 335

18 libsystem_c.dylib 0x00007fff928d5b75 thread_start + 13


Thread 8:

0 libsystem_c.dylib 0x00007fff928abcbd memmove$VARIANT$sse42 + 0

1 com.apple.security 0x00007fff8fa2be16 HMAC_Init + 33

2 com.apple.security 0x00007fff8fa2bc0e tlsPHash + 117

3 com.apple.security 0x00007fff8fa2bb14 SSLInternal_PRF + 213

4 com.apple.security 0x00007fff8fa2c772 tls1ComputeFinishedMac + 191

5 com.apple.security 0x00007fff8fa30a23 SSLProcessFinished + 243

6 com.apple.security 0x00007fff8fa26fe9 SSLProcessHandshakeRecord + 553

7 com.apple.security 0x00007fff8fa26d6b SSLProcessProtocolMessage + 82

8 com.apple.security 0x00007fff8fa26759 SSLHandshakeProceed + 390

9 com.apple.security 0x00007fff8fa265c3 SSLHandshake + 107

10 com.apple.ServerManagerDaemon 0x000000010d8abe6a -[AbstractSSLSocket readData:withLimit:] + 395

11 com.apple.ServerManagerDaemon 0x000000010d8ad1ed -[BufferedSSLSocket readDataUpToData:withLimit:] + 74

12 com.apple.ServerManagerDaemon 0x000000010d8ad19c -[BufferedSSLSocket readDataUpToString:] + 56

13 com.apple.ServerManagerDaemon 0x000000010d8aa934 -[SessionController threadListen:] + 128

14 com.apple.Foundation 0x00007fff94f3d7fe -[NSThread main] + 68

15 com.apple.Foundation 0x00007fff94f3d776 __NSThread__main__ + 1575

16 libsystem_c.dylib 0x00007fff928d28bf _pthread_start + 335

17 libsystem_c.dylib 0x00007fff928d5b75 thread_start + 13

...

Mac OS X (10.7.2)

Posted on Dec 2, 2011 8:54 AM

Reply
3 replies

Jun 29, 2012 5:34 AM in response to sheepbop

In our 10.7.4 flock(servermgr_info) case, I could isolate it to whether the DNS service was stopped or started.


DNS service = stopped = ok

DNS service = started = error in getAndLockContext: flock(servermgr_info) FATAL time out


Jun 29 13:44:34 mac00 servermgrd[814]: [814] error in getAndLockContext: flock(servermgr_info) FATAL time out

Jun 29 13:44:34 mac00 servermgrd[814]: [814] process will force-quit to avoid deadlock

Jun 29 13:44:34 mac00 servermgrd[814]: outstanding requests are: (

{

Command = getState;

Module = "servermgr_info";

Timestamp = "2012-06-29 11:42:32 +0000";

},

{

Command = Idle;

Module = "servermgr_info";

Timestamp = "2012-06-29 11:42:32 +0000";

},

{

Command = readSettings;

Module = "servermgr_info";

Timestamp = "2012-06-29 11:42:32 +0000";

},

{

Command = readSettings;

Module = "servermgr_info";

Timestamp = "2012-06-29 11:42:32 +0000";

},

{

Command = getHistory;

Module = "servermgr_info";

Timestamp = "2012-06-29 11:42:33 +0000";

},

{

Command = readSettings;

Module = "servermgr_info";

Timestamp = "2012-06-29 11:42:34 +0000";

},

{

Command = getHistory;

Module = "servermgr_info";

Timestamp = "2012-06-29 11:42:34 +0000";

},

{

Command = getState;

Module = "servermgr_info";

Timestamp = "2012-06-29 11:42:51 +0000";

},

{

Command = readSettings;

Module = "servermgr_info";

Timestamp = "2012-06-29 11:43:17 +0000";

},

{

Command = Idle;

Module = "servermgr_info";

Timestamp = "2012-06-29 11:43:32 +0000";

}

)

Jun 29 13:44:34 mac00 com.apple.launchd[1] (com.apple.servermgrd[814]): Exited with code: 1

servermgrd crashes every two minutes

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.