GithubHelp home page GithubHelp logo

fastdfs集群 运行10天时间,就会出现这个问题 Caused by: java.net.SocketException: Broken pipe (Write failed) about fastdfs-client-java HOT 10 OPEN

Kimi909 avatar Kimi909 commented on August 19, 2024
fastdfs集群 运行10天时间,就会出现这个问题 Caused by: java.net.SocketException: Broken pipe (Write failed)

from fastdfs-client-java.

Comments (10)

happyfish100 avatar happyfish100 commented on August 19, 2024

用了长连接或连接池吧,是网络连接断掉了。这个偶发出现不是什么问题,可以忽略。

from fastdfs-client-java.

Kimi909 avatar Kimi909 commented on August 19, 2024

代码中用了连接池,不是偶发(已经在服务器上测试过两次了),每隔10天左右,线上出现这个问题后文件就不能上传了,想咨询下您 这种问题有什么好的解决方案没?是不是不能使用连接池啊

from fastdfs-client-java.

happyfish100 avatar happyfish100 commented on August 19, 2024

当然可以使用连接池。对于失效的连接,需要重连。

from fastdfs-client-java.

Kimi909 avatar Kimi909 commented on August 19, 2024

嗯,谢谢

from fastdfs-client-java.

 avatar commented on August 19, 2024

请问这个问题最后如何解决的呢?

from fastdfs-client-java.

yuboliang avatar yuboliang commented on August 19, 2024

你好,请问后面你们如何解决这个问题,我这边也发生了这种问题。如何重连失效的连接呢?

from fastdfs-client-java.

 avatar commented on August 19, 2024

from fastdfs-client-java.

liukuankuan avatar liukuankuan commented on August 19, 2024

你好,请问如何解决这个问题呢?我这边也出现了这个问题

from fastdfs-client-java.

kzdwts avatar kzdwts commented on August 19, 2024

我也出现了,怎么处理呀?

from fastdfs-client-java.

crazyStar00 avatar crazyStar00 commented on August 19, 2024

使用连接池,并且失败应该自动重试。

from fastdfs-client-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.