git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git push --mirror hangs

From
JHJoonas Harjumaki <joonas.harjumaki@fi.abb.com>
Date
Apr 19, 2021, 17:11 UTC
Message-ID
<AM6PR06MB4263DD69639AFD60663D1DD6A7499@AM6PR06MB4263.eurprd06.prod.outlook.com>

I'm trying to "git push --mirror https://[project]@dev.azure.com" to Azure DevOps repository. The size-pack is 3.70 GiB. I have git version 2.31.1 from http://ppa.launchpad.net/git-core/ppa/ubuntu on Ubuntu 20.04. iotop or top are not reporting any load.

iotop: Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s Current DISK READ: 0.00 B/s | Current DISK WRITE: 0.00 B/s

top:
top - 19:58:05 up 12:33,  1 user,  load average: 0,18, 0,27, 0,22
Tasks: 285 total,   1 running, 284 sleeping,   0 stopped,   0 zombie
%Cpu(s):  1,4 us,  1,4 sy,  0,0 ni, 97,1 id,  0,0 wa,  0,0 hi,  0,0 si,  0,0 st
MiB Mem :   9727,7 total,   1069,0 free,   1123,0 used,   7535,8 buff/cache
MiB Swap:   2048,0 total,    854,2 free,   1193,8 used.   8195,3 avail Mem 
    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                             
  84514 ssc600    20   0   14528   4116   3308 R   6,2   0,0   0:00.01 top                                                                                                                                 
      1 root      20   0  169028  13284   8504 S   0,0   0,1   0:21.42 systemd                                                                                                                             
      2 root      20   0       0      0      0 S   0,0   0,0   0:00.02 kthreadd                                                                                                                            
      3 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rcu_gp                                                                                                                              
      4 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rcu_par_gp                                                                                                                          
      6 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/0:0H-kblockd                                                                                                                
      9 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 mm_percpu_wq                                                                                                                        
     10 root      20   0       0      0      0 S   0,0   0,0   0:42.87 ksoftirqd/0                                                                                                                         
     11 root      20   0       0      0      0 I   0,0   0,0   0:12.28 rcu_preempt                                                                                                                         
     12 root      rt   0       0      0      0 S   0,0   0,0   0:00.30 migration/0                                                                                                                         
     13 root     -51   0       0      0      0 S   0,0   0,0   0:00.00 idle_inject/0                                                                                                                       
     14 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/0                                                                                                                             
     15 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/1  

Git has been stuck for an hour and half after printing these: Writing objects: 100% (116519/116519), 3.69 GiB | 2.99 MiB/s, done. Total 116519 (delta 74981), reused 116519 (delta 74981), pack-reused 0 18:42:45.650572 trace.c:487 performance: 1266.567544063 s: git command: /usr/lib/git-core/git pack-objects --all-progress-implied --revs --stdout --thin --progress 18:42:45.743254 pkt-line.c:80 packet: git> 0000 18:42:46.465637 http.c:703 <= Recv header, 0000000013 bytes (0x0000000d) 18:42:46.465693 http.c:715 <= Recv header: HTTP/2 200 18:42:46.465707 http.c:703 <= Recv header, 0000000024 bytes (0x00000018) 18:42:46.465716 http.c:715 <= Recv header: cache-control: private 18:42:46.465727 http.c:703 <= Recv header, 0000000053 bytes (0x00000035) 18:42:46.465734 http.c:715 <= Recv header: content-type: application/x-git-receive-pack-result 18:42:46.465744 http.c:703 <= Recv header, 0000000124 bytes (0x0000007c) 18:42:46.465752 http.c:715 <= Recv header: p3p: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT" 18:42:46.465763 http.c:703 <= Recv header, 0000000055 bytes (0x00000037) 18:42:46.465770 http.c:715 <= Recv header: x-tfs-processid: [stripped] 18:42:46.465778 http.c:703 <= Recv header, 0000000064 bytes (0x00000040) 18:42:46.465785 http.c:715 <= Recv header: strict-transport-security: max-age=31536000; includeSubDomains 18:42:46.465795 http.c:703 <= Recv header, 0000000050 bytes (0x00000032) 18:42:46.465801 http.c:715 <= Recv header: activityid: [stripped] 18:42:46.465810 http.c:703 <= Recv header, 0000000053 bytes (0x00000035) 18:42:46.465833 http.c:715 <= Recv header: x-tfs-session: [stripped] 18:42:46.465842 http.c:703 <= Recv header, 0000000051 bytes (0x00000033) 18:42:46.465849 http.c:715 <= Recv header: x-vss-e2eid: [stripped] 18:42:46.465858 http.c:703 <= Recv header, 0000000082 bytes (0x00000052) 18:42:46.465866 http.c:715 <= Recv header: x-vss-userdata: [stripped] 18:42:46.465899 http.c:703 <= Recv header, 0000000029 bytes (0x0000001d) 18:42:46.465910 http.c:715 <= Recv header: x-frame-options: SAMEORIGIN 18:42:46.465919 http.c:703 <= Recv header, 0000000068 bytes (0x00000044) 18:42:46.465926 http.c:715 <= Recv header: request-context: [stripped] 18:42:46.465936 http.c:703 <= Recv header, 0000000048 bytes (0x00000030) 18:42:46.465945 http.c:715 <= Recv header: access-control-expose-headers: Request-Context 18:42:46.465954 http.c:703 <= Recv header, 0000000033 bytes (0x00000021) 18:42:46.465961 http.c:715 <= Recv header: x-content-type-options: nosniff 18:42:46.465972 http.c:703 <= Recv header, 0000000104 bytes (0x00000068) 18:42:46.465980 http.c:715 <= Recv header: x-msedge-ref: [stripped] 18:42:46.465990 http.c:703 <= Recv header, 0000000037 bytes (0x00000025) 18:42:46.465996 http.c:715 <= Recv header: date: Mon, 19 Apr 2021 15:42:45 GMT 18:42:46.466009 http.c:703 <= Recv header, 0000000002 bytes (0x00000002) 18:42:46.466017 http.c:715 <= Recv header: 18:42:46.466294 pkt-line.c:80 packet: sideband< \2\15Analyzing objects... (41535/116519) remote:

Is this normal and I should just wait, or is there a bug in git or Azure?
Joonas Harjumäki
Next: brian m. carlson
Message 1 of 3 in “Git push --mirror hangs”
  1. Joonas HarjumakiApr 19, 2021
  2. brian m. carlsonApr 20, 2021
  3. Joonas HarjumakiApr 20, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.