Open emkey1 opened 2 years ago
This has been greatly mitigated as of release 1.2.4 build 363. I'm leaving it open though as I do (rarely) see it occur when the load is heavy for a prolonged period of time.
To give a bit more detail, internally iSH-AOK does not deal very well with tasks/threads being deleted. Basically it reaps a thread/task as soon as it can without making any sort of allowance for there possibly being in progress operations like reading information about the process (top, htop) or signals in flight for instance. The later likely being the cause of processes sometimes going to sleep and never waking up.
I've made a lot of internal changes to try to deal with this, and things are MUCH better, but there is still room for improvement.
Top works, but htop it will have segmentation faults. I believe it is that htop thinks that the user is running a actual Linux kernel and taps into a syscall that does not exist.
That is just a theory, the information from the htop crash and dmesg does not seem to help as it only shows this:
Top does not however does not crash as it does not tap into those syscalls that htop used instead taps into the kernel to see processes, which syscall would be avaiable on iSH including AOK.
😡that [https://htop.dev/]() forwarding to GitHub page who now like the rest of the DarkWeb requires 2FA instead of being an open-source, publicly-available WiKi.
iSH-AOK crashes under heavy load with a memory fault.