cas7.0版本 /var/log/caslog/cas_isolate_mem.log占用空间很大,有16G大小
2024-10-22 08:35:38 [5756] INFO : memory_variable_print:718 : memory limit in bytes 0 MiB
2024-10-22 08:35:38 [5756] INFO : memory_variable_print:719 : memory usage 338594 MiB
2024-10-22 08:35:38 [5756] INFO : memory_variable_print:720 : system memory total: 514182 MiB
2024-10-22 08:35:38 [5756] INFO : memory_variable_print:721 : system memory limit in bytes -1 MiB
2024-10-22 08:35:38 [5756] INFO : memory_variable_print:722 : system memory usage in bytes: 14193 MiB
2024-10-22 08:35:38 [5756] INFO : memory_variable_print:723 : system memory reserve: 25600 MiB
2024-10-22 08:35:38 [5756] INFO : hugepage_check:728 : system HugePages_mem living size 0 MiB
2024-10-22 08:35:38 [5756] INFO : hugepage_check:745 : system HugePages_mem config size 0 MiB
2024-10-22 08:35:38 [5803] INFO : main:1434 : accept params: ['/opt/bin/isolate_cpuset_mem.pyc', 'get', '--hierarchy', 'system_free', '--limit']
2024-10-22 08:35:38 [5803] INFO : is_support_system_distributor:1397 : current system is CentOS
2024-10-22 08:35:38 [5803] INFO : memory_variable_print:717 : memory data:
{
"machine": {
"memory_limit_in_bytes": "-1"
},
"other": {
"memory_limit_in_bytes": "-1"
},
"openvswitch": {
"memory_limit_in_bytes": "-1"
}
}
2024-10-22 08:35:38 [5803] INFO : memory_variable_print:718 : memory limit in bytes 0 MiB
2024-10-22 08:35:38 [5803] INFO : memory_variable_print:719 : memory usage 0 MiB
2024-10-22 08:35:38 [5803] INFO : memory_variable_print:720 : system memory total: 514182 MiB
2024-10-22 08:35:38 [5803] INFO : memory_variable_print:721 : system memory limit in bytes -1 MiB
2024-10-22 08:35:38 [5803] INFO : memory_variable_print:722 : system memory usage in bytes: 14192 MiB
2024-10-22 08:35:38 [5803] INFO : memory_variable_print:723 : system memory reserve: 25600 MiB
2024-10-22 08:35:38 [5803] INFO : hugepage_check:728 : system HugePages_mem living size 0 MiB
2024-10-22 08:35:38 [5803] INFO : hugepage_check:745 : system HugePages_mem config size 0 MiB
2024-10-22 08:35:39 [6109] INFO : main:1434 : accept params: ['/opt/bin/isolate_cpuset_mem.pyc', 'get', '--hierarchy', 'openvswitch', '--cpus']
2024-10-22 08:35:39 [6109] INFO : is_support_system_distributor:1397 : current system is CentOS
2024-10-22 08:35:39 [6109] INFO : cpuset_variable_print:273 : cpuset data:
{
"machine": {
"last_cpuset_cpus": "null",
"cpuset_cpus": "null"
},
"other": {
"last_cpuset_cpus": "null",
"cpuset_cpus": "null"
},
"openvswitch": {
"last_cpuset_cpus": "null",
"cpuset_cpus": "null"
}
}
2024-10-22 08:35:39 [6109] INFO : cpuset_variable_print:274 : cpuset hierarchy: openvswitch
2024-10-22 08:35:39 [6109] INFO : cpuset_variable_print:275 : cpuset cpus: null
2024-10-22 08:35:39 [6109] INFO : cpuset_variable_print:276 : system cpus: 64
2024-10-22 08:35:39 [6109] INFO : cpuset_variable_print:277 : system cpuset mems: 0-1
2024-10-22 08:35:39 [6109] INFO : cpuset_variable_print:278 : system numas: 2
2024-10-22 08:35:39 [6109] INFO : cpuset_variable_print:279 : cpus map: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2024-10-22 08:35:39 [6109] INFO : cpuset_variable_print:280 : cpus use map: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2024-10-22 08:35:39 [6109] INFO : cpuset_variable_print:281 : cpuset is change: False
(0)
针对“cas_isolate_mem.log”占用空间很大的问题,可以采取以下措施来解决:
ls -lh
)查看cas_isolate_mem.log
文件的大小。cat
、less
、more
)查看日志文件的内容,以了解日志中记录的信息类型和数量。在进行任何清理或删除操作之前,务必先备份重要的日志文件。这可以通过复制文件到另一个位置或使用压缩工具(如tar
、zip
)来实现。
logrotate
),可以配置这些工具来定期轮转、压缩和删除日志文件。(1)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论