autopear / ipainstaller

Install IPA from command line
245 stars 79 forks source link

phone reboots during backup (can't use with large sized apps) #15

Open mailinglists35 opened 9 years ago

mailinglists35 commented 9 years ago

I started backing up a long list of apps via screen.

ssh connection is dropped, springboard has crashed and never returns to lockscreen.

I believe this is due to high cpu usage to which iOS tries to respond with respringing.

The next time I'll run with nice (now I can't even touch it until it finishes, ssh connections are rejected, it only replies to ping) but maybe there could be some improvement in the ipainstaller itself?

mailinglists35 commented 9 years ago

oh, it eventually rebooted. trying again, let's see if nice makes a difference.

mailinglists35 commented 9 years ago

ok, better, no more watchdog timeouts, resprings and reboots. I hope I'll remember to run it with nice -n 19 next time.

mailinglists35 commented 9 years ago

a second run caused ios to restart springboard when backing up a large app + data (200Mb size) even with nice -n 19. then it rebooted in the middle of running. I've got no other idea what to do.

mailinglists35 commented 9 years ago

@autopear what would you suggest? Can you optimize some things? at first ipainstaller looked like a great tool, but these problems keep me from actually being able to use it.

mailinglists35 commented 9 years ago

perhaps you could implement a smarter less memory-intensive compression method? this seems to also be an issue:

{"os_version":"iPhone OS 8.4 (12H143)","version":"105","bug_type":"198"}
Incident Identifier: 16DA2B63-D63F-4561-B949-C5FB155D39CE
CrashReporter Key:   429fb215c546fa911af2cfacc2b648a09015d54a
Hardware Model:      iPhone4,1
OS Version:          iPhone OS 8.4 (12H143)
Kernel Version:      Darwin Kernel Version 14.0.0: Wed Jun 24 00:47:10 PDT 2015; root:xnu-2784.30.7~30/RELEASE_ARM_S5L8940X
Date:                2015-07-23 18:18:22 +0300
Time since snapshot: 59 ms

Free pages:                              966
Active pages:                            3794
Inactive pages:                          2129
Speculative pages:                       299
Throttled pages:                         101789
Purgeable pages:                         0
Wired pages:                             20432
File-backed pages:                       5753
Anonymous pages:                         469
Compressions:                            0
Decompressions:                          0
Compressor Size:                         0
Uncompressed Pages in Compressor:        0
Page Size:                               4096
Largest process:   ipainstaller

Processes
     Name       |            <UUID>                |     CPU Time|     rpages|       purgeable| recent_max| lifetime_max| fds |  [reason]         | (state)

       accountsd <240a31724d37368d98a2026956452031>         0.388         303                0          +9           840   50   [vm-pageshortage]   (daemon) (idle)
         healthd <ac1792e455b83b6693a006efa45ce7bf>         0.332         274                0           -           811   50    [vm-thrashing]     (daemon) (idle)
   nsurlsessiond <b4faabcacfe633b8ba3f4236d6f1c45b>         1.688         426                0           -          1123   50    [vm-thrashing]     (daemon)
            flux <549a79a175d13df28f1d8bd8853b853d>         0.233         239                0           -          1183   50    [vm-thrashing]     (daemon)
      MobileMail <098dfcafafa539a3be5c0f04715b760e>        16.989        3263                0           -         10232  100    [vm-thrashing]     (continuous)
             lsd <70f953b4d3e03a62b81d39ceb50bfd43>         2.932         236                0           -           925   50    [vm-thrashing]     (daemon)
            tccd <ae45070d13493e9f8bb020175605db66>         1.100         225                0           -           649   50    [vm-thrashing]     (daemon)
     Preferences <382bee74cfbe3512906c597b272c23cf>         3.631        1249                0           -          2825   50                       (frontmost) (resume)
        BTServer <3d7930d10a573377abfc0fbf07392cae>         0.475         379                0           -          1536   50                       (daemon)
       lockdownd <0e78cb9c875b383ba70ed6792260e9e5>         1.273         229                0           -          1247   50                       (daemon)
         imagent <41a9609fbd59333db9492336db44bd70>         0.623         352                0           -          1070   50                       (daemon)
      discoveryd <c3fe3d2706dd30c68d6c073fa361b3f9>         0.964         381                0           -          1019   50                       (daemon)
         syslogd <4b8355943b933c308dba95b29300bda1>         1.348         182                0           -           293   50                       (daemon)
        cfprefsd <48e40cbd0e9c3a868fd240f390f01923>         1.686         229                0          +1           615   50                       (daemon)
   iaptransportd <83061ec31e7a3022a985cdb034abb546>         0.270         291                0           -          1018   50                       (daemon)
    mediaserverd <a3af388b2a7735f0aa55d9d7203f4206>         2.361         718                0           -          2840   50                       (daemon)
           wifid <25eb87a062d33369b979b8044845e52a>         1.200         441                0           -          1345   50                       (daemon)
identityservices <eebcf5f746c33f92bb848545e1206468>         1.142         582                0           -          1523   50                       (daemon)
       locationd <a90e5ab8dc3f3c5583ba3127ed62035d>         4.471         937                0           -          3034   50                       (daemon)
          powerd <e3f6e7fc9b163553b10e004ab4ac6c32>         0.428         156                0           -           538   50                       (daemon)
            apsd <319295e137fa34cbb72577a3a2807056>         1.109         491                0           -          1651   50                       (daemon)
        networkd <b3d3a0c493e031b28503cf6646ea9b51>         1.929         589                0           -          1498   50                       (daemon)
     dataaccessd <7f41c5c09dc83af7ada6e92876460a3a>         4.194        1025                0           -          2622   50                       (daemon)
             vmd <8c453ebf27b83439b212a8c98ad001b3>         0.184         237                0           -           700   50                       (daemon)
 assistivetouchd <e0d72ab6c3d03bf683054092f51d9816>         1.272         654                0           -          1870   50                       (daemon)
        sandboxd <485643a21ced3d67bdfb62d7245b95b2>         0.095         118                0           -           440   50                       (daemon)
     SpringBoard <add5c286f7c13274a3c8b27e2ff6db60>        37.667        4361                0           -         14130   50                      
      backboardd <6b6d375799253fc69e03d1e0c2b9d278>       143.788        5634                0           -          4546   50                       (daemon)
    fairplayd.H1 <5d77d69ee1613de6ae3cb95e84decae1>         0.787         133                0           -          1145   50                       (daemon)
         configd <f3314fb6f96539d48c2ddc2842197d49>         1.721         374                0           -          1079   50                       (daemon)
       fseventsd <1341cd1cc3cb381ca883c3f5ddbafae1>         0.499         206                0           -           432   50                       (daemon)
  UserEventAgent <cceb8ef2f4a43943bf1818b60869616c>         4.469         549                0           -          1835  100                       (daemon)
      assertiond <9c6267fa27de3b2e9de6ba1a6cc463af>         0.540         206                0           -           678   50                       (daemon)
       distnoted <22ad7947547e3290a264ccba1c7baa95>         0.178         130                0           -           362   50                       (daemon)
   wirelessproxd <fe4ec07fabba321393c27d77e71f4f2b>         0.147         191                0           -           613   50                       (daemon)
      aggregated <50ccd2c944cb3a2d8e3ff210d54a0e9c>        21.195         885                0           -          1713   50                       (daemon)
    screen-4.0.3 <00000000000000000000000000000000>         0.091          78                0           -           189   25                       (daemon)
            bash <00000000000000000000000000000000>         0.066         120                0           -           299  256                       (daemon)
    ipainstaller <f34362a1e6cf31d886b6d22ad03905b8>        98.423       75788                0           -         76039  256                       (daemon)
filecoordination <7fa34f7bb3603b5593360404d4d9ffe4>         0.118         189                0           -           715   50                       (daemon)
      CommCenter <1897fbfd5bea3f6eb91cf5f6cb77af49>         4.494         992                0           -          4173   50                       (daemon)
         notifyd <fc8b140f7fd238cfb881aa7611874b03>         2.100         231                0           -           299   50                       (daemon)

**End**
systwi commented 5 years ago

Would like to see an update made to fix this. Using iOS 10.2, iPhone 5, h3lix RC5.