394 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

mysql5.7在欧拉系统中内存瞬间占满的问题

已完成
缺陷
创建于  
2021-07-30 09:52

【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)
官方版本docker mysql5.7,一样也不不行。直接mysqld运行,内存瞬间占满。
官方版本docker mysql8.0 是正常的。
【环境信息】
输入图片说明
输入图片说明
硬件信息:
1) 裸机场景提供出问题的硬件信息;
2) 虚机场景提供虚机XML文件或者配置信息
软件信息:
[root@localhost ~]# cat /etc/os-release
NAME="openEuler"
VERSION="20.03 (LTS)"
ID="openEuler"
VERSION_ID="20.03"
PRETTY_NAME="openEuler 20.03 (LTS)"
ANSI_COLOR="0;31"

[root@localhost ~]# docker --version
Docker version 20.10.7, build f0df350
[root@localhost ~]# docker info
Client:
Context: default
Debug Mode: false

Server:
Containers: 1
Running: 1
Paused: 0
Stopped: 0
Images: 55
Server Version: 20.10.7
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: d71fcd7d8303cbf684402823e425e9dd2e99285d
runc version: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
init version: de40ad0
Security Options:
seccomp
Profile: default
Kernel Version: 4.19.90-2003.4.0.0036.oe1.x86_64
Operating System: openEuler 20.03 (LTS)
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 15.07GiB
Name: localhost.localdomain
ID: 5HIK:7EVM:SQVF:AM7L:3EZ3:KHJZ:LUWT:GT5Q:G2NE:WONI:ADX3:6JK7
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Live Restore Enabled: false
Product License: Community Engine

WARNING: API is accessible on http://0.0.0.0:4243 without encryption.
Access to the remote API is equivalent to root access on the host. Refer
to the 'Docker daemon attack surface' section in the documentation for
more information: https://docs.docker.com/go/attack-surface/

评论 (8)

18969076920 创建了缺陷
18969076920 关联仓库设置为openEuler/kernel
展开全部操作日志

Hey lvshaoqing, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

openeuler-ci-bot 添加了
 
sig/Kernel
标签
sanglipeng 添加了
 
issue_invalid
标签
sanglipeng 任务状态待办的 修改为已完成
sanglipeng 负责人设置为sanglipeng

您好,
您需要将issue提到问题所属团队或项目的repository内,否则问题无法得到解决,请参考https://gitee.com/openeuler/community/blob/master/zh/contributors/issue-submit.md
如果您不确定该问题对应的团队或项目,请在https://gitee.com/openeuler/community-issue中创建,会有社区的开发者帮助进行归属等信息的确认。
/close

我也遇到了这种情况,内存拉到了13个g,咨询了云原生的大佬,叫我把swap关了,目前还在测试

同遇,不只是mysql,rabbitmq也有这个现象,分析了日志 mysql最少要16G才能启动,rabbitmq需要8G以上,关闭swap好像也没效,部署k8s时就已经关闭了的

大佬,问题解决了没?

这个问题还没解决吗?我这两天也碰到这个问题了

我也有这个问题

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(8)
5329419 openeuler ci bot 1632792936 5128438 chenjialun 1631849932 Violation
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助

14c37bed 8189591 565d56ea 8189591