09 2020 档案
摘要:配置文件保留的时间(1w为一周): journalctl --vacuum-time=1w
阅读全文
摘要:编译: 下载 ftp://ftp.gnu.org/gnu/gdb/gdb-7.11.1.tar.gz gdbserver编译 ./configure --target=arm-linux --host=arm-linux make arm设置 ulimit -c 1024echo /tmp/core
阅读全文
摘要:ulimit -c 1024echo /tmp/core > /proc/sys/kernel/core_pattern #include <stdio.h> int main() { int* a=NULL; char aa[1]; a=1; aa[20]=1; sleep(10000); pri
阅读全文
摘要:修改/etc/security/limits.conf: * soft nofile 204800* hard nofile 204800 bugbugbugbugbugbug:虽说是全局修改,但是用systemctrl启动的进程,最大值还是1024 在搭建keepalived遇到此问题 cento
阅读全文