ChinaUnix.net
相关文章推荐:

ulimit shn 65535

如题,打印的错误信息是:Too many files。。 什么原因呢? 在accept后加了个:如果返回小于0, 报错并无限循环; ls /proc/.../fd 看到的最大描述字是1023。。

by yangsf5 - C/C++ - 2008-06-12 17:09:59 阅读(4340) 回复(10)

相关讨论

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)

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

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

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

by heidou - AIX - 2007-12-24 09:37:46 阅读(2645) 回复(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 阅读(1340) 回复(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 阅读(1913) 回复(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 阅读(7744) 回复(1)

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

by ILoveMK - Shell - 2008-12-31 01:52:20 阅读(1925) 回复(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 阅读(7787) 回复(6)

我本来想让朋友从机器上面copy一个。但是找不到。 请问 ulimit这命令怎么装? 系统是Freebsd 6.2 [ 本帖最后由 小小磊 于 2008-2-25 17:35 编辑 ]

by 小小磊 - BSD - 2008-02-26 11:54:41 阅读(5275) 回复(4)

ulimit命令 设置限制 可以把命令加到profile文件里,也可以在/etc/security/limits.conf文件中定义 限制。 命令参数 -a 显示所有限制 -c core文件大小的上限 -d 进程数据段大小的上限 -f shell所能创建的文件大小的上限 -m 驻留内存大小的上限 -s 堆栈大小的上限 -t 每秒可占用的CPU时间上限 -p 管道大小 -n 打开文件数的上限 -u 进程数的上限 -v 虚拟内存的上限 除可用Ul...

by wjj2372 - AIX文档中心 - 2009-01-05 11:55:09 阅读(2402) 回复(2)