
linux
文章平均质量分 64
linux
真雪
知止
展开
-
centos8 yum install failed to set locale, defaulting to C
centos8 yum install 问题原创 2022-11-04 10:59:16 · 2488 阅读 · 2 评论 -
查找swap占用高的容器名称
1.查找swap占用的排名,找出最高占用的pidfor file in /proc/*/status;do awk '/VmSwap|Name|^Pid/{printf $2 " " $3}END{ print ""}' $file;done |sort -k 3 -n -r |head2.查找容器idcat ${pid}/cgroup|head -n 1 |cut -d ":" -f 33.根据容器id查找容器名称docker inspect --format '{{.N..原创 2021-12-07 11:00:14 · 327 阅读 · 0 评论 -
rsync error: error allocating core memory buffers
一、问题描述使用rsync文件传输时,相同的两台服务器传输相同的文件一个成功了,一个报出下边的错误,显而易见就是内存不足了[root@sss085080 ~]# rsync -atvu /alauda/new/* /alauda/data/sending incremental file listERROR: out of memory in flist_expand [sender]rsync error: error allocating core memory buffers (cod原创 2021-10-25 17:09:10 · 910 阅读 · 0 评论 -
swap知识点
结合了两篇文章copy下来的,转载记得附上文章原文地址linux开启swap(磁盘缓存)操作_阳光梦的专栏-CSDN博客_kib swap系统内存还有很多的情况下为何swap使用很高了 - 程序员大本营linux开启swap(磁盘缓存)操作_阳光梦的专栏-CSDN博客_kib swap一、Swap是什么Swap就是把一块磁盘空间或者一个本地文件,当成内存来使用。 换出,就是把进程暂时不用的内存数据存储到磁盘中 换入,就是在进程再次访问这些内存的时候,从磁盘中读取到内存 Swap其实是把系统转载 2021-09-29 16:24:39 · 3281 阅读 · 0 评论