Giter VIP home page Giter VIP logo

Comments (5)

lizhichao avatar lizhichao commented on July 4, 2024

@shuguang 基本确定是这个orm记录 sql的各种sql日志,清了应该就可以了。

from think-orm.

shuguang avatar shuguang commented on July 4, 2024

@lizhichao 没有日志记录,目前内存给到4G,仍然报同样的错误

from think-orm.

lizhichao avatar lizhichao commented on July 4, 2024

@shuguang 那得好好检查了,或者换一个orm 我写了一个简单的orm 可以参考一下
https://github.com/lizhichao/one/tree/master/One/Database/Mysql

from think-orm.

xiaonange avatar xiaonange commented on July 4, 2024

不知道@shuguang运行多久重连出现这问题,我swoole设置mysql超时时间为60秒,但是并没有遇到重连失败问题。如果是开启了debug,那问题应该是lizhichao说的log累积导致占用内存过大问题

from think-orm.

jbRotk avatar jbRotk commented on July 4, 2024

PDO::prepare(): MySQL server has gone away in /www/Library/think/db/Connection.php on line 635
我也是出现常链接失败的情况

from think-orm.

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.