首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
内存泄露问题
### 问题描述 之前用的swoole4.3.6, 运行一个月内存也保持不上涨(进程不重启), 升级到4.4.19后,内存上涨很快, 期间只升级了swoole版本, 请问这种情况如何排查内存上涨问题呢 ? ### Swoole版本,PHP版本,以及操作系统版本信息 php7.1.2 > 4.3.6 Swoole => enabled Author => Swoole Team <team@swoole.com> Version => 4.3.6 Built => Aug 26 2019 16:10:16 coroutine => enabled epoll => enabled eventfd => enabled signalfd => enabled cpu_affinity => enabled spinlock => enabled rwlock => enabled sockets => enabled openssl => OpenSSL 1.0.1e-fips 11 Feb 2013 http2 => enabled pcre => enabled zlib => enabled mutex_timedlock => enabled pthread_barrier => enabled futex => enabled mysqlnd => enabled async_redis => enabled Directive => Local Value => Master Value swoole.enable_coroutine => On => On swoole.display_errors => On => On swoole.use_shortname => On => On swoole.unixsock_buffer_size => 8388608 => 8388608 > 4.4.19 Swoole => enabled Author => Swoole Team <team@swoole.com> Version => 4.4.19 Built => Jun 5 2020 15:43:40 coroutine => enabled epoll => enabled eventfd => enabled signalfd => enabled cpu_affinity => enabled spinlock => enabled rwlock => enabled openssl => OpenSSL 1.0.1e-fips 11 Feb 2013 http2 => enabled pcre => enabled zlib => 1.2.7 mutex_timedlock => enabled pthread_barrier => enabled futex => enabled async_redis => enabled Directive => Local Value => Master Value swoole.enable_coroutine => On => On swoole.enable_library => On => On swoole.enable_preemptive_scheduler => Off => Off swoole.display_errors => On => On swoole.use_shortname => On => On swoole.unixsock_buffer_size => 8388608 => 8388608
发布于4年前 · 14 次浏览 · 来自
提问
lg430
### 问题描述 之前用的swoole4.3.6, 运行一个月内存也保持不上涨(进程不重启), 升级到4.4.19后,内存上涨很快, 期间只升级了swoole版本, 请问这种情况如何排查内存上涨问题呢 ? ### Swoole版本,PHP版本,以及操作系统版本信息 php7.1.2 > 4.3.6 Swoole => enabled Author => Swoole Team <team@swoole.com> Version => 4.3.6 Built => Aug 26 2019 16:10:16 coroutine => enabled epoll => enabled eventfd => enabled signalfd => enabled cpu_affinity => enabled spinlock => enabled rwlock => enabled sockets => enabled openssl => OpenSSL 1.0.1e-fips 11 Feb 2013 http2 => enabled pcre => enabled zlib => enabled mutex_timedlock => enabled pthread_barrier => enabled futex => enabled mysqlnd => enabled async_redis => enabled Directive => Local Value => Master Value swoole.enable_coroutine => On => On swoole.display_errors => On => On swoole.use_shortname => On => On swoole.unixsock_buffer_size => 8388608 => 8388608 > 4.4.19 Swoole => enabled Author => Swoole Team <team@swoole.com> Version => 4.4.19 Built => Jun 5 2020 15:43:40 coroutine => enabled epoll => enabled eventfd => enabled signalfd => enabled cpu_affinity => enabled spinlock => enabled rwlock => enabled openssl => OpenSSL 1.0.1e-fips 11 Feb 2013 http2 => enabled pcre => enabled zlib => 1.2.7 mutex_timedlock => enabled pthread_barrier => enabled futex => enabled async_redis => enabled Directive => Local Value => Master Value swoole.enable_coroutine => On => On swoole.enable_library => On => On swoole.enable_preemptive_scheduler => Off => Off swoole.display_errors => On => On swoole.use_shortname => On => On swoole.unixsock_buffer_size => 8388608 => 8388608
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2020-07-01
郭新华
需要提供重现代码~
赞
0
回复
微信公众号
热门内容
作者其它话题
- sendto系统调用阻塞问题
- tcp client bug
- 错误信号
- 内存泄露问题
- 几个小错误反馈
暂无回复的问答
- CodeGalaxy K3s 轻量集群节点之间如何实现负载均衡
- 关于openssl CURL WARNING swSSL_connect: SSL_connect(fd=69) failed. Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small[1|394]
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。