close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_repos.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
May 11, 2010, 3:56:18 PM (14 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v11
|
v12
|
|
40 | 40 | (the number of file descriptors allocated since boot) |
41 | 41 | }}} |
| 42 | * 修改方法: 使用 sysctl 指令或編輯 /etc/sysctl.conf |
| 43 | {{{ |
| 44 | sysctl -w fs.file-max=100000 |
| 45 | }}} |
42 | 46 | * /etc/security/limits.conf - 每個程序(process)可以開啟檔案的個數(number limits of open files per process) - 像 HDFS 的 !DataNode 就需要調整這種參數([wiki:jazz/10-02-22#Hadoop:HDFS 2010-02-22]) |
43 | 47 | {{{ |