ref:https://xz.aliyun.com/t/1098/ 这里所说的core_pattern 指的是:/proc/sys/kernel/core_pattern. 我们知道在Linux系统中,如果进程崩溃了,系统内核会捕获到进程崩溃信息,然后将进程的coredump 信息写入到文件中,这个文件名默认是core,但是也可以通过配置修改这个文件名.比如可以通过修改/proc/sys/kernel/core_pattern 文件的内容来指定. Linux man 手册上关于core_patt…
linux 其他知识目录 原文链接:https://blog.csdn.net/hshl1214/article/details/4596583 一.前言本文档针对OOP8生产环境,具体优化策略需要根据实际情况进行调整:本文档将在以下几个方面来阐述如何针对RedHat Enterprise Linux进行性能优化.1) Linux Proc文件系统,通过对Proc文件系统进行调整,达到性能优化的目的.2) Linux性能诊断工具,介绍如何使用Linux自带的诊断工具进行性能诊…
This subdirectory contains specific file system, file handle, inode, dentry and quota information. 1,/proc/sys/fs/aio-max-nr aio-max-nr allows you to change the maximum value/proc/sys/fs/aio-nr can grow to. 2,/proc/sys/fs/aio-nr aio-nr shows the curr…
Manual page proc(5) line 1967 (press h for help or q to quit) /proc/sys/vm This directory contains files for memory management tuning, buffer and cache management. /proc/sys/vm/drop_caches (since Linux 2.6.16) Writing to this file causes the kernel t…
Linux的/proc/sys/fs/file-max决定了当前内核可以打开的最大的文件句柄数. 查看当前的值: cat /proc/sys/fs/file-max 这个值在kernel的文档里是这样描述的: The value in file-max denotes the maximum number of file handles that the Linux kernel will allocate. When you get a lot of error messages about…
/proc/sys/net/ipv4/icmp_timeexceed_rate这个在traceroute时导致著名的"Solaris middle star".这个文件控制发送ICMP Time Exceeded消息的比率. /proc/sys/net/ipv4/igmp_max_memberships主机上最多有多少个igmp (多播)套接字进行监听. /proc/sys/net/ipv4/inet_peer_gc_maxtime求 助: Add a little explanati…
安装MONGODB 3.0.6的时候提示警告信息,如下: 2015-09-09T11:04:35.011+0800 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.2015-09-09T11:04:35.011+0800 I CONTROL [initandlisten] ** We suggest setting it to 'never'2015-09-…
/proc/sys/net/ipv4/icmp_timeexceed_rate这个在traceroute时导致著名的“Solaris middle star”.这个文件控制发送ICMP Time Exceeded消息的比率. /proc/sys/net/ipv4/igmp_max_memberships主机上最多有多少个igmp (多播)套接字进行监听. /proc/sys/net/ipv4/inet_peer_gc_maxtime求 助: Add a little explanatio…