ChinaUnix.net
相关文章推荐:

ulimit

修改系统允许打开的进程数与文件数: noproc表示进程数,nofile表示文件数,*表示系统中任何用户 vi /etc/security/limilts.conf * soft noproc 10000 * hard noproc 10000 * soft nofile 4096 * hard nofile 4096 重启机器。 ulimit -a显示所有soft limits,<=hard limits ulimit -Ha显示所有hard limits 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chi...

by djstava - Linux文档专区 - 2009-06-11 15:44:12 阅读(846) 回复(0)

相关讨论

Nazgul@AIX> pg /etc/security/limits * * Sizes are in multiples of 512 byte blocks, CPU time is in seconds * * fsize - soft file size in blocks * core - soft core file size in blocks * cpu - soft per process CPU time limit in seconds * data - soft data segment size in blocks * stack - soft stack segment size in blocks * rss - soft real memory usage in blocks * no...

by redegao - AIX文档中心 - 2007-02-27 18:49:10 阅读(1087) 回复(0)

比如,mysqld ,之类的服务进程,开机自动运行的,会受ulimit -n参数的限制么? 还有通过crond启动的进程。 一般资料都是说登录到SHELL后会受到限制,这些不需要登录SHELL的情况呢?

by SeriousCool - Linux系统管理 - 2013-06-24 12:08:06 阅读(1203) 回复(3)

apache启动不了, 发现是can not open too many files, ulimit的问题 在rc.local这样写, 发现可以可以了 ulimit -SHn 102400 /usr/local/apache/bin/apachectl start 后来看网上说写在/etc/security/limits.conf比较规范 那么就写上 #* soft core 0 #* hard rss 10000 #@student hard nproc 20 #@faculty soft nproc 20 #@...

by bun - Linux系统管理 - 2011-07-26 23:21:19 阅读(4046) 回复(10)

系统中有个用户su 切换的时候报如下错误: #su - tanjiyong -bash: ulimit: open files: cannot modify limit: Operation not permitted 大虾们,看看什么问题~~~{:3_182:}

by tanjiyong138 - Solaris - 2011-06-28 20:25:29 阅读(2319) 回复(2)

ulimit 中的 -l,对应的/etc/security/limits.conf 中 item 是哪个? 谢谢!

by linuxkumao - Linux系统管理 - 2008-12-09 20:06:13 阅读(2009) 回复(5)

[root@gz_x2_netfilmhelix ~]# cat /etc/security/limits.conf # /etc/security/limits.conf # #Each line describes a limit for a user in the form: # # # #Where: # can be: # - an user name # - a group name, with @group syntax # - the wildcard *, for default entry # - the wildcard %, can be also used with %group syntax, # for maxlogin limit # # can ...

by thrack - Linux文档专区 - 2008-12-06 22:35:35 阅读(595) 回复(0)

如何 永久修改一个普通用户的 ulimit -n 10240

by qinyd - Solaris - 2009-11-16 11:24:57 阅读(1934) 回复(2)

如何 永久修改一个普通用户的 ulimit -n 10240

by qinyd - Solaris - 2009-11-16 11:24:57 阅读(3537) 回复(2)

1,说明: ulimit用于shell启动进程所占用的资源. 2,类别: shell内建命令 3,语法格式: ulimit [-acdfHlmnpsStvw] [size] 4,参数介绍: -H 设置硬件资源限制. -S 设置软件资源限制. -a 显示当前所有的资源限制. -c size:设置core文件的最大值.单位:blocks -d size:设置数据段的最大值.单位:kbytes -f size:设置创建文件的最大值.单位:blocks -l size:设置在内存中锁定进程的最大值.单位:kbytes -m size:设置可以使用的常驻内存的...

by huangweichina - Linux文档专区 - 2008-05-22 09:43:02 阅读(794) 回复(0)

$ulimit -a \r\ntime(seconds) unlimited\r\nfile(blocks) unlimited\r\ndata(kbytes) 131072\r\nstack(kbytes) 32768\r\nmemory(kbytes) 32768\r\ncoredump(blocks) 2097151\r\nnofiles(descriptors) 2000\r\n\r\n使用该用户启动的进程占用内存仍然可以突破 32768K的限制,请问ulimit 起何作用?

by fredwei - AIX - 2008-04-25 23:26:48 阅读(3865) 回复(1)