pymobiledevice3
pymobiledevice3 copied to clipboard
DVT commands require a remount after a certain amount
Service: com.apple.instruments.server.services.deviceinfo Function: runningProcesses
After 250 consecutive calls on the following models, a socket connection failure occurs, and restarting the device restores it
Test Models
- iPhone XR (16.6)
- iPhone SE (15.8)
Very stable, still normal after 500 rounds
Test Models
- iPhone 13 Pro (iPhone13,3) (17.2)
Test code
for i in $(seq 300)
do
echo $i
pymobiledevice3 developer dvt proclist
done
That is right and unfortunately the expected bahvior. DTServiceHub has a kqueue leak, leading to too many open FDs. The only solution is to either reboot afterwards or remount the DDI.
Hi @doronz88 , I just met the same issue, but unfortunately remounting the DDI is not fixing it. Is there anything else that can be done without having to reboot the device?
@corrrso I don't believe so. I believe this issue was fixed on iOS 17