ChinaUnix.net
相关文章推荐:

ulimit c 不生效

ulimit -n ** 如果在系统下直接运行ulimit -a可以改变 但是在r'c local文件里边添加这句时候 在系统进入后 查看ulimit -a 没有改变 为什么??

by wenuy - Shell - 2005-01-14 14:09:26 阅读(6512) 回复(13)

相关讨论

我用的ubuntu 6.0 server 我已经在/etc/rc.local添加了ulimit -HSn 65536,但是成功 起初我以为rc.local是启动文件,但是我在rc.local的同一位置写上mkdir /home/user/test,却能创建test目录。 默认的1024个文件描述符实在太少了,squid一会就提示,WARNING! Your cache is running out of filedescriptors。 我想把它增大,但是怎样都成功。 我还尝试把squid删除,然后ulimit -HSn 65536,再安装squid,查看squid的cache....

by itxiaofei - 服务器应用 - 2006-11-23 15:47:37 阅读(5256) 回复(4)

我 telnet 后在命令行下运行 ulimit -n 5000 用 ulimit -a 查看,可以生效。 但我写在 rc.local 中,telnet 后查看,数值没有变化。 如何解决。 或有没有其它的方法改那个数值。

by cow_boys - Linux论坛 - 2004-04-09 18:50:21 阅读(1781) 回复(1)

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 阅读(1089) 回复(0)

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

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

再解压一个.tar.Z的文件的时候报这个错 A file cannot be larger than the value set by ulimit.

by heidou - AIX - 2007-12-24 09:37:46 阅读(2649) 回复(4)

操作系统为每个进程维护一个所打开文件的数组,进程能够打开的文件与此数组 的大小有关.此数组的大小由两个系统变量限制: rlim_fd_max , rlim_fd_cur, 这两个变量可以用limit或ulimit 命令察看和修改,要扩大rlim_fd_max需要 root权限,rlim_fd_cur能超过rlim_fd_max. 编程时则有库函数 getrlimit 和 setrlimit 可以使用. 另外一种改法是在 /etc/system文件中修改. 如果是 调用stdio函数打开文件,则还有另外一种限制,32位内核...

by rabbitdan - Solaris - 2003-12-18 18:01:31 阅读(1342) 回复(2)

:roll: 我在unixware 7.0.1下install oracle8.0.5,有些product提示無法安裝。退出oracle install時,其提示: result: your ulimit is not as high as 2113674. in order to install oracle ,you must either increase the ulimit of your system to 2113674 or use the osh program supplied by oracle. (我在設置.profile文件時候,其中有一項內容, ulimit=2113674) 知道是什麼原因嗎?

by th0806 - 其他UNIX - 2003-07-30 11:15:20 阅读(1915) 回复(9)

HPUX 11.11 非root用户下,执行 $ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) 1048576 stack(kbytes) 8192 memory(kbytes) unlimited coredump(blocks) 4194303 nofiles(descriptors) 10240 如果想要修改该用户环境下nofiles的值为20480,执行命令后报错 $ ulimit -n 20480 sh: ulimit: The specified value exceeds the user's allowable limit. 经测试,...

by woai210 - HP-UX - 2009-12-04 17:18:01 阅读(7779) 回复(1)

1.请问ulimit这个命令的作用范围是当前进程/shell,还是当前用户,抑或是整个系统中所有的进程啊? 2.ulimit -u <程序数目>  用户最多可开启的程序数目。 这里的程序是啥意思,是指子shell么? :mrgreen: 谢谢拉。

by ILoveMK - Shell - 2008-12-31 01:52:20 阅读(1930) 回复(9)

hp11.31 umilit -a 输出默认data是4G 在我的系统上 我想把这个参数改成unlimited 我知道可以放到.profile里 ulimit -d unlimited 我想知道如果放到.profile里如何改成unlimited 也就是把默认的4G改成unlimited?

by inhell - HP-UX - 2009-12-09 16:21:19 阅读(7793) 回复(6)