MacMini with macOS 10.5.4 ( 19E287) Kernel Panic running Apache Kafka with a lot of threads
Hi,
macOS 10.5.4 ( 19E287) Kernel Panic, 32 GByte of Ram, i7 , six cores.
Since yesterday I'm trying to do some test runs of a Java-based Console Application which uses Apache Kafka as a message broker. During the startup the java app creates quite a number of threads which are used to process incoming messages into Kafka and route them to their data sink destination.
Wenn the App has setup all the topics in Kafka - sooner or later the Mac just shuts down and the screen goes black. After a couple of seconds the system reboots again and asks me to send a report to Apple - which I did for five times now.
The output of ulimit shows this:
Atlas-Mini-3:MessageHubEventManagement marxfr$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 524288
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 5568
virtual memory (kbytes, -v) unlimited
Is start the JVM with 4GB Heapsize and the the -XX:-MaxFDLimit option.
I'm pretty sure this is a serious bug in MacOS. It would be ok if the OS kills the Java App but a Kernel Panic should NOT happen.
Cheers,
Frank