码迷,mamicode.com
首页 >  
搜索关键字:ulimit    ( 501个结果
Centos7修改了最大文件打开数不生效
在limit.conf配置文件中添加了如下配置 * soft nproc 65535 * hard nproc 65535 * soft nofile 131070 * hard nofile 131070 另启终端查看最大文件打开数ulimit -n仍然为1024 经过各种百度搜查,发现以前更新过 ...
分类:其他好文   时间:2020-06-24 12:05:31    阅读次数:334
写了个shell脚本(刚装完linux可以执行一下)
#!/bin/bash ssh-keygen cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys ulimit -n 10000 yum install - ...
分类:系统相关   时间:2020-06-23 15:50:21    阅读次数:83
gdb
tbox下运行gdb:1、ulimit -c unlimited2、sysctl -w "kernel.core_pattern=/ydsdata/core_%e_%t.%p"3、手动运行程序4、/ydsdata 目录中产生core文件5、gdb /ydsapp/run/hum /ydsdata/c ...
分类:数据库   时间:2020-06-23 14:58:06    阅读次数:110
【Linux学习】redis安装
redis单机安装1、redis安装需要c语言的编译环境。如果没有gcc 需要在线安装 rmp -qa | grep gcc-c++2、在/user/local/upload 下解压redis的软件包 tar -zxvf redis-3.0.0.tar.gz3、得到解压后的目录 redis-3.0. ...
分类:系统相关   时间:2020-06-13 10:49:20    阅读次数:75
Increase ulimit in ubuntu and docker
What is ulimit? It is a number of open file descriptors per process. They can all refer to the same file, or different files. It prevent single users ...
分类:系统相关   时间:2020-05-28 19:31:10    阅读次数:83
linux系列之常用运维命令整理笔录
文章目录一、系统监控1、free命令2、ulimit命令3、top命令4、df命令5、ps命令二、文件操作1、tail命令2、ll-ah三、网络通信1、netstat2、重启网络3、SELinux4、防火墙四、系统管理1、uname2、ipaddr一、系统监控1、free命令free命令能够显示系统中物理上的空闲和已用内存,还有交换内存,同时,也能显示被内核使用的缓冲和缓存语法:free[para
分类:系统相关   时间:2020-05-19 16:28:29    阅读次数:59
MySQL配置说明
常用配置 # 缓冲池位于主内存中,InnoDB用它来缓存被访问过的表和索引文件,使常用数据可以直接在内存中被处理,从而提升处理速度 innodb_buffer_pool # MySQL5.6.6之后可以调整为多个。表示InnoDB缓冲区可以被划分为多个区域,也可以理解为把innodb_buffer_ ...
分类:数据库   时间:2020-05-07 15:13:01    阅读次数:78
ulimit设置完在其他用户上没有生效解决办法
修改/etc/security/limits.conf文件 * soft nofile 85536 * soft nproc 85536 * hard nofile 85536 * hard nproc 85536 * - nofile 85536 elasticsearch sfot nofile ...
分类:其他好文   时间:2020-05-03 18:35:23    阅读次数:151
The user limit for number of open files is too small.
允许打开的文件数目过小问题,解决: #查看当前系统允许打开文件数目 cat /proc/sys/fs/file-max #查看用户可以打开的文件数目 # Check Hard Limit in Linux ulimit -Hn # Check Soft Limits in Linux ulimit ...
分类:其他好文   时间:2020-04-30 17:24:19    阅读次数:60
centos8平台使用ulimit做系统资源限制
一,ulimit的用途 1, ulimit 用于shell启动进程所占用的资源,可用于修改系统资源限制 2, 使用ulimit -a 可以查看当前系统的所有限制值 使用ulimit -n <可以同时打开的文件数> 设置用户可以同时打开的最大文件数(max open files) 新装的linux默认 ...
分类:其他好文   时间:2020-04-28 16:45:02    阅读次数:202
501条   上一页 1 2 3 4 ... 51 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!