-
Notifications
You must be signed in to change notification settings - Fork 787
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
内存耗尽 #1176
Closed
Comments
Swoft version | 2.0.7 |
有啥特殊操作吗? |
|
用swoole-tracker 监控内存溢出 |
在bean.php关闭logger功能之后,用redis(用连接池)的get方法,会导致内存不断增高。(大家可以试试,不知道是不是只有我的才会) |
好的,加油 |
在bean.php关闭logger功能之后,用redis(用连接池)的get方法,会导致内存不断增高。 |
2 tasks
@zhou01 log 问题已经修复了。等发版 |
inhere
added a commit
to swoft-cloud/swoft-log
that referenced
this issue
Jan 17, 2020
…ormat log codes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
系统运行一段时间后,出现message:
[2019-12-24 15:25:56 *80647.7] ERROR php_swoole_server_rshutdown (ERRNO 503): Fatal error: Uncaught ErrorException: Allowed memory size of 134217728 bytes exhausted (tried to allocate 131072 bytes) in /data/wwwroot/api-swoft.mama.cn/vendor/swoft/http-message/src/Response.php:225
Stack trace:
#0 /data/wwwroot/api-swoft.mama.cn/app/Common/ErrorDispatcher.php(62): App\Common\ErrorDispatcher->handleError(1, 'Allowed memory ...', '/data/wwwroot/a...', 225)
#1 [internal function]: App\Common\ErrorDispatcher->App\Common{closure}()
#2 {main}
thrown in /data/wwwroot/api-swoft.mama.cn/vendor/swoft/http-message/src/Response.php on line 225
[2019-12-24 15:25:56 $80619.0] WARNING swManager_check_exit_status: worker#7[pid=80647] abnormal exit, status=255, signal=0
The text was updated successfully, but these errors were encountered: