Since Beta 15, I’m getting “too many open files” from the host osx after heavy DB I/O (mysql, oracle), soon after that Docker for Mac crashes. Could be related.
OSX: 10.11.5
Wasn’t allowed to attach files to the post… please find a truncated version of the crash report:
Process: Docker [41953]
Path: /Applications/Docker.app/Contents/MacOS/Docker
Identifier: com.docker.docker
Version: 1.11.2-beta15 (9168)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Docker [41953]
User ID: 501
Date/Time: 2016-06-14 15:18:56.216 +0200
OS Version: Mac OS X 10.11.5 (15F34)
Report Version: 11
Anonymous UUID: 9B6E2B0D-059C-DC7B-A93E-222515899820
Sleep/Wake UUID: 9B6F24CF-2F1F-4073-8CFA-03FE7B6AECB7
Time Awake Since Boot: 190000 seconds
Time Since Wake: 10000 seconds
System Integrity Protection: enabled
Crashed Thread: 2 Dispatch queue: com.apple.root.background-qos
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: 'Failed to set posix_spawn_file_actions for fd -1 at index 2 with errno 9’
terminating with uncaught exception of type NSException
abort() called
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff989484f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff95964f7e objc_exception_throw + 48
2 CoreFoundation 0x00007fff989af4bd +[NSException raise:format:] + 205
3 Foundation 0x00007fff943d085d -[NSConcreteTask launchWithDictionary:] + 2494
4 Docker 0x00000001043ee177 TTSf4gs_d___TZFC6Docker7Backend15sendRequestSyncfSST5errorGSqSS_4respSS + 791
5 Docker 0x00000001043f1a93 TFZFC6Docker7Backend27listenForDockerStateChangesFT_T_U_FT_T + 1459
6 libdispatch.dylib 0x00007fff94ebb93d _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x00007fff94eb040b _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff94eb429b _dispatch_root_queue_drain + 1890
9 libdispatch.dylib 0x00007fff94eb3b00 _dispatch_worker_thread3 + 91
10 libsystem_pthread.dylib 0x00007fff9b98b4de _pthread_wqthread + 1129
11 libsystem_pthread.dylib 0x00007fff9b989341 start_wqthread + 13
Global Trace Buffer (reverse chronological seconds):
0.889647 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb532f94cd0) failed
0.889938 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb53533a210) failed
0.890563 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb5352b01c0) failed
0.890695 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb5352b0770) failed
0.890826 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb532e8cb40) failed
0.890938 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb5352af8b0) failed
0.891074 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb5352b1290) failed
0.891204 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb532e8b160) failed
0.891321 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb532e8b2e0) failed
0.891414 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb532e8b2e0) failed
0.891529 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb532e8bd60) failed
0.891661 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb532e8b160) failed
0.891779 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb532e8b150) failed
0.891901 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb532e8b130) failed
0.892054 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb5352b0350) failed
0.892410 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb532f94cd0) failed
0.892589 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb5352afb40) failed
147.500089 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb5352b2b30) failed
153.934476 libsystem_trace.dylib 0x00007fff9b6b30fa dyld_image_header_containing_address(0x7fb5352aafa0) failed
1054.548247 CFNetwork 0x00007fff857413cb TCP Conn 0x7fb53526aed0 SSL Handshake DONE
1054.623439 CFNetwork 0x00007fff857412a7 TCP Conn 0x7fb53526aed0 starting SSL negotiation
1054.623620 CFNetwork 0x00007fff8573fc71 TCP Conn 0x7fb53526aed0 complete. fd: 1313, err: 0
1054.624065 CFNetwork 0x00007fff857ce54b TCP Conn 0x7fb53526aed0 event 1. err: 0
1054.686833 CFNetwork 0x00007fff8573ef43 TCP Conn 0x7fb53526aed0 started
2228.930569 CFNetwork 0x00007fff857413cb TCP Conn 0x7fb5352758e0 SSL Handshake DONE
2229.161055 CFNetwork 0x00007fff857412a7 TCP Conn 0x7fb5352758e0 starting SSL negotiation
…
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1683
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 11391567
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=294.3M resident=0K(0%) swapped_out_or_unallocated=294.3M(100%)
Writable regions: Total=93.7M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=93.7M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate.framework 256K 3
Activity Tracing 2048K 2
CG backing stores 1556K 5
CG image 256K 36
CG shared images 272K 9
CoreAnimation 192K 30
CoreUI image data 2036K 18
CoreUI image file 224K 5
Dispatch continuations 8192K 2
Foundation 24K 3
Image IO 100K 2
Kernel Alloc Once 8K 3
MALLOC 47.9M 36
MALLOC guard page 32K 7
Memory Tag 242 12K 2
OpenCL 24K 4
Process Corpse Info 2048K 2
STACK GUARD 56.0M 13
Stack 13.1M 13
VM_ALLOCATE 180K 26
__DATA 28.7M 282
__IMAGE 528K 2
__LINKEDIT 95.6M 20
__TEXT 198.7M 288
__UNICODE 552K 2
mapped file 143.0M 42
shared memory 16.3M 11
=========== ======= =======
TOTAL 617.4M 841