-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugfix: 长时间运行后,file-worker下载第三方文件源文件失败 #1346
Labels
kind/bug
程序故障Bug,漏洞
stage/prod
Production environment in tencent has been deploy
stage/test
Test environment in tencent has been deploy
Comments
jsonwan
changed the title
bugfix: 长时间运行后,file-worker下载文件第三方文件源文件失败
bugfix: 长时间运行后,file-worker下载第三方文件源文件失败
Sep 21, 2022
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Sep 21, 2022
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Sep 21, 2022
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Sep 21, 2022
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Sep 21, 2022
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Sep 21, 2022
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Sep 22, 2022
增加问题排查debug日志,优化日志打印
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Sep 22, 2022
BaseHttpHelper增加连接释放逻辑
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Sep 22, 2022
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Sep 22, 2022
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Sep 22, 2022
wangyu096
added a commit
that referenced
this issue
Sep 22, 2022
bugfix: 长时间运行后,file-worker下载第三方文件源文件失败 #1346
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Sep 22, 2022
jsonwan
added a commit
that referenced
this issue
Sep 22, 2022
bugfix: 长时间运行后,file-worker下载第三方文件源文件失败 #1346
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Sep 23, 2022
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Sep 23, 2022
wangyu096
added a commit
that referenced
this issue
Sep 23, 2022
bugfix: 长时间运行后,file-worker下载第三方文件源文件失败 #1346
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Sep 23, 2022
jsonwan
added a commit
that referenced
this issue
Sep 23, 2022
bugfix: 长时间运行后,file-worker下载第三方文件源文件失败 #1346
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/bug
程序故障Bug,漏洞
stage/prod
Production environment in tencent has been deploy
stage/test
Test environment in tencent has been deploy
Version / Branch / tag
3.5.x
出了什么问题?(What Happened?)
长时间运行后,file-worker下载第三方文件源文件失败,后台日志报出以下异常:
com.tencent.bk.job.common.exception.InternalException: org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool
at com.tencent.bk.job.common.util.http.BaseHttpHelper.getRawResp(BaseHttpHelper.java:72)
at com.tencent.bk.job.common.util.http.WatchableHttpHelper.getRawResp(WatchableHttpHelper.java:53)
at com.tencent.bk.job.common.util.http.ExtHttpHelper.getRawResp(ExtHttpHelper.java:142)
at com.tencent.bk.job.common.artifactory.sdk.ArtifactoryClient.getFileInputStream(ArtifactoryClient.java:422)
at com.tencent.bk.job.common.artifactory.sdk.ArtifactoryClient.getFileInputStream(ArtifactoryClient.java:407)
at com.tencent.bk.job.file.worker.artifactory.service.ArtifactoryRemoteClient.getFileInputStream(ArtifactoryRemoteClient.java:53)
at com.tencent.bk.job.file.worker.cos.service.DownloadFileTask.downloadFileToLocal(DownloadFileTask.java:105)
at com.tencent.bk.job.file.worker.cos.service.DownloadFileTask.run(DownloadFileTask.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.leaseConnection(PoolingHttpClientConnectionManager.java:314)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager$1.get(PoolingHttpClientConnectionManager.java:280)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:190)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at com.tencent.bk.job.common.util.http.BaseHttpHelper.getRawResp(BaseHttpHelper.java:69)
... 12 common frames omitted
如何复现?(How to reproduce?)
长时间运行后,分发第三方源文件
预期结果(What you expect?)
正常分发
The text was updated successfully, but these errors were encountered: