E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
sysctl
文件描述符
文件描述符概念描述符是一个打开文件的索引,找到文件描述表,再找到i-node表修改限制文件描述符也是一种资源,像端口一样,也有数量限制修改限制1.查看限制1.ulimit-n用户级别查看2.
sysctl
-a
懒猫慵阳
·
2019-04-28 15:31
基础知识
Docker安装ElasticSearch 7
配置参数:
sysctl
-wvm.max_map_count=262144&&grepvm.max_map_count/etc/
sysctl
.conf下载镜像:dockerpullelasticsearch
MaxWoods
·
2019-04-28 12:35
Docker
Elasticsearch集群优化实战
2.禁止内存交换:修改/etc/
sysctl
.conf中vm.swappiness=1elasticsearch.yml中,设置这个:bootstrap.mlockall:true3.修改ES启动用户可使用的系统文件句柄数等
阿凡卢
·
2019-04-20 20:00
linux性能优化实战-网络性能调优
幸运的是,
sysctl
可以读取/etc/
sysctl
.conf中的值并根据需要填充/proc,这样就能够
wywdahai
·
2019-04-20 08:00
Redis 第五集持久化方案RDB与AOF(Redis)
有三种方式修改内核参数,但要有root权限:(1)编辑/etc/
sysctl
.conf,改vm.overcommit_memory=1,然后
小叔叔乎
·
2019-04-19 15:11
Redis
linux keepalive探测对应用层socket api的影响
问题大部分人都知道tcp的keepalive.假设读者知道keepalive会如何触发.这篇文章想讨论keepalive触发后,对socket使用者的影响.keepalive设置修改/etc/
sysctl
.confubuntu
enjolras1205
·
2019-04-18 00:00
tcp
linux
linux中如何让虚拟机上网与DHCP动态分布网络
要想让虚拟机上网,只需把真机变成路由器通过真机来实现上网需求真机变路由器设置systemctlstatusfirewalld##查看防火墙状态systemctlstartfirewalld##开启防火墙
sysctl
-a
zy66996
·
2019-04-17 23:25
linux基础
3、TM4之GPIO的输入输出
方式一:
SysCtl
PeripheralEnable(
SYSCTL
_PERIPH_GPIOF);//端口F外设使能GPIOPinTypeGPIOOutput(GPIO_PORTF_BASE,GPIO_PIN
BeautyChild
·
2019-04-15 21:59
TM4单片机学习
Hbase集群优化-实用
优化信息如果集群内存够用的话,建议关闭交换区,直接使用物理内存关闭内存空间或者调整交换空间大小Linux默认交换空间为60;查看路径:/proc/sys/vm/swappiness如果需要关闭内存空间将改值设置为0
Sysctl
-wvm.swappiness
CentOS_Pc
·
2019-04-15 19:39
大数据
centos7.4 kubeadm安装Kubernetes 1.14.1 集群
/hosts127.0.0.1localhost10.26.3.182kuber-node110.26.3.184kuber-master前期准备1、关闭防火墙2、关闭selinux3、创建/etc/
sysctl
.d
yoyoyuye
·
2019-04-12 17:17
kubernetes
1.14.1
随写一笔
Linux最大文件描述符数
fs/file-max2.查看:$cat/proc/sys/fs/file-max3.重新设置:①临时性:$echo1000000>/pro/sys/fs/file-max②永久性:在配置文件/etc/
sysctl
.con
武平宁
·
2019-04-12 10:48
学习分享
Linux环境定位问题的分析思路
设置core路径,ulimit-cunlimited,echo/tmp/core_test/proc/sys/kernel/core_pattern,查看
sysctl
-a|grepcore。
none1024
·
2019-04-08 23:40
Linux 关闭交换内存
使用
sysctl
命令在运行时更改该设置并编辑/etc/
sysctl
.conf以在重启后保存该设置。您可以继续进行安装,但可能会遇到问题,ClouderaManager报告
DT鸽子
·
2019-04-04 11:13
Linux
Linux - 修改Cent OS系统的的hostname、配置DNS映射
运行后设置立即生效,但要在打开新的会话窗口才能看到效果;②命令echoonepiece>/proc/sys/kernel/hostname——运行后设置立即生效,但也要在打开新的会话窗口才能看到效果;③命令
sysctl
kernel.hostname
瘦风
·
2019-04-01 19:00
kvm-net模式(三)
1.宿主机(1).开启允许转发:vim/etc/
sysctl
.confnet.ipv4.ip_forward=1(2).创建磁盘:qemu-imgcreate-fraw/opt/CentOS-7.4-0
lxhllf2005
·
2019-04-01 10:00
kvm
net
模式
Kvm
Linux之修改用户名HOSTNAME
2.临时性更改echoTEST>/proc/sys/kernel/hostname3.临时性更改
sysctl
kernel.hostname=DB-Server4.临时性更改hostnameTEST
抑郁的橙子
·
2019-03-30 21:34
hostname
系统参数优化
cat/etc/
sysctl
.confkernel.shmall=4294967296net.ipv4.tcp_max_syn_backlog=65535net.core.netdev_max_backlog
春秋小记
·
2019-03-28 15:53
linux
系统参数优化
linux
MySQL基础优化
建议配置为vm.swappiness=0;在配置文件/etc/
sysctl
.conf中配置。IO调度策略设置为deadline[root@bigdata01~]#echodeadline>/sys/
loris_jand
·
2019-03-24 22:00
Linux 修改共享内存限制
最大的共享内存段设置可以用
sysctl
接口设置。
独孤九剑-风清扬
·
2019-03-23 20:42
Linux
proc, sys, dev, 内核模块, 文件系统, GPT, swap
:/proc和/sys/proccpuinfomeminfo监控,watch-n1'cat/proc/meminfo'注意watch命令的用法partitions新分区在此文件中显示才说明有效sys用
sysctl
epiiplus1equal0
·
2019-03-21 09:42
[原创] chrt: failed to set pid xxxx's policy: Operation not permitted
KEYWORDS:scheduler,scheduling,
sysctl
,sched_fifo,sched_rr,chrt,deadline,sched_deadlineHISTORY:Createdat09
Dream.Seeker
·
2019-03-20 17:16
Docker容器报错问题
namemysqlmysqlWARNING:IPv4forwardingisdisabled.Networkingwillnotwork.解决方法:主机开启路由转发功能即可[root@server3~]#vim/etc/
sysctl
.conf
累了困了喝六神
·
2019-03-19 16:32
学习问题扩展
Day9 -Day12课堂笔记——ContOS6/7系列系统启动流程
主机名及配置文件改主机名6:c6和c7都适用C6和C7永久生效:(不用重启也可永久生效)vim/etc/sysconfig/networkhostnameoldboyeduumtui图形化配置更改主机名/etc/
sysctl
.conflinux
优雅的土匪
·
2019-03-17 12:00
解决:max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
的时候【报错】maxvirtualmemoryareasvm.max_map_count[65530]istoolow,increasetoatleast[262144]解决:1)sudovi/etc/
sysctl
.conf
Sam_L
·
2019-03-16 13:57
hadoop 集群模板机配置
模板机配置1.配置主机名vi/etc/sysconfig/network如果有显示不正常,用以下命令#
sysctl
kernel.hostname=master2.配置域名映射vi/etc/hosts192.168.100.10masteredu-master192.168.100.11slave1edu-slave1192.168.100.12slave2edu-slave2192.168.100
Claroja
·
2019-03-14 20:38
hadoop
一个IP地址最多可以同时对外发起多少TCP连接
当你写程序连接端口的时候,达到28231-28233左右这个连接数的时候,就会报错cannotassignrequestedaddress这个时候去看linux源码你会发现,其实里面就已经设定值了,源码首先判断
sysctl
_local_port_range
qgfzzzzzz
·
2019-03-14 16:19
计算机网络
kube-proxy修改成ipvs模式
#(1)开启内核node节点内核参数#vi/etc/
sysctl
.confnet.ipv4.ip_forward=1net.bridge.bridge-nf-call-iptables=1net.bridge.bridge-nf-call-ip6tables
wfwf1990
·
2019-03-14 11:30
kubernetes
lvs
kubernetes
firewall-cmd设置NAT转换
1、启用IP转发vim/etc/
sysctl
.confnet.ipv4.ip_forward=1
sysctl
-p#命令生效2、修改网卡的zonefirewall-cmd--permanent--zone
官方指定约会对象
·
2019-03-13 20:08
rhel
使用HAProxy防范简单的DDos攻击
修改/etc/
sysctl
.conf,加入如下内容:#ProtectionSYNfloodne
lam
·
2019-03-12 10:00
haproxy
使用HAProxy防范简单的DDos攻击
修改/etc/
sysctl
.conf,加入如下内容:#ProtectionSYNfloodne
lam
·
2019-03-12 10:00
haproxy
LVS NAT模式
DirectorServer设置LVS主机双网卡eth010.125.192.5局域网内网eth1192.168.56.5VIP地址开启路由功能vim/etc/
sysctl
.confnet.ipv4.ip_forward
bjgaocp
·
2019-03-11 17:04
负载均衡
linux百万级长链接系统配置
关闭防火墙systemctlstopfirewalld.servicesystemctldisablefirewalld.service2.修改/etc/security/limits.conf、/etc/
sysctl
.c
Alps
·
2019-03-11 16:18
linux
官方文档利用Kubeadm安装k8s
Selinuxsetenforce0sed-i's/^SELINUX=enforcing$/SELINUX=permissive/'/etc/selinux/config4.关闭swap5.在/etc/
sysctl
.conf
amdaous
·
2019-03-06 13:24
亲测可用,iptables实现NAT转发。
1.内核允许IP转发#1.1会话echo1>/proc/sys/net/ipv4/ip_forward#1.2永久vi/etc/
sysctl
.conf添加如下代码:net.ipv4.ip_forward
justmine
·
2019-03-05 18:00
【Docker学习总结】16.Docker容器与外网的连接
sysctl
-wnet.ipv4.ip_forward=1二、容器访问控制容器的访问控制,主要通过Linux上的iptables防火墙来进行管理和实现。
Rita楠神
·
2019-03-01 14:09
elasticsearch6.6.1集群安装
elasticsearch6.6.1集群安装安装步骤安装依赖解压es压缩包修改配置文件elasticsearch.yml复制es安装包到其他节点elasticsearch.yml配置limits.conf配置
sysctl
.conf
yangjab
·
2019-03-01 11:43
大数据
linux 内核参数优化
原文地址:https://www.cnblogs.com/weifeng1463/p/6825532.html
Sysctl
命令及linux内核参数调整一、
Sysctl
命令用来配置与显示在/proc/sys
cn_yaojin
·
2019-02-28 11:47
linux
ElasticSearch 6.x 增删改查操作汇总 及 python调用ES中文检索实例
不允许使用root启动2.外部无法访问3.解决maxvirtualmemoryareasvm.max_map_count[65530]istoolow,increasetoatleast[262144]4.
sysctl
bllddee
·
2019-02-26 11:16
Python机器学习
部署 redis 哨兵模式高可用集群
192.168.1.225slave2:192.168.1.226修改系统参数#somaxconnecho1024>/proc/sys/net/core/somaxconn#overcommit_memoryvim/etc/
sysctl
.confvm.overcommit_memory
ConfusedSnail
·
2019-02-25 18:01
redis
可用集群
Greenplum源码编译安装
0.前期系统准备0.1搭建集群0.2配置系统参数#vim/etc/
sysctl
.conf配置成kernel.shmmax=500000000kernel.shmmni=4096kernel.shmall
Sunhighlight
·
2019-02-22 18:24
数据库
Greenplum
编译安装
MPP
数据库
分布式
beego 启动报错:no space left on device
我在linux上使用beego时出现下面问题,提供如下解决方案编辑/etc/
sysctl
.confvm/etc/
sysctl
.conf最下面添加:fs.inotify.max_user_watches=
曲镇
·
2019-02-19 10:52
elstic search 报错max virtual memory areas vm.max_map_count [65530] is too low,max file descriptors
报错:maxvirtualmemoryareasvm.max_map_count[65530]istoolow,increasetoatleast[262144]解决:在/etc/
sysctl
.conf
ghostyusheng
·
2019-02-13 19:14
解决方案
max
file
descriptors
[4096]
max
virtual
memory
areas
vm.ma
如何查看内核参数的说明文档
如何查看内核参数的说明文档原文链接Linux内核源代码释出时会包含有一些关于内核参数(如
sysctl
.conf中的参数)和函数的说明文档,在CentOS/RedHat系统中,kernel-doc软件包里面打包的就是这些文档
逃离地球的小小呆
·
2019-02-13 15:11
centos6 内核优化
CPUE5-2630*2内存64G单服务器5万频发vi/etc/
sysctl
.confnet.ipv4.ip_forward=0#路由转发net.ipv4.conf.all.rp_filter=1#启用源路由核查功能
ZhiZhiMao
·
2019-01-26 14:57
centos
内核优化
Centos6
Linode ArchLinux开启BBR
/etc/modules-load.d/bbr.confecho'net.core.default_qdisc=fqnet.ipv4.tcp_congestion_control=bbr'>/etc/
sysctl
.d
__KCN
·
2019-01-23 00:37
TM4C123G单片机学习之点亮LED灯
include#include"inc/hw_memmap.h"#include"driverlib/debug.h"#include"driverlib/gpio.h"#include"driverlib/
sysctl
.h"intmain
BeautyChild
·
2019-01-22 14:52
TM4单片机学习
redis安装配置参考
etc/selinux/configsystemctlstopfirewalldsystemctldisablefirewalldecho"vm.overcommit_memory=1">>/etc/
sysctl
.confecho"vm.swappiness
春秋小记
·
2019-01-21 17:23
redis
安装
配置
redis
linux 内核优化
1/etc/security/limits.confsoftnofile1024000softnproc1024000hardnofilexxhardnprocrootunlimited--/etc/
sysctl
.confnet.ipv4
SkTj
·
2019-01-17 11:41
postfix 防攻击
大量TIME_WAITnetstat-n|awk'/^tcp/{++S[$NF]}END{for(ainS)printa,S[a]}'vim/etc/
sysctl
.confnet.ipv4.tcp_tw_reuse
Doudou_Mylove
·
2019-01-17 10:14
邮件
postfix 防攻击
大量TIME_WAITnetstat-n|awk'/^tcp/{++S[$NF]}END{for(ainS)printa,S[a]}'vim/etc/
sysctl
.confnet.ipv4.tcp_tw_reuse
Doudou_Mylove
·
2019-01-17 10:14
邮件
上一页
31
32
33
34
35
36
37
38
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他