我的aix是6.1.0.0的 问两个问题: 1. 我用ulimit -a 输出和网上写的不一样,谁知道是为什么? 我的: core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max memory size (kbytes, -m) unlimited open files (-n) unlimited pipe size (512 bytes, -p) 64 stack size (kbytes, -s) hard ...
aix操作系统上,执行ulimit -a ,如下显示: # ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) 524288 stack(kbytes) 524288 memory(kbytes) 524288 coredump(blocks) 2097151 nofiles(descriptors) 2000 # 想要更改为 time (seconds) = unlimited file (blocks) = unlimited data (kbytes) = unlimited stack (kbytes) = unlimited memory (kbytes) = u...
aix操作系统上,执行ulimit -a ,如下显示:\r\n# ulimit -a \r\ntime(seconds) unlimited\r\nfile(blocks) unlimited\r\ndata(kbytes) 524288\r\nstack(kbytes) 524288\r\nmemory(kbytes) 524288\r\ncoredump(blocks) 2097151\r\nnofiles(descriptors) 2000\r\n# \r\n\r\n想要更改为\r\ntime (seconds) = unlimited \r\nfile (blocks) = unlimited \r\ndata (kbytes) = unlimited \r\nst...
修改系统允许打开的进程数与文件数: 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...
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...
比如,mysqld ,之类的服务进程,开机自动运行的,会受ulimit -n参数的限制么? 还有通过crond启动的进程。 一般资料都是说登录到SHELL后会受到限制,这些不需要登录SHELL的情况呢?
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 #@...
系统中有个用户su 切换的时候报如下错误: #su - tanjiyong -bash: ulimit: open files: cannot modify limit: Operation not permitted 大虾们,看看什么问题~~~{:3_182:}
[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 ...