I have 80+ bots on Xcode Server. We use reset API to create our bots, and active once the integration of all bots.
Later the Xcode Server was die away.
when I restart XcodeServer (which had 2 integration tasks on the CouchDB), the 2 task was active and run success. and later XcodeServer entry died away again.
I was collect some logs from XCSBuilderService.
Dispatch Thread Soft Limit: 64 reached in 2156 of 2156 samples -- too many dispatch threads blocked in synchronous operations
Call graph:
2156 Thread_680651 DispatchQueue_1: com.apple.main-thread (serial)
+ 2156 start (in dyld) + 520 [0x102ca508c]
+ 2156 main (in XCSBuilderService) + 92 [0x102b3c15c]
+ 2156 -[NSXPCListener resume] (in Foundation) + 344 [0x18d969eac]
+ 2156 xpc_main (in libxpc.dylib) + 108 [0x18c6d71d0]
+ 2156 _xpc_objc_main (in libxpc.dylib) + 876 [0x18c6d78b4]
+ 2156 -[NSRunLoop(NSRunLoop) run] (in Foundation) + 92 [0x18d9d8464]
+ 2156 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] (in Foundation) + 236 [0x18d9480c0]
+ 2156 CFRunLoopRunSpecific (in CoreFoundation) + 600 [0x18ca62a84]
+ 2156 __CFRunLoopRun (in CoreFoundation) + 1180 [0x18ca636c0]
+ 2156 __CFRunLoopServiceMachPort (in CoreFoundation) + 372 [0x18ca65210]
+ 2156 mach_msg (in libsystem_kernel.dylib) + 76 [0x18c95ad20]
+ 2156 mach_msg_trap (in libsystem_kernel.dylib) + 8 [0x18c95a8b0]
2156 Thread_680717: com.apple.NSURLConnectionLoader
+ 2156 thread_start (in libsystem_pthread.dylib) + 8 [0x18c99308c]
+ 2156 _pthread_start (in libsystem_pthread.dylib) + 148 [0x18c99826c]
+ 2156 __NSThread__start__ (in Foundation) + 808 [0x18d9405cc]
+ 2156 ??? (in CFNetwork) load address 0x1915ef000 + 0x26b638 [0x19185a638]
+ 2156 CFRunLoopRunSpecific (in CoreFoundation) + 600 [0x18ca62a84]
+ 2156 __CFRunLoopRun (in CoreFoundation) + 1180 [0x18ca636c0]
+ 2156 __CFRunLoopServiceMachPort (in CoreFoundation) + 372 [0x18ca65210]
+ 2156 mach_msg (in libsystem_kernel.dylib) + 76 [0x18c95ad20]
+ 2156 mach_msg_trap (in libsystem_kernel.dylib) + 8 [0x18c95a8b0]
2156 Thread_954093 DispatchQueue_46513: -[DVTSourceControlWorkspaceBlueprint init] (QOS: UNSPECIFIED) (concurrent)
More file:
By the way, if apple did not support it. can you open Source this code of XCS's all files?
Thanks