GithubHelp home page GithubHelp logo

src/network-mysqld.c:2589 about cetus HOT 9 CLOSED

larry2208 avatar larry2208 commented on August 26, 2024
src/network-mysqld.c:2589

from cetus.

Comments (9)

net592 avatar net592 commented on August 26, 2024

from cetus.

wangbin579 avatar wangbin579 commented on August 26, 2024

这个可能跟后端mysql连接不上导致的,最好通过抓包分析一下

from cetus.

net592 avatar net592 commented on August 26, 2024

from cetus.

wangbin579 avatar wangbin579 commented on August 26, 2024

几台中总有一台报这个错,是固定一台,还是都有可能出现

from cetus.

larry2208 avatar larry2208 commented on August 26, 2024

最近很久没有报错了。最后出现错误 是3台cetus 服务,中的一台一直报错,没有找到原因,就恢复了。
之前也曽出现过是当max-pool-size 没给太大值,后端cetus 全都会报这个错误,调大后异常解决。
看了下源码,感觉是除了几种异常,其他的任何连通异常都会报这个错误。

from cetus.

wangbin579 avatar wangbin579 commented on August 26, 2024

如果是一直一台报错,可能原因是:
1、配置文件中的连接数量是否设置过小
2、是否跟环境相关
3、这台机器的流量是否跟其它有差别

当然如果有抓包分析数据,那就非常好分析了。

from cetus.

wangbin579 avatar wangbin579 commented on August 26, 2024

如果访问db的用户过多,default-pool-size设置太小,会导致某些用户分配不到连接,也会报上述错误。

可以通过:
select conn_details from backends;
查看每一个用户所拥有的连接数量,如果有0的,要么分配不到,要么这个用户访问权限有问题

from cetus.

larry2208 avatar larry2208 commented on August 26, 2024

多谢多谢,貌似可能真是default-pool-size 的问题,这个一直按默认值来配置的,我们再观察看看

from cetus.

larry2208 avatar larry2208 commented on August 26, 2024

可以close了,确实是 default-pool-size 的问题,调大后,问题解决

from cetus.

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.