ulimit设置 ulimit -n 要调整为100000甚至更大。 命令行下执行 ulimit -n 100000即可修改。如果不能修改,需要设置 /etc/security/limits.conf,加入 * soft nofile 262140 * hard nofile 262140 root ...
分类:
系统相关 时间:
2016-09-01 11:13:25
阅读次数:
213
如:过滤出8月30号22点到8月31号8点的secure日志日志格式:Aug3103:00:01localhostcrond[21772]:pam_limits(crond:session):unknownlimittype‘proc‘
Aug3103:01:01localhostcrond[21775]:pam_limits(crond:session):unknownlimittype‘proc‘
Aug3103:01:01localhostcrond[21775]..
分类:
系统相关 时间:
2016-08-31 12:20:59
阅读次数:
285
技巧 -Linux内核参数调整办法 ulimit设置 ulimit -n 要调整为100000甚至更大。 命令行下执行 ulimit -n 100000即可修改。如果不能修改,需要设置 /etc/security/limits.conf,加入 * soft nofile 262140 * hard ...
分类:
系统相关 时间:
2016-08-26 15:26:03
阅读次数:
240
目录结构:
Ansible-mysql-replication
├──group_vars
│├──all
│├──mysql-proxy
│└──mysql-slave
├──hosts
├──mysql-replication.retry
├──mysql-replication.yml
└──roles
├──amoeba
│├──files
││├──amoeba-mysql-3.0.5-RC-distributi..
分类:
数据库 时间:
2016-08-24 17:37:46
阅读次数:
302
最近工作需要安装oracle11gR2在阿里云ECS上,因此编写了一个脚本来完成图形化安装界面之前的准备工作,这样节省时间,shell如下:#!/bin/bash
SYSCTL="/etc/sysctl.conf"
LIMITS="/etc/security/limits.conf"
PAM="/etc/pam.d/login"
PROFILE="/etc/profile"
BASH_PROFILE="/ho..
分类:
数据库 时间:
2016-08-23 17:11:31
阅读次数:
284
使用命令ulimit -a查看,其中open files就是最大连接数,一般情况下web服务器最大连接数的设置不能超过它 修改最大连接数:vi /etc/security/limits.conf 文件末尾添加 *soft nofile 32768*hard nofile 32768 添加后保存 修改 ...
分类:
其他好文 时间:
2016-08-21 10:57:57
阅读次数:
224
1、C:\Qt\Qt5.3.2_vs10_opengl\5.3\msvc2010_opengl\include\QtCore\qdatetime.h 报错: 2、将原来的代码改成 ZC: 注意括号的位置 3、 ...
分类:
其他好文 时间:
2016-08-17 22:44:25
阅读次数:
905
本文来自我的github pages博客http://galengao.github.io/ 即www.gaohuirong.cn 摘要: 本文是自己根据公司架构部署tomcat方法整理出来的文本 修改系统内核 修改linux的一些系统参数,以优化系统性能 修改LIMITS.CONF $ vi /e ...
分类:
系统相关 时间:
2016-08-17 17:55:48
阅读次数:
289
1 查看当前用户的线程 ulimit -a 2 修改配置文件 vi /etc/security/limits.d/90-nproc.conf 3 改完即可生效 ...
分类:
编程语言 时间:
2016-08-16 16:01:47
阅读次数:
733
The following modules allow you to regulate access to the documents of your websites — require users to authenticate, match a set of rules, or simply ...
分类:
其他好文 时间:
2016-08-14 14:18:48
阅读次数:
207