Giter Club home page Giter Club logo

Comments (7)

huanghantao avatar huanghantao commented on May 26, 2024

看报错感觉是pcre扩展出现了内存问题,你关闭pcre扩展试试?

from yasd.

NHZEX avatar NHZEX commented on May 26, 2024

看报错感觉是pcre扩展出现了内存问题,你关闭pcre扩展试试?

https://www.php.net/manual/zh/pcre.installation.php

PCRE 是 PHP 核心扩展,所以总是启用的

这个方案不太可行吧,而且项目依赖正则,关了就运行不起来了。

from yasd.

huanghantao avatar huanghantao commented on May 26, 2024

能否提供一个github仓库,我可以下载项目,然后调试复现出你这个问题?

from yasd.

NHZEX avatar NHZEX commented on May 26, 2024

能否提供一个github仓库,我可以下载项目,然后调试复现出你这个问题?

我试试看

from yasd.

NHZEX avatar NHZEX commented on May 26, 2024

能否提供一个github仓库,我可以下载项目,然后调试复现出你这个问题?

在容器里错误变成里corrupted size vs. prev_size

https://github.com/NHZEX/yasd-tests

sudo docker build -t imi_test:yasd .

sudo docker run -it --rm \
 -p 9988:9988 \
 -e IMI_DEBUG=true \
 -e MAIN_DB_HOST=192.168.1.166 \
 -e MAIN_DB_PORT=3306 \
 -e MAIN_DB_DATABASE=db \
 -e MAIN_DB_USERNAME=db \
 -e MAIN_DB_PASSWORD=password \
 -e DEBUG_HOST=192.168.138.124 \
 imi_test:yasd

请求多几次,不是每次都出现的。
Get: http://192.168.138.122:9988/api

之前还有个项目是corrupted size vs. prev_sizedouble free or corruption (!prev)交替发生

[MASK]/Listener/DbExecuteListener.php:27
2021-03-25 08:40:32 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00237] [MASK]/Listener/DbExecuteListener.php:27
corrupted size vs. prev_size
[2021-03-25 08:40:33 $17.0]     WARNING check_worker_exit_status: worker#2[pid=24] abnormal exit, status=0, signal=6
2021-03-25 08:45:02 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.01150] [MASK]/Listener/DbExecuteListener.php:27
2021-03-25 08:45:02 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00238] [MASK]/Listener/DbExecuteListener.php:27
2021-03-25 08:45:03 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00219] [MASK]/Listener/DbExecuteListener.php:27
corrupted size vs. prev_size
[2021-03-25 08:45:03 $17.0]     WARNING check_worker_exit_status: worker#1[pid=48] abnormal exit, status=0, signal=6
2021-03-25 08:45:05 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00280] [MASK]/Listener/DbExecuteListener.php:27
2021-03-25 08:45:06 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00272] [MASK]/Listener/DbExecuteListener.php:27
2021-03-25 08:45:06 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00270] [MASK]/Listener/DbExecuteListener.php:27
corrupted size vs. prev_size
[2021-03-25 08:45:06 $17.0]     WARNING check_worker_exit_status: worker#1[pid=62] abnormal exit, status=0, signal=6
2021-03-25 08:45:06 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00271] [MASK]/Listener/DbExecuteListener.php:27
2021-03-25 08:45:07 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00286] [MASK]/Listener/DbExecuteListener.php:27
corrupted size vs. prev_size
[2021-03-25 08:45:07 $17.0]     WARNING check_worker_exit_status: worker#2[pid=53] abnormal exit, status=0, signal=6
2021-03-25 08:45:07 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.01248] [MASK]/Listener/DbExecuteListener.php:27
2021-03-25 08:45:07 [debug] [SQL Execute] SHOW STATUS (vars:[]) [0.00276] [MASK]/Listener/DbExecuteListener.php:27
corrupted size vs. prev_size
[2021-03-25 08:45:08 $17.0]     WARNING check_worker_exit_status: worker#1[pid=67] abnormal exit, status=0, signal=6

from yasd.

lobtao avatar lobtao commented on May 26, 2024

hyperf 2.2只要有sql查询,必然出现
[2022-01-19 16:05:30 $4178.0] WARNING Server::check_worker_exit_status(): worker(pid=6771, id=0) abnormal exit, status=0, signal=11
A bug occurred in Swoole-v4.8.6, please report it.
The Swoole developers probably don't know about it,
and unless you report it, chances are it won't be fixed.
You can read How to report a bug doc before submitting any bug reports:

https://github.com/swoole/swoole-src/blob/master/.github/ISSUE.md
Please do not send bug reports in the mailing list or personal letters.
The issue page is also suitable to submit feature requests.

OS: Linux 4.4.0-19041-Microsoft #1237-Microsoft Sat Sep 11 14:32:00 PST 2021 x86_64
GCC_VERSION: 7.5.0
OPENSSL_VERSION: OpenSSL 1.1.1 11 Sep 2018
PHP_VERSION : 7.4.27

wsl1,Ubuntu 18.04,hyperf 2.2,swoole 4.8.6,yasd 0.3.9-alpha,PHP 7.4.27

from yasd.

huanghantao avatar huanghantao commented on May 26, 2024

可以考虑使用 swoole-src的 xdebug分支,https://github.com/swoole/swoole-src/tree/support-xdebug
可以直接使用xdebug进行调试,前提是PHP版本要大于等于8.1

from yasd.

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.