Post

Replies

Boosts

Views

Activity

Reply to udp.pcbcount leak
Using the methods you provided, except for restarting the machine, the issue did not improve. One of the great features of Mac is its excellent lid wake functionality, which allows for a seamless experience without the need to shut down the computer. If frequent restarts are required to reduce CPU overheating and restore performance, it would significantly impact the Mac user experience. From my understanding, this problem is not uncommon (among the five people I know who use Mac, one of them also experiences this issue). However, the problem may not be easy to identify, as it requires individuals with a background in computer systems to dig deeper into the system mechanisms to discover some clues. Most ordinary Mac users may only notice severe CPU overheating or slower system performance. In my opinion, it would be helpful if macOS developers could observe or address this issue at the operating system level. Here are some suggestions: For example, provide a command that can monitor which process is consuming a significant number of UDP PCBs. Users can then uninstall or kill the identified process. If a process exceeds a certain threshold of UDP PCB usage, automatically kill the process and record it in system logs, similar to the OOM (Out of Memory) mechanism in Linux. If it is a bug in the macOS kernel, such as a bug in the PCB management mechanism triggered by an application, it is hoped that it can be fixed promptly. This issue has been bothering me for several months, and I hope Apple can assist me in resolving it. I strongly prefer not to restart my macbook frequently. @HunterBD
Jun ’23