Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [kernel]

The core part of an operating system, responsible for managing resource allocation.

1
vote
0answers
22 views

What is kernel_task writing and reading?

After moving from High-Sierra to Mojave I noticed my Mac (23", fusion-drive 3.4GHz) has become much slower. In particular, I noticed that just after the startup I have a significant amount of disk ...
-1
votes
0answers
13 views

Why is kernel_task lagging my computer, and how can I limit it? [duplicate]

Kernel_task on my computer jumps from 3-380/400 CPU usage whenever I'm playing games, and causes my computer to lag. Is there any way to safely limit it. Edit: kernel_task's CPU usage is spiking with ...
1
vote
3answers
70 views

grep command is killed

I am running grep -o $string ~/giant_file where string="foo bar baz" This process keeps being killed after running for awhile and generating results, and I don't understand why. When it is killed, ...
1
vote
1answer
86 views

Why is Mac OSX temp. directory in weird path

Comparing to Linux systems OSX default temporary directory seems to be in a weird path. I want to know why that is, at least how is this organized. Here are my observations: My echo "$TMPDIR" ...
1
vote
1answer
63 views

How to remove all traces of a kext?

I am trying to fully remove a kernel extension which I installed by mistake, and I can't figure out how to remove it from the Disabled Software list. It appears in System Profiler and also in System ...
0
votes
1answer
60 views

What is the purpose of speculative memory?

Recently, I've found out that Darwin has speculative memory metric. But, I don't know what the purpose of speculative memory. The memory metric can be checked using vm_stat command on terminal. Mach ...
3
votes
1answer
96 views

Why do most processes run as children of launchd?

When did most processes run as a child of launchd instead of the kernel pid ?
0
votes
0answers
174 views

Kernel panics due to Parallels Desktop or Apple's own problem with graphics controller?

Twice this week my MacBook Pro Retina has suffered kernel panics for the first time after years of faithful service. This coincides with me upgrading and beginning to use Parallels 14.0.1, so I ...
5
votes
1answer
75 views

What is this security feature called?

What is this "System software from developers" security feature called and where can I find the technical details for how it works with applications (like AVG)? I believe this is a kernel extension, ...
1
vote
0answers
33 views

Dtrace working but no kernel data can be output?

I have for a long time run as sip -without dtrace to use dtrace and this is fine but a few apps I want to read data from seen to run in kernel mode (Little Snitch has several components for instance). ...
0
votes
1answer
53 views

Problem with kernel_task

It's about 3 days that I can't do anything with my macbook air because the kernel_task is eating up the CPU. So I found this but the command csrutil disable/enable doesn't work on the terminal (El ...
4
votes
0answers
85 views

Fake ethernet interfaces (feth / if_fake)? Anyone ever seen this?

I've been digging into Darwin source to try to find some way to create virtual Ethernet interfaces on Mac/Darwin without adding a kernel extension like tuntaposx. In doing so I've found something ...
2
votes
2answers
385 views

Where can I find Mojave Kernel Headers?

I'm trying to get a hold of the Kernel Headers for 10.14 Mojave, but even though the Beta version (even two actually) was already released, XNU's repository (both here and here) is still only up-to-...
1
vote
0answers
15 views

`dtrace_deadman_timeout` modification for dtrace scripts such as dtruss?

When running some intensive debugging that needs to run on the order of about 5 minutes, I'm finding that dtrace's deadman switch is being triggered regularly and cannot get to the error that is being ...
-1
votes
0answers
69 views

kernal_task is taking all processing & slowing down Macbook Pro mid 2015 [duplicate]

I know this question has been asked and answered before but none of the solutions worked for me thats why I'm asking a new question. I have MacBook Pro Mid 2015 From few days I've encountered a ...
0
votes
1answer
325 views

Macbook pro touch bar spoiled with kernel panics [duplicate]

After dropping my macbook pro, my touch bar has stopped working and I am getting frequent kernel panics Does anyone have any idea how to solve this or which part of the macbook is faulty? Thank you!...
2
votes
0answers
506 views

kernel_task writes huge amounts of data to disk (> 1TB) - how to diagnose?

My MacBook (2016 with TouchBar) running macOS 10.13 has a 512GB SSD. Looking at the activity monitor after a couple of weeks of uptime (most of it spent in standby), kernel_task shows 1.43TB (!) of ...
1
vote
0answers
66 views

Kernel_Task using too much RAM [duplicate]

ever since updating my mac to high sierra my kernel_task has been using way too much RAM up to 1gb (i have 4 gb of RAM). Any solutions on how to resolve this?
1
vote
1answer
3k views

Free up unused memory from kernel_task

I am a web developer, and sometimes I encounter software bugs that has runaway threads or used up available memory in a browser process. Terminating the offending Chrome process will free up the ...
2
votes
1answer
1k views

How to view the kernel on MacOS?

How to view the kernel on MacOS? I am learning Linux command line by William Shotts, The Kernal directory can been accessed by : ls /bin # Contain Linux kernal, inital RAM disk image How to view ...
1
vote
0answers
238 views

Kernel Panic Once A Week

I get the exact same kernel panic on my iMac 5K Late 2014 Edition pretty much once a week. Does anyone know what is causing it? Anonymous UUID: F36129E9-69E1-B321-06F7-0519199C40B7 Tue Mar 6 ...
0
votes
1answer
32 views

Kernel Error screen

I have an older Macbook Pro which I haven't used much lately since purchasing a new Macbook Pro. The older one was near capacity and would get very hot. I could still turn it on and look for things ...
1
vote
3answers
1k views

High Sierra: WindowManager and kernel_task - Now you see it, now you don't!

I have long had issues with both Window Manager and kernel_task taking up seemingly inordinate amounts of resources on my systems going back in the OS release cycle for as long as I can remember, but ...
3
votes
2answers
718 views

High Sierra restored from ISO to USB drive stops at the stop sign

I've restored macOS High Sierra ISO file (downloaded from Torrent) to pendrive (16GB SanDisk's Cruzer Dial) using Disk Utility, however when booting from it (by pressing Alt and selecting the drive), ...
2
votes
0answers
78 views

That Kernel Process Bloat

This is probably a question best suited for Apple Support Forums, but after asking variants of this question there to no avail, I will try here instead. I have a 2012/2013 2.3 GHz i7 Mac Mini w/ 16 ...
1
vote
2answers
221 views

A question about installing kernels (related to running Hydrogen with Atom)

I have a really basic question, but the more I read, the more confused I get: How do I install pip so I can install kernels? This question came about when I tried to install the Hydrogen package to ...
4
votes
5answers
6k views

macOS Sierra, kernel_task running taking more than 400% of CPU

After upgrading my MacBookPro to macOS Sierra, CPU is running very fast. When I tried to debug the issue, here is what I have found. Solutions that I have already tried. Reset SMC Reset PRAM Tried ...
17
votes
3answers
9k views

What does it mean for consumers that Apple has released MacOS kernel as open source?

https://techcrunch.com/2017/10/01/apple-open-sourced-the-kernel-of-ios-and-macos-for-arm-processors/ Does this mean we'll see other Computers (which are not Apple built) run the MacOS? If not, then ...
6
votes
3answers
6k views

Where to see kernel startup messages after boot?

I set my kernel to boot up verbose using sudo nvram boot-args="-v" These logs are what I wanted to see, but how can I view the log after booting? I searched all log files without success.
9
votes
1answer
11k views

Sleep Wake Failures because of watchdog on 10.13 (supplemental update)

I have experienced this twice in the last 48 hours, both occurring around the same time. Are the times correlated or coincidence? Can anyone shed some light on this for me? Relevant lines from system....
3
votes
1answer
2k views

Is it safe to quit kernel_task?

I recently quit kernel_task because it was taking a lot of cpu time, when I was about to force quit it it says you will be logged out but I did not care but then after I force quit it I thought does ...
2
votes
1answer
109 views

Difference Between macOS Locking and a Kernel Panic

Why is it that macOS Sierra, when something goes awry, sometimes has a kernel panic, but other times just freezes completely (can't move mouse, use keyboard, etc.)? Is one worse than the other? ...
1
vote
1answer
86 views

How to ignore particular USB device given a vid and pid?

I'm running Sierra v10.12.5. I'm trying to flash an stm32f100 chip using openocd. As per the documentation: For info the original ST-LINK enumerates using the mass storage usb class; however, its ...
1
vote
1answer
60 views

Installed PC 16gb Ram into Macbook Pro (15-inch, Early 2011) - Errors happening

I installed PC Ram into my Early 2011 15 inch Macbook Pro (Ver. Sierra 10.12.4). It works great but occasionally restarts without any warning and sometimes, when I turn it on, this code appears. It is ...
1
vote
1answer
835 views

Mac Mini - New SSD - Randomly restarting

I've had my 2011 Mac Mini for a while. About a year ago the internal HDD decided to give up. Oh well. I just now finally got around to being able to replace the hard drive. I decided to go with an ...
46
votes
3answers
13k views

AppleCare engineer says Macs need weekly reboots b/c “kernel expires”. What's that mean?

I'm running MacOS Sierra on a mid-2014 MacBook Pro. About once/week, Safari’s CPU usage becomes very high, and it becomes very laggy. In the last instance I had just six windows open, none of which ...
1
vote
0answers
771 views

kernel_task CPU usage with SIP on a MacBookPro8,2 with no battery

Is there any evidence or technical documentation to support the notion that System Integrity Protection can cause excessive use of the CPU by kernel_task in some situation? Background No battery. ...
0
votes
1answer
48 views

Get everything back on OSX

I really need your help. I've tried to improve my graphic card with the help of this Video https://www.youtube.com/watch?v=l5EKzHq4pAk&t=117s cd /S*/L*/Ext*/AppleIntelSNBGraphicsFB.kext/C*/M* ...
3
votes
1answer
2k views

kernel_task Virtual Memory Size too high

I'm using MacBook Pro ("Core i7" 2.5 15" Mid-2015 (DG) 2.5 GHz Core i7 (I7-4870HQ) 16GB RAM) with MacOS Sierra 10.12.4 on it. After connecting a new LG 34UC98 Monitor I faced some heat problems and ...
1
vote
1answer
792 views

iOS: Where is /proc/?

Where is /proc/ in iOS? Or rather, why is it absent from the root directory structure? It's typically a crucial interface to the kernel of any UNIX-like operating system; what else is in place to ...
2
votes
0answers
321 views

Kernel Extension Not Loaded

I built a self-made kernel extension (named KAuthTest.kext) and would like to test it out. So in a VM running macOS 10.12.3, I did the followings: disable SIP by running csrutil disable in recovery ...
3
votes
1answer
894 views

Macbook pro wont boot, Kernel cache read error 0x6

I have recently installed macOS Sierra and sometimes my Macbook pro mid-2012 boots up properly (rarely). Otherwise it does not boot. When I try to boot it with cmd+v , it shows following text: Read ...
3
votes
2answers
2k views

Why kernel log is empty?

My macOS 10.12.3 crashed while suspended and I want to look in the log files to determine where the problem comes from. I opened System Information and in the Logs I found a Kernel log entry linked ...
1
vote
1answer
34 views

Forcefully disconnect GPS unit from kernel

Google chrome keeps giving out my location to websites. Disabling Location Services does not help. I may have to physically disconnect the GPS unit, but before I void AppleCare I would like to attempt ...
3
votes
0answers
39 views

How to isolate sys / kernel vars that may cause odd problems and “no mountable file systems” on a high memory system?

How would one ascertain what the bottleneck is on a system with high memory (128 GB RAM) and starts getting peculiar errors when there's only 10-20 GB remaining free? I'm getting various odd issues ...
2
votes
0answers
1k views

kernel_task high CPU consumption and slow Mac

It's not a new problem, I'm facing it for sometime now. My MacBook runs fine all the time but this kernel_task issue occurs whenever it awakes from sleep. No issues with DisplaySleep. I can't put the ...
2
votes
0answers
914 views

How to sniff/capture/trace USB data in recent macOS?

The old 'USB Prober.app' does not work after Mavericks. Is there way to capture USB data in Sierra? To be specific, I got a LG UltraFine 4K monitor, whose brightness can only be controlled from macOS ...
6
votes
1answer
2k views

CPU stuck at 0.8Ghz on iMac late 2013 2.7Ghz because of kernel_task

I know it seems like this question is like the dozens of other questions about CPU overheating and kernel_task overloading it, but nope. I found an iMac (yep, found it. In the trash). I fixed it (...
4
votes
2answers
761 views

In which version(s) did macOS transition from 32-bit to 64-bit?

From my research, it seems that macOS transitioned from 32-bit x86 to 64-bit x64 across the following versions: Kernel App Support 10.4 Tiger x86 ...
3
votes
1answer
938 views

My MacBook pro late 2011 15" has 800% usage with kernel_task

So my MacBook Pro is getting super slow and laggy after a while of usage. I updated to Sierra today and my kernel_task is sky-rocketing - hitting up to 1100% and I have no idea why? I've tried all ...