码迷,mamicode.com
首页 >  
搜索关键字:ulimit    ( 501个结果
ulimit open files linux打开文件数设置验证
1 #include 2 #include 3 #include 4 #include 5 #include 6 7 int main(int argc,char *argv[]){ 8 9 int fd; 10 char name[1024]; 11 int i = 0; 12 while(1){... ...
分类:系统相关   时间:2017-09-30 18:04:27    阅读次数:277
Linux报错-bash: fork: retry: Resource temporarily unavailable和进程描述符之间的关系
在公司服务器上切换用户,出现"-bash:fork:retry:Resourcetemporarilyunavailable"这样的报错,查询得知是普通用户能够使用的进程数太少和文件描述符太小导致的,每一个文件描述符会和一个文件对应,但是很多文件描述符也会和一个文件对应。相同的文件可以被不同的进程打开,也..
分类:系统相关   时间:2017-09-29 00:20:45    阅读次数:174
[daily][ulimit][coredump] 快速简单粗暴的用coredump调试
http://www.cnblogs.com/hugetong/p/6898608.html 一个程序挂掉了, 怎么办? 启动coredump 写一个脚本: ulimit -c 的参数单位是512byte, 乘以204800就是100MB. 默认在那个目录启动, 就在那个目录存在coredump, ...
分类:其他好文   时间:2017-09-28 13:02:27    阅读次数:104
ulimit -c unlimited
转载于:http://www.cnblogs.com/qq78292959/archive/2012/05/08/2490443.html ulimint -a 用来显示当前的各种用户进程限制Linux对于每个用户,系统限制其最大进程数,为提高性能,可以根据设备资源情况,设置个Linux用户的最大进 ...
分类:其他好文   时间:2017-09-28 12:56:43    阅读次数:198
ulimit调优|设置普通用户的ulimit值
个人总结:如何设置普通用户的ulimit值1、vim/etc/profile增加ulimit-n10240source/etc/profile重新启动就不需要运行这个命令了。2、修改/etc/security/limits.conf增加*hardnofile10240\\限制打开文件数102403、测试,新建普通用户,切换到普通用户使用ulit-a查看是否修改成功..
分类:其他好文   时间:2017-09-26 09:26:44    阅读次数:275
nginx-配置反向代理实例
nginx反向代理配置及优化2009-05-26作者:守住每一天blog:liuyu.blog.51cto.combbs:bbs.linuxtone.orgmsn:liuyubj520#hotmail.comemail:liuyu105#gmail.com前言: 由于服务器apache抗不住目前的并 ...
分类:其他好文   时间:2017-09-18 20:30:58    阅读次数:176
性能测试 -- 服务器参数调整
1)cpu负载均衡 安装: yum install irqbalance 使用: service irqbalance {start|stop|status|restart} 2)ulimit -u 3)查看操作系统版本 cat /proc/version cat /etc/issue cat /e ...
分类:其他好文   时间:2017-09-17 13:27:23    阅读次数:142
调整进程的最大linux文件描述符
1.介绍 ulimit 命令提供了针对 shell和或由该 shell 启动的进程占用资源的控制。 持久化修改生效是在/etc/security/limits.conf中进行数据写入. 写入的格式为:<domain><type><item><value> domain:用户名/用户组名/其他(查看m ...
分类:系统相关   时间:2017-09-15 14:40:36    阅读次数:219
ulimit -c unlimited
ulimit -c unlimited ulimint -a 用来显示当前的各种用户进程限制 ulimit -c unlimited ulimint -a 用来显示当前的各种用户进程限制 Linux对于每个用户,系统限制其最大进程数,为提高性能,可以根据设备资源情况,设置个Linux用户的最大进程数 ...
分类:其他好文   时间:2017-09-13 20:25:11    阅读次数:273
openstack controller HA
globallog127.0.0.1local3maxconn4000chroot/var/lib/haproxypidfile/var/run/haproxy.pidnbproc16#ulimit-n231097#tune.ssl.default-dh-param1024userhaproxygrouphaproxydaemondefaultslogglobalmodehttpoptionhttplogoptiondontlognulloptionforwardforretries3optionredisp..
分类:其他好文   时间:2017-09-12 23:15:34    阅读次数:184
501条   上一页 1 ... 17 18 19 20 21 ... 51 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!