- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我使用 Bitbucket(git) 服务器,目前 git 克隆随机挂起。同一个 repo 有时会被克隆,有时会意外挂起,然后超时。服务器内存、CPU 使用率、磁盘空间都很好。请告知其他需要注意的地方以找到根本原因。这发生在 5 个不同的 Jenkins 从服务器上,因此它不限于单个服务器。
错误日志如下:
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "/usr/bin/git -c core.askpass=true fetch --tags --progress http://bitbucket.net/project.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout:
stderr: remote: Counting objects: 2506, done.
stdout:
stderr: remote: Counting objects: 2506, done.
remote: Compressing objects: 0% (1/2405)
remote: Compressing objects: 1% (25/2405)
remote: Compressing objects: 2% (49/2405)
remote: Compressing objects: 3% (73/2405)
remote: Compressing objects: 4% (97/2405)
remote: Compressing objects: 5% (121/2405)
remote: Compressing objects: 6% (145/2405)
remote: Compressing objects: 7% (169/2405)
remote: Compressing objects: 8% (193/2405)
remote: Compressing objects: 9% (217/2405)
remote: Compressing objects: 10% (241/2405)
remote: Compressing objects: 11% (265/2405)
remote: Compressing objects: 12% (289/2405)
remote: Compressing objects: 13% (313/2405)
remote: Compressing objects: 14% (337/2405)
remote: Compressing objects: 15% (361/2405)
remote: Compressing objects: 16% (385/2405)
remote: Compressing objects: 17% (409/2405)
remote: Compressing objects: 18% (433/2405)
remote: Compressing objects: 19% (457/2405)
remote: Compressing objects: 20% (481/2405)
remote: Compressing objects: 21% (506/2405)
remote: Compressing objects: 22% (530/2405)
remote: Compressing objects: 23% (554/2405)
remote: Compressing objects: 24% (578/2405)
remote: Compressing objects: 25% (602/2405)
remote: Compressing objects: 26% (626/2405)
remote: Compressing objects: 27% (650/2405)
remote: Compressing objects: 28% (674/2405)
remote: Compressing objects: 29% (698/2405)
remote: Compressing objects: 30% (722/2405)
remote: Compressing objects: 31% (746/2405)
remote: Compressing objects: 32% (770/2405)
remote: Compressing objects: 33% (794/2405)
remote: Compressing objects: 34% (818/2405)
remote: Compressing objects: 35% (842/2405)
remote: Compressing objects: 36% (866/2405)
remote: Compressing objects: 37% (890/2405)
remote: Compressing objects: 38% (914/2405)
remote: Compressing objects: 39% (938/2405)
remote: Compressing objects: 40% (962/2405)
remote: Compressing objects: 41% (987/2405)
remote: Compressing objects: 42% (1011/2405)
remote: Compressing objects: 43% (1035/2405)
remote: Compressing objects: 44% (1059/2405)
remote: Compressing objects: 45% (1083/2405)
remote: Compressing objects: 46% (1107/2405)
remote: Compressing objects: 47% (1131/2405)
remote: Compressing objects: 48% (1155/2405)
remote: Compressing objects: 49% (1179/2405)
remote: Compressing objects: 50% (1203/2405)
remote: Compressing objects: 51% (1227/2405)
remote: Compressing objects: 52% (1251/2405)
remote: Compressing objects: 53% (1275/2405)
remote: Compressing objects: 54% (1299/2405)
remote: Compressing objects: 55% (1323/2405)
remote: Compressing objects: 56% (1347/2405)
remote: Compressing objects: 57% (1371/2405)
remote: Compressing objects: 58% (1395/2405)
remote: Compressing objects: 59% (1419/2405)
remote: Compressing objects: 60% (1443/2405)
remote: Compressing objects: 61% (1468/2405)
remote: Compressing objects: 62% (1492/2405)
remote: Compressing objects: 63% (1516/2405)
remote: Compressing objects: 64% (1540/2405)
remote: Compressing objects: 65% (1564/2405)
remote: Compressing objects: 66% (1588/2405)
remote: Compressing objects: 67% (1612/2405)
remote: Compressing objects: 68% (1636/2405)
remote: Compressing objects: 69% (1660/2405)
remote: Compressing objects: 70% (1684/2405)
remote: Compressing objects: 71% (1708/2405)
remote: Compressing objects: 72% (1732/2405)
remote: Compressing objects: 73% (1756/2405)
remote: Compressing objects: 74% (1780/2405)
remote: Compressing objects: 75% (1804/2405)
remote: Compressing objects: 76% (1828/2405)
remote: Compressing objects: 77% (1852/2405)
remote: Compressing objects: 78% (1876/2405)
remote: Compressing objects: 79% (1900/2405)
remote: Compressing objects: 80% (1924/2405)
remote: Compressing objects: 81% (1949/2405)
remote: Compressing objects: 82% (1973/2405)
remote: Compressing objects: 83% (1997/2405)
remote: Compressing objects: 84% (2021/2405)
remote: Compressing objects: 85% (2045/2405)
remote: Compressing objects: 86% (2069/2405)
remote: Compressing objects: 87% (2093/2405)
remote: Compressing objects: 88% (2117/2405)
remote: Compressing objects: 89% (2141/2405)
remote: Compressing objects: 90% (2165/2405)
remote: Compressing objects: 91% (2189/2405)
remote: Compressing objects: 92% (2213/2405)
remote: Compressing objects: 93% (2237/2405)
remote: Compressing objects: 94% (2261/2405)
remote: Compressing objects: 94% (2278/2405)
remote: Compressing objects: 95% (2285/2405)
remote: Compressing objects: 96% (2309/2405)
remote: Compressing objects: 97% (2333/2405)
remote: Compressing objects: 98% (2357/2405)
remote: Compressing objects: 99% (2381/2405)
remote: Compressing objects: 100% (2405/2405)
remote: Compressing objects: 100% (2405/2405), done.
Receiving objects: 0% (1/2506)
Receiving objects: 1% (26/2506)
Receiving objects: 2% (51/2506)
Receiving objects: 3% (76/2506)
Receiving objects: 4% (101/2506)
Receiving objects: 5% (126/2506)
Receiving objects: 6% (151/2506)
Receiving objects: 7% (176/2506)
Receiving objects: 8% (201/2506)
Receiving objects: 9% (226/2506)
Receiving objects: 10% (251/2506)
Receiving objects: 11% (276/2506)
Receiving objects: 12% (301/2506)
Receiving objects: 13% (326/2506)
Receiving objects: 14% (351/2506)
Receiving objects: 15% (376/2506)
Receiving objects: 16% (401/2506)
Receiving objects: 17% (427/2506)
Receiving objects: 18% (452/2506)
Receiving objects: 19% (477/2506)
Receiving objects: 20% (502/2506)
Receiving objects: 21% (527/2506)
Receiving objects: 22% (552/2506)
Receiving objects: 23% (577/2506)
Receiving objects: 24% (602/2506)
Receiving objects: 25% (627/2506)
Receiving objects: 26% (652/2506)
Receiving objects: 27% (677/2506)
Receiving objects: 28% (702/2506)
Receiving objects: 29% (727/2506)
Receiving objects: 30% (752/2506)
Receiving objects: 31% (777/2506)
Receiving objects: 32% (802/2506)
Receiving objects: 33% (827/2506)
Receiving objects: 34% (853/2506)
Receiving objects: 35% (878/2506)
Receiving objects: 36% (903/2506)
Receiving objects: 37% (928/2506)
Receiving objects: 38% (953/2506)
Receiving objects: 39% (978/2506)
Receiving objects: 40% (1003/2506)
Receiving objects: 41% (1028/2506)
Receiving objects: 42% (1053/2506)
Receiving objects: 43% (1078/2506)
Receiving objects: 44% (1103/2506)
Receiving objects: 45% (1128/2506)
Receiving objects: 46% (1153/2506)
Receiving objects: 47% (1178/2506)
Receiving objects: 48% (1203/2506)
Receiving objects: 49% (1228/2506)
Receiving objects: 50% (1253/2506)
Receiving objects: 51% (1279/2506)
Receiving objects: 52% (1304/2506)
Receiving objects: 53% (1329/2506)
Receiving objects: 54% (1354/2506)
Receiving objects: 55% (1379/2506)
Receiving objects: 56% (1404/2506)
Receiving objects: 57% (1429/2506)
Receiving objects: 58% (1454/2506)
Receiving objects: 59% (1479/2506)
Receiving objects: 60% (1504/2506)
Receiving objects: 61% (1529/2506)
Receiving objects: 62% (1554/2506)
Receiving objects: 63% (1579/2506)
Receiving objects: 64% (1604/2506)
Receiving objects: 65% (1629/2506)
Receiving objects: 66% (1654/2506)
Receiving objects: 67% (1680/2506)
Receiving objects: 68% (1705/2506)
Receiving objects: 69% (1730/2506)
Receiving objects: 70% (1755/2506)
Receiving objects: 71% (1780/2506)
Receiving objects: 72% (1805/2506)
Receiving objects: 73% (1830/2506)
Receiving objects: 74% (1855/2506)
Receiving objects: 75% (1880/2506), 188.00 KiB | 367.00 KiB/s
Receiving objects: 76% (1905/2506), 188.00 KiB | 367.00 KiB/s
Receiving objects: 77% (1930/2506), 188.00 KiB | 367.00 KiB/s
Receiving objects: 78% (1955/2506), 188.00 KiB | 367.00 KiB/s
Receiving objects: 78% (1958/2506), 412.00 KiB | 406.00 KiB/s
Receiving objects: 79% (1980/2506), 412.00 KiB | 406.00 KiB/s
Receiving objects: 80% (2005/2506), 652.00 KiB | 429.00 KiB/s
Receiving objects: 81% (2030/2506), 652.00 KiB | 429.00 KiB/s
Receiving objects: 82% (2055/2506), 652.00 KiB | 429.00 KiB/s
Receiving objects: 83% (2080/2506), 652.00 KiB | 429.00 KiB/s
Receiving objects: 84% (2106/2506), 652.00 KiB | 429.00 KiB/s
Receiving objects: 85% (2131/2506), 652.00 KiB | 429.00 KiB/s
Receiving objects: 86% (2156/2506), 652.00 KiB | 429.00 KiB/s
Receiving objects: 86% (2170/2506), 964.00 KiB | 468.00 KiB/s
Receiving objects: 87% (2181/2506), 964.00 KiB | 468.00 KiB/s
Receiving objects: 88% (2206/2506), 964.00 KiB | 468.00 KiB/s
Receiving objects: 89% (2231/2506), 964.00 KiB | 468.00 KiB/s
Receiving objects: 90% (2256/2506), 964.00 KiB | 468.00 KiB/s
Receiving objects: 90% (2266/2506), 1.32 MiB | 416.00 KiB/s
Receiving objects: 91% (2281/2506), 1.32 MiB | 416.00 KiB/s
Receiving objects: 92% (2306/2506), 1.32 MiB | 416.00 KiB/s
Receiving objects: 92% (2312/2506), 1.54 MiB | 411.00 KiB/s
Receiving objects: 92% (2319/2506), 1.71 MiB | 347.00 KiB/s
Receiving objects: 93% (2331/2506), 1.77 MiB | 306.00 KiB/s
Receiving objects: 93% (2333/2506), 1.77 MiB | 306.00 KiB/s
Receiving objects: 93% (2341/2506), 1.82 MiB | 222.00 KiB/s
Receiving objects: 93% (2344/2506), 1.88 MiB | 112.00 KiB/s
Receiving objects: 93% (2345/2506), 1.90 MiB | 97.00 KiB/s
Receiving objects: 93% (2348/2506), 1.93 MiB | 65.00 KiB/s
Receiving objects: 94% (2356/2506), 1.93 MiB | 65.00 KiB/s
Receiving objects: 94% (2371/2506), 1.98 MiB | 46.00 KiB/s
Receiving objects: 94% (2371/2506), 2.01 MiB | 34.00 KiB/s
Receiving objects: 94% (2372/2506), 2.01 MiB | 34.00 KiB/s
Receiving objects: 94% (2372/2506), 2.04 MiB | 29.00 KiB/s
Receiving objects: 94% (2373/2506), 2.05 MiB | 28.00 KiB/s
Receiving objects: 94% (2375/2506), 2.07 MiB | 22.00 KiB/s
Receiving objects: 94% (2376/2506), 2.09 MiB | 21.00 KiB/s
Receiving objects: 95% (2381/2506), 2.11 MiB | 19.00 KiB/s
error: index-pack died of signal 15
fatal: index-pack failed
最佳答案
我建议您将 git clone 超时值设置为一个记录器值,默认值为 10 分钟。如果 git repo 足够大或者网络不好会导致错误。
这里是如何更改默认的 git clone 超时值:
Source Code Management --> Git --> Add--> Additional Behaviours -->
Advanced clone behaviors --> Timeout (in minutes) for clone and fetch operations
例如,您可以将其设置为 60 分钟。
关于git clone 挂起并超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36731255/
我有一个应用程序,当通过 eclipse 运行时,它会导致 eclipse 本身挂起。如果我将此应用程序导出为 jar 并运行它,它工作正常。但是,如果我运行(或调试)它,应用程序将显示为启动(根据
我正在将项目从 Rails2 切换到 Rails3。我跑: rails server 服务器启动没有错误: => Booting WEBrick => Rails 3.0.7 application
当我尝试使用 XCode 打开特定项目时,它挂起。当它挂起时,它显示以下屏幕: 其他项目可以正常打开,虽然挂起的项目也打开了,意味着我什么也做不了。我的 CPU 全速运行(风扇开始运转),我必须退出多
我正在使用 BNHtmlPdfKit 将 Html 呈现为 PDF。它工作得很好,但在 iOS8 中它只是挂起 [renderer drawPageAtIndex:i inRect:renderer.
我一直在尝试在 eclipse 中创建一个项目,并且有一个名为 InitRemoteEditJob 的工作正在阻止一切。它甚至没有被取消。 请建议怎么办? 最佳答案 这个错误有很多原因。 你可以试试这
我使用这个函数来发出 cURL 请求: function curl_request($options) //single custom cURL request. { $ch = curl_i
当我尝试归档某个项目时,Xcode 无法响应。如果让他一个人呆着,他会在很长一段时间后设法打开管理器。文件在那里。如果从 library/developer/xcode/archives 中手动删除,
有时我的 Eclipse 挂起,我需要猛烈地杀死它。但是,我一直无法正确地做到这一点。似乎 kill -9 实际上并没有以正确的方式关闭它,因为我仍然可以看到挂起的窗口。什么命令序列会正确杀死我的 E
我有一个JavaFX 8应用,它有时会挂起/冻结。我觉得我已经排除了造成此问题的许多原因,但它仍在发生。 不幸的是,我无法按需复制冻结/挂起。实际上,这仅发生在(到目前为止)我同事的计算机上。它可能在
我正在尝试学习网络基础知识,并且已经从this教程构建了回显服务器。我用telnet检查了服务器,它工作正常。 现在,当我使用Internet上的许多客户端示例中的一些示例时: // Create a
我正在尝试使用 SwiftUI 实现使用 Apple 登录,但在我输入正确的密码后它挂起。 我正在使用真实用户和模拟器以及 XCode 12.0 Beta。不幸的是,我现在没有可供测试的设备。我也尝试
我包括此简单的错误处理功能来格式化错误: date_default_timezone_set('America/New_York'); // Create the error handler. fun
我正在尝试为 VisualVM 安装一些插件,但它一直卡在下面的屏幕上 - 告诉我“请等待安装程序发现插件依赖项”。我运行的是 Ubuntu 12.04。当我尝试从“可用插件”列表中安装它们时,以及当
如果堆分配/取消分配/重新分配在另一个线程中进行,DbgHelp 库的 MiniDumpWriteDump() 将挂起。这是调用堆栈:DbgHelp 暂停其他线程,然后无限期地等待这些线程获得的互斥量
我正在尝试在 Eclipse C++ 版本中安装新软件。 帮助 -> 安装新软件。当我去安装新软件时,它会挂起或需要几个小时才能移动百分比。 我读到这是 JRE7 中的一个已知错误,我假设我在安装它后
这个问题已经有答案了: process.waitFor() never returns (12 个回答) 已关闭 3 年前。 我使用以下代码运行命令: open class AppRunner {
我正在尝试为 VisualVM 安装一些插件,但它一直卡在下面的屏幕上 - 告诉我“请等待安装程序发现插件依赖项”。我正在运行 Ubuntu 12.04。当我尝试从“可用插件”列表安装它们时,以及当我
如果堆分配/取消分配/重新分配在另一个线程中进行,DbgHelp 库的 MiniDumpWriteDump() 将挂起。这是调用堆栈:DbgHelp 暂停其他线程,然后无限期地等待这些线程获得的互斥量
尝试调试竞争条件,其中我们的应用程序的轮询器线程之一永远不会返回,导致 future 的轮询器永远不会被调度。用抽象术语来说,在捕获问题时隐藏我们的业务逻辑,这就是我们的代码路径。 我们必须更新远程服
我在程序完成时遇到 Java 的 ExecutorCompletionService 问题。 我需要使用 ExecutorCompletionService 而不是 ExecutorService 因
我是一名优秀的程序员,十分优秀!