Process killed.cpu usage - exceeding limit of 15% cpu over 60 seconds.

Our app is used for multi person voice call. There is inexplicable hanging and background flash back on the mobile phone system version after ios15. It will appear after ios15. The current crash log is:

OS Version:       iPhone OS 15.3 (Build 19D50)
Architecture:     arm64e
Report Version:   35

Data Source:      Microstackshots
Shared Cache:     66BD3798-5A09-3367-BFD4-23D74646167A slid base address 0x180244000, slide 0x244000

Command:          XXXX
Path:             /private/var/containers/Bundle/Application/56608046-28A9-4304-AB21-D8BD53B726F8/XXXX.app/XXXX
Identifier:       com.XXXX.XXXX
Version:          1.4.5 (52)
Beta Identifier:  81FA4D3D-4189-45E4-9053-2DD141C6F600
Architecture:     arm64
PID:              771

Event:            cpu usage
Action taken:     Process killed
CPU:              9 seconds cpu time over 38 seconds (24% cpu average), exceeding limit of 15% cpu over 60 seconds
CPU limit:        9s
Limit duration:   60s
CPU used:         9s
CPU duration:     38s
Duration:         38.03s
Duration Sampled: 36.79s
Steps:            10

Hardware model:   iPhone11,8
Active cpus:      6
HW page size:     16384
VM page size:     16384

Advisory levels:  Battery -> 3, User -> 3, ThermalPressure -> 0, Combined -> 3
Free disk space:  63.56 GB/119.16 GB, low space threshold 150 MB

Heaviest stack for the target process:
  8  ??? (libsystem_pthread.dylib + 3744) [0x1f10b2ea0]
  8  ??? (libsystem_pthread.dylib + 6564) [0x1f10b39a4]
  4  ??? (<801D7109-F70B-3156-8669-0309C97E8857> + 724392) [0x106708da8]
  3  ??? (<801D7109-F70B-3156-8669-0309C97E8857> + 718920) [0x106707848]
  3  ??? (<801D7109-F70B-3156-8669-0309C97E8857> + 721660) [0x1067082fc]
  3  ??? (<801D7109-F70B-3156-8669-0309C97E8857> + 711444) [0x106705b14]
  2  ??? (libsystem_kernel.dylib + 8656) [0x1b7b7c1d0]

Hang backstage and be killed in the backstage for a short time. How to solve it? will iOS kill my app for high CPU usage IN THE Background scene? Is the limit of exceeding 15% CPU in 60 seconds too low?And if so, is there a way to either disable that, or appeal for a higher CPU usage limit?

We are facing similar issue on our application. Our application get killed on background on iOS15.2.1 and iOS15.3. It seems to be no problem on iOS15, 15.1.

I guess high cpu usage rate threshold has been lowered from iOS15.2.x. (maybe from 80% in 60sec to 15% in 60sec!!). I hope this change will be reverted on future iOS release or I would like to know workaround this problem.

Same issue here, with our CarPlay navigation app that crashes with the 15% CPU over 60 seconds message when put into the background.

Also a symptom that we see (don't know if that is also the case for you guys) is that the app gets suspended for a longer time (between 30 secs and 30 minutes or so). That makes the app unusable in the background. We are not sure if that last one is related, but seems to occur from iOS 15.2.1 and iOS 15.3

this is mistake. please ignore this answer.

To Sam_V and Svantulden,

Are your app using CoreLocation in background? In my case, the issue seems to be gone when I stop using background location even if cpu usage rate exceed 15%. But our app definitely need background location...

Same problem here. We have an activity tracking app and people lock their phones to go out with it. We have advanced tracking based on raw sensor data and this uses more than 15% CPU. IOS 14 no problem. Also IOS 15 no problem with iphone 12/13, because they have more CPU resources and we stay under this new/undocumented limit. If you google you only find the 80% limit in the official documentation. Very annoying, our app is now not working anymore expect with Guided Access. Guided access is not really a solution though since it drains the battery because the screen stays on. Any work arounds would be awesome if you know one. I'm currently testing to play some audio because maybe the % limit does not apply to audio apps.

I have tested on iOS15.4 beta4. I’m not 100% sure but the issue seems to be gone.

We are also experiencing the same problem Audio based app using Agora and location services when the app is in the background it crashes with CPU exceeding limit 15% only happens on 15.2-15.3. It seems to have been fixed in 15.4.

We are experiencing the same issue seems to be fixed in 15.4

Process killed.cpu usage - exceeding limit of 15% cpu over 60 seconds.
 
 
Q