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



Posted on Apr 24, 2020 2:32 AM

Reply

Similar questions

3 replies

Apr 25, 2020 10:34 AM in response to marxfr

Hi Frank,


Thanks for reaching out in Apple Support Communities. I understand that when running tests using Java and Apache Kafka you're seeing unexpected shutdowns from your Mac that result in error reports. I can see why you'd reach out about this behavior; I'd like to help. I'd recommend taking a look at the information and suggestions in the following resource, including contacting Apple if necessary: If your Mac restarted because of a problem


Have a great weekend.




This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

MacMini with macOS 10.5.4 ( 19E287) Kernel Panic running Apache Kafka with a lot of threads

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