Hi fr_
the same problem appeared at my server and the result of your pgrep ... command is:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
lsd 3161 bladmin cwd DIR 1,27 1258 2 /
lsd 3161 bladmin txt REG 1,27 17728 406961 /usr/libexec/lsd
lsd 3161 bladmin txt REG 1,27 26280400 411595 /usr/share/icu/icudt55l.dat
lsd 3161 bladmin txt REG 1,27 3813376 2499627 /private/var/folders/kv/2kk40mdx5wdccb6hb7y3sgk80000gn/0/com.apple.LaunchServic es-134501.csstore
lsd 3161 bladmin txt REG 1,27 638336 406131 /usr/lib/dyld
lsd 3161 bladmin txt REG 1,27 553816338 446514 /private/var/db/dyld/dyld_shared_cache_x86_64
lsd 3161 bladmin 0r CHR 3,2 0t0 346 /dev/null
lsd 3161 bladmin 1u CHR 3,2 0t0 346 /dev/null
lsd 3161 bladmin 2u CHR 3,2 0t203 346 /dev/null
lsd 3161 bladmin 3u KQUEUE count=2, state=0x12
Unfortunately I can not identify any app, which is an object of code signing activity. Would you expect that the app name appears anywhere in the list above or do you have another way to identify the app-source?
From the call hierarchy code signing is the activity, which causes the hang in my case, too:
Analysis of sampling lsd (pid 11075) every 1 millisecond
Process: lsd [11075]
Path: /usr/libexec/lsd
Load Address: 0x106d85000
Identifier: lsd
Version: 728.4
Code Type: X86-64
Parent Process: launchd [1]
Date/Time: 2015-12-06 10:03:29.773 +0100
Launch Time: 2015-12-05 13:45:14.030 +0100
OS Version: Mac OS X 10.11.1 (15B42)
Report Version: 7
Analysis Tool: /usr/bin/sample
----
Call graph:
2652 Thread_869907 DispatchQueue_1: com.apple.main-thread (serial)
+ 2652 start (in libdyld.dylib) + 1 [0x7fff9a0dd5ad]
+ 2652 _LSServerMain (in LaunchServices) + 192 [0x7fff91e71067]
+ 2652 CFRunLoopRun (in CoreFoundation) + 97 [0x7fff8a555961]
+ 2652 CFRunLoopRunSpecific (in CoreFoundation) + 296 [0x7fff8a513fc8]
+ 2652 __CFRunLoopRun (in CoreFoundation) + 1356 [0x7fff8a51477c]
+ 2652 __CFRunLoopServiceMachPort (in CoreFoundation) + 212 [0x7fff8a5152b4]
+ 2652 mach_msg (in libsystem_kernel.dylib) + 55 [0x7fff993cb0d7]
+ 2652 mach_msg_trap (in libsystem_kernel.dylib) + 10 [0x7fff993cbc96]
2652 Thread_869911 DispatchQueue_2: com.apple.libdispatch-manager (serial)
+ 2652 _dispatch_mgr_thread (in libdispatch.dylib) + 52 [0x7fff8ba05d85]
+ 2652 _dispatch_mgr_invoke (in libdispatch.dylib) + 216 [0x7fff8ba0611d]
+ 2652 kevent_qos (in libsystem_kernel.dylib) + 10 [0x7fff993d20a2]
2652 Thread_1121716 DispatchQueue_20: com.apple.lsd.registrationIO (serial)
2652 start_wqthread (in libsystem_pthread.dylib) + 13 [0x7fff9ace5375]
2652 _pthread_wqthread (in libsystem_pthread.dylib) + 1129 [0x7fff9ace74f2]
2652 _dispatch_worker_thread3 (in libdispatch.dylib) + 91 [0x7fff8ba03ab8]
2652 _dispatch_root_queue_drain (in libdispatch.dylib) + 538 [0x7fff8ba03d0b]
2652 _dispatch_queue_invoke (in libdispatch.dylib) + 549 [0x7fff8ba0b6bf]
2652 _dispatch_queue_drain (in libdispatch.dylib) + 754 [0x7fff8ba04ff3]
2652 _dispatch_client_callout (in libdispatch.dylib) + 8 [0x7fff8ba003c3]
2652 _dispatch_call_block_and_release (in libdispatch.dylib) + 12 [0x7fff8ba0b8f5]
2652 -[LSServerDelegate dispatchMessage:withConnection:] (in LaunchServices) + 281 [0x7fff91e6fc0b]
2652 -[LSDXPCServer registerItemInfo:withConnection:Action:] (in LaunchServices) + 1327 [0x7fff91e73c0a]
2652 _LSCreateRegistrationData (in LaunchServices) + 2307 [0x7fff91eded2b]
2652 _LSAddEntitlementsToDictionary(__CFURL const*, __CFDictionary*) (in LaunchServices) + 111 [0x7fff91e6db91]
2652 SecStaticCodeCreateWithPath (in Security) + 238 [0x7fff945813a8]
2652 Security::CodeSigning::DiskRep::bestGuess(char const*, Security::CodeSigning::DiskRep::Context const*) (in Security) + 111 [0x7fff94584111]
2652 Security::CodeSigning::BundleDiskRep::BundleDiskRep(char const*, Security::CodeSigning::DiskRep::Context const*) (in Security) + 222 [0x7fff9457a28c]
2652 Security::CodeSigning::BundleDiskRep::setup(Security::CodeSigning::DiskRep::Con text const*) (in Security) + 1036 [0x7fff9457a73e]
2652 Security::CodeSigning::DiskRep::bestFileGuess(char const*, Security::CodeSigning::DiskRep::Context const*) (in Security) + 130 [0x7fff9458437e]
2652 Security::CodeSigning::DiskRep::bestGuess(char const*, Security::CodeSigning::DiskRep::Context const*) (in Security) + 317 [0x7fff945841df]
2652 Security::CodeSigning::MachORep::MachORep(char const*, Security::CodeSigning::DiskRep::Context const*) (in Security) + 390 [0x7fff945923a6]
2614 Security::Universal::Universal(Security::UnixPlusPlus::FileDesc, unsigned long, unsigned long) (in Security) + 787 [0x7fff94669431]
! 2585 Security::UnixPlusPlus::FileDesc::read(void*, unsigned long, unsigned long) (in Security) + 11 [0x7fff9466a6f7]
! : 2585 pread (in libsystem_kernel.dylib) + 10,20 [0x7fff993d2462,0x7fff993d246c]
! 22 Security::UnixPlusPlus::FileDesc::read(void*, unsigned long, unsigned long) (in Security) + 11,15,... [0x7fff9466a6f7,0x7fff9466a6fb,...]
! 5 DYLD-STUB$$pread (in Security) + 0 [0x7fff94684f68]
! 2 pread (in libsystem_kernel.dylib) + 0 [0x7fff993d2458]
38 Security::Universal::Universal(Security::UnixPlusPlus::FileDesc, unsigned long, unsigned long) (in Security) + 790,819,... [0x7fff94669434,0x7fff94669451,...]
Many thanks for your help!